Hi everyone,
Psychopy 2020.1.2 was installed under a conda environment (using anaconda). It worked well until these two days I tried to install the latest psychopy version under another conda environment. In theory it should not affect the original psychopy environment, and I have also confirmed that it has never been changed. However, whenever I initiate the program in command line, the program crushes right after the “creating frame” text appeared on the PsychoPy banner.
Why would it happen? I don’t want to lose the access to all my existing experiments!!
Helps are much appreciated!
This is the error message on the terminal
2021-07-15 23:42:15.586 python[1268:28109] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to (null)
11:42:16 PM: Debug: Adding duplicate image handler for 'Windows bitmap file'
11:42:16 PM: Debug: Adding duplicate image handler for 'Windows bitmap file'
11:42:16 PM: Debug: Adding duplicate animation handler for '1' type
11:42:16 PM: Debug: Adding duplicate animation handler for '2' type
11:42:16 PM: Debug: Adding duplicate image handler for 'Windows bitmap file'
11:42:16 PM: Debug: Adding duplicate animation handler for '1' type
11:42:16 PM: Debug: Adding duplicate animation handler for '2' type
/Users/andrewchang/opt/anaconda3/envs/psychopy/bin/pythonw: line 3: 1268 Segmentation fault: 11 /Users/andrewchang/opt/anaconda3/envs/psychopy/python.app/Contents/MacOS/python "$@"
I guess that the Segmentation fault: 11
is the problem, as all the preceding messages appeared as well when the psychopy was working.
I have also updated the conda version (4.10.1 → 4.10.3) in the past two days, but this error persist even I have reverted the conda version to 4.10.1.
Here is the beginning part of the Problem Details and System Configuration
Process: python [2292]
Path: /Users/USER/*/python.app/Contents/MacOS/python
Identifier: com.continuum.python
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [2291]
Responsible: Terminal [784]
User ID: 501
Date/Time: 2021-07-16 00:09:03.668 +0800
OS Version: Mac OS X 10.15.7 (19H2)
Report Version: 12
Bridge OS Version: 4.6 (17P6610)
Anonymous UUID: BA775F28-4129-FBAB-28A2-576FBE72CF14
Time Awake Since Boot: 3100 seconds
System Integrity Protection: enabled
Crashed Thread: 0 PTB mainthread Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000002
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [2292]
VM Regions Near 0x2:
-->
__TEXT 0000000103b88000-0000000103e25000 [ 2676K] r-x/rwx SM=COW /Users/USER/*/python.app/Contents/MacOS/python
Thread 0 Crashed:: PTB mainthread Dispatch queue: com.apple.main-thread
0 ??? 0x0000000000000002 0 + 2
1 libwx_baseu-3.0.0.4.0.dylib 0x00000001077d4168 wxEvtHandler::~wxEvtHandler() + 72
2 _aui.cpython-36m-darwin.so 0x000000011e34d383 sipwxAuiManager::~sipwxAuiManager() + 51
3 _aui.cpython-36m-darwin.so 0x000000011e34d98e dealloc_wxAuiManager(_sipSimpleWrapper*) + 126
4 siplib.cpython-36m-darwin.so 0x00000001162104a0 forgetObject + 192
5 siplib.cpython-36m-darwin.so 0x00000001162100ae sipWrapper_dealloc + 14
6 com.continuum.python 0x0000000103c2c18c subtype_dealloc + 812
7 com.continuum.python 0x0000000103bf30b1 dict_dealloc + 1041
8 siplib.cpython-36m-darwin.so 0x000000011620e635 sipSimpleWrapper_clear + 117
9 siplib.cpython-36m-darwin.so 0x0000000116210247 sipWrapper_clear + 39
10 com.continuum.python 0x0000000103d524e1 collect + 2641
11 com.continuum.python 0x0000000103d049c4 PyImport_Cleanup + 6996
12 com.continuum.python 0x0000000103d26dc8 Py_FinalizeEx + 168
13 com.continuum.python 0x0000000103d4f2c8 Py_Main + 1416
14 com.continuum.python 0x0000000103b891ba main + 282
15 libdyld.dylib 0x00007fff6c57ccc9 start + 1
Thread 1:
0 libsystem_pthread.dylib 0x00007fff6c77cb68 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x00007fff6c77cb68 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x00007fff6c77cb68 start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x00007fff6c77cb68 start_wqthread + 0
Thread 5:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff6c6bddfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6c6be170 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff324deef5 __CFRunLoopServiceMachPort + 247
3 com.apple.CoreFoundation 0x00007fff324dd9c2 __CFRunLoopRun + 1319
4 com.apple.CoreFoundation 0x00007fff324dce3e CFRunLoopRunSpecific + 462
5 com.apple.AppKit 0x00007fff2f8f0954 _NSEventThread + 132
6 libsystem_pthread.dylib 0x00007fff6c781109 _pthread_start + 148
7 libsystem_pthread.dylib 0x00007fff6c77cb8b thread_start + 15
Thread 6:
0 libsystem_pthread.dylib 0x00007fff6c77cb68 start_wqthread + 0
Thread 7:
0 libsystem_pthread.dylib 0x00007fff6c77cb68 start_wqthread + 0
Thread 8:
0 libsystem_pthread.dylib 0x00007fff6c77cb68 start_wqthread + 0
Thread 9:
0 libsystem_pthread.dylib 0x00007fff6c77cb68 start_wqthread + 0
Thread 10:
0 libsystem_pthread.dylib 0x00007fff6c77cb68 start_wqthread + 0
Thread 11:
0 libsystem_pthread.dylib 0x00007fff6c77cb68 start_wqthread + 0
Thread 12:: AMCP Logging Spool
0 libsystem_kernel.dylib 0x00007fff6c6bde36 semaphore_wait_trap + 10
1 com.apple.audio.caulk 0x00007fff66150b16 caulk::mach::semaphore::wait() + 16
2 com.apple.audio.caulk 0x00007fff661509b2 caulk::semaphore::timed_wait(double) + 106
3 com.apple.audio.caulk 0x00007fff661507c4 caulk::concurrent::details::worker_thread::run() + 30
4 com.apple.audio.caulk 0x00007fff661501e4 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*) + 45
5 libsystem_pthread.dylib 0x00007fff6c781109 _pthread_start + 148
6 libsystem_pthread.dylib 0x00007fff6c77cb8b thread_start + 15
Thread 13:
0 libsystem_kernel.dylib 0x00007fff6c6bde36 semaphore_wait_trap + 10
1 com.apple.audio.caulk 0x00007fff66150b16 caulk::mach::semaphore::wait() + 16
2 com.apple.audio.caulk 0x00007fff661509b2 caulk::semaphore::timed_wait(double) + 106
3 com.apple.audio.caulk 0x00007fff661507c4 caulk::concurrent::details::worker_thread::run() + 30
4 com.apple.audio.caulk 0x00007fff661501e4 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*) + 45
5 libsystem_pthread.dylib 0x00007fff6c781109 _pthread_start + 148
6 libsystem_pthread.dylib 0x00007fff6c77cb8b thread_start + 15
Thread 14:
0 libsystem_kernel.dylib 0x00007fff6c6bde4e semaphore_timedwait_trap + 10
1 libdispatch.dylib 0x00007fff6c523b6b _dispatch_sema4_timedwait + 76
2 libdispatch.dylib 0x00007fff6c523f97 _dispatch_semaphore_wait_slow + 58
3 libdispatch.dylib 0x00007fff6c531795 _dispatch_worker_thread + 284
4 libsystem_pthread.dylib 0x00007fff6c781109 _pthread_start + 148
5 libsystem_pthread.dylib 0x00007fff6c77cb8b thread_start + 15
Thread 15:
0 libsystem_pthread.dylib 0x00007fff6c77cb68 start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00007fa37bdf0800 rbx: 0x00007fa33bf98480 rcx: 0x0000000000000000 rdx: 0x000000000014c210
rdi: 0x00007fa37befaa00 rsi: 0x0000000000000000 rbp: 0x00007ffeec076ef0 rsp: 0x00007ffeec076ea8
r8: 0x000000000000e667 r9: 0x0000000000000097 r10: 0x00007fa35b8ea650 r11: 0x00000000ffffffbf
r12: 0x00007fa33bda9ed8 r13: 0x0000000116222928 r14: 0x00007fa33bf98480 r15: 0x00007fa33bf98480
rip: 0x0000000000000002 rfl: 0x0000000000010206 cr2: 0x0000000000000002
Logical CPU: 0
Error Code: 0x00000014 (no mapping for user instruction read)
Trap Number: 14
Sincerely,
Andrew