I developed a program with python Tkinter and it is working fine when i run it individually but when I run it from another file the error is coming up:

Process: Python [1647] Path: /Library/Frameworks/Python.framework/Versions/3.10/Resources/Python.app/Contents/MacOS/Python Identifier: org.python.python Version: 3.10.8 (3.10.8) Code Type: X86-64 (Native) Parent Process: zsh [1640] Responsible: pycharm [1439] User ID: 501

Date/Time: 2022-11-17 21:50:42.1049 +0600 OS Version: macOS 13.0.1 (22A400) Report Version: 12 Bridge OS Version: 7.0 (20P420)

`Anonymous UUID:        ---------
`

Sleep/Wake UUID: ------

Time Awake Since Boot: 1500 seconds Time Since Wake: 1274 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00006d756e457460 Exception Codes: 0x0000000000000001, 0x00006d756e457460

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [1647]

VM Region Info: 0x6d756e457460 is not in any region. Bytes after previous region: 14797475509345 Bytes before following region: 2794424970144 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-/rwx SM=NUL ...(unallocated) ---> GAP OF 0xfffeefaa000 BYTES Stack Guard 70000efaa000-70000efab000 [ 4K] ---/rwx SM=NUL

Replies

It’s hard to offer any advice without seeing the full crash report. Please post that, following the instructions in Posting a Crash Report.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"