Psychopy crashes immediately upon launching it on iMac Apple M3 MacOS Sequoia 15

Hello, when I try to launch psychopy 2024.2.2 after downloading it, it crashes immediately and I get a message saying "the pc does not match crashing frame "? I tried using both 3.8 and 3.10 python versions. If anyone could help, I’d really appreciate it. Kind regards, Niall

hi, me too. i tried the newest 2024.2 standalone, it crashes immediately after the splash screen, then i deleted that and installed the 2024.2 compatibility+ version; same thing. i’m running Sonoma 14.4.1 on an M2 Ultra. i’ve gone to settings > Privacy & Security and am alowing PsychoPy to control my computer via “Accessibility”. i’d appreciate any help, too. thanks!

update a few hours later: backtracked to ver. 2023.2.3 and it works fine again, hrmph.

Hi Both, do you happen to have an error message that you could share with us when this crash occurs?.

Or if you could please go to Username > show hidden files (cmd>shift>period) >.psychopy3 > last_app_load.log and send us that this would be really useful.

Thank you! Becca

I got this (condensed) message when I tried to open it:


Translated Report (Full Report Below)

Process: PsychoPy [3824]
Path: /Volumes/VOLUME/PsychoPy.app/Contents/MacOS/PsychoPy
Identifier: org.opensciencetools.psychopy
Version: 2024.2.2 (2024.2.2)
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2024-09-27 12:41:17.6511 +0100
OS Version: macOS 14.4 (23E214)
Report Version: 12
Anonymous UUID: 044324D4-1312-1359-4BA5-DD81FE5DA4C8

Sleep/Wake UUID: 85C3BF53-F23E-444B-80A8-93FB777C19F4

Time Awake Since Boot: 30000 seconds
Time Since Wake: 863 seconds

System Integrity Protection: enabled

Notes:
PC register does not match crashing frame (0x0 vs 0x7FF894566A78)

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

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: PsychoPy [3824]

Application Specific Information:
abort() called

Error Formulating Crash Report:
PC register does not match crashing frame (0x0 vs 0x7FF894566A78)

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

We are investigating, but it’s confusing that the issue is just some machines. We have a Sequoia M2 showing the same behaviour but my own Sonoma (14.5) M2 is running the standalone py3.10 version just fine :thinking:

I’ve been looking into this. It seems like there is an incompatible version of setuptools being used during packaging. This might be something that can be easily fixed on our end. However, it would be helpful for us if people experiencing this issue to run the following command in a terminal and post the output here:

/Applications/PsychoPy.app/Contents/MacOS/PsychoPy

I am having the crashing issue. If I understand correctly, this is what you are asking for:

debrajared@Debras-MacBook-Air ~ % /Applications/PsychoPy.app/Contents/MacOS/PsychoPy

PsychoPy (61123,0x202ed5240) malloc: *** error for object 0x309a4c310: pointer being freed was not allocated

PsychoPy (61123,0x202ed5240) malloc: *** set a breakpoint in malloc_error_break to debug

  • ror: Drea to defuged was not allocatec

zsh: abort

/Applications/PsychoPy.app/Contents/MacOS/PsychoPy

debrajared@Debras-MacBook-Air ~ %

Hey! I’m also experiencing the same thing, however i have a m1 2020 macbook air. This is the first part of the error i’m experiencing.

Translated Report (Full Report Below)

Process: PsychoPy [2420]
Path: /Applications/PsychoPy.app/Contents/MacOS/PsychoPy
Identifier: org.opensciencetools.psychopy
Version: 2024.2.2 (2024.2.2)
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2024-10-03 15:15:45.5100 -0400
OS Version: macOS 14.4.1 (23E224)
Report Version: 12
Anonymous UUID: 17875501-A9D3-9810-E8DE-4E3008DC70E8

Time Awake Since Boot: 1600 seconds

System Integrity Protection: enabled

Notes:
PC register does not match crashing frame (0x0 vs 0x7FF8A64A6A78)

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

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: PsychoPy [2420]

Application Specific Information:
abort() called

Error Formulating Crash Report:
PC register does not match crashing frame (0x0 vs 0x7FF8A64A6A78)

Thread 0 Crashed:: PTB mainthread Dispatch queue: com.apple.main-thread
0 ??? 0x7ff8a64a6a78 ???
1 libsystem_kernel.dylib 0x7ff81621714a __pthread_kill + 10
2 libsystem_pthread.dylib 0x7ff81624febd pthread_kill + 262
3 libsystem_c.dylib 0x7ff816175a39 abort + 126
4 libsystem_malloc.dylib 0x7ff81607a009 malloc_vreport + 857
5 libsystem_malloc.dylib 0x7ff81607d5da malloc_report + 151
6 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1261d62f8 wxWindowBase::DestroyChildren() + 88
7 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x125fd79cd wxNonOwnedWindow::~wxNonOwnedWindow() + 45
8 _core.cpython-38-darwin.so 0x124e861f3 sipwxFrame::~sipwxFrame() + 51
9 libwx_baseu-3.1.5.0.0.dylib 0x1244e77ad wxAppConsoleBase::ProcessIdle() + 157
10 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1260da246 wxAppBase::ProcessIdle() + 22
11 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x126020dba wxApp::ProcessIdle() + 26
12 libwx_baseu-3.1.5.0.0.dylib 0x1245d82ac wxCFEventLoop::OSXCommonModeObserverCallBack(__CFRunLoopObserver*, int, void*) + 92
13 CoreFoundation 0x7ff81632c71c CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23
14 CoreFoundation 0x7ff81632c641 __CFRunLoopDoObservers + 493
15 CoreFoundation 0x7ff81632bcf7 __CFRunLoopRun + 1158
16 CoreFoundation 0x7ff81632b2a9 CFRunLoopRunSpecific + 557
17 Foundation 0x7ff81723e141 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 216
18 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1260903cd wxGUIEventLoop::DoDispatchTimeout(unsigned long) + 189
19 libwx_baseu-3.1.5.0.0.dylib 0x1245d8896 wxCFEventLoop::DispatchTimeout(unsigned long) + 38
20 libwx_baseu-3.1.5.0.0.dylib 0x1245d8a0c wxCFEventLoop::OSXDoRun() + 188
21 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x126090a2e wxModalEventLoop::OSXDoRun() + 110
22 libwx_baseu-3.1.5.0.0.dylib 0x1245d8b51 wxCFEventLoop::DoRun() + 49
23 libwx_baseu-3.1.5.0.0.dylib 0x12451b0ae wxEventLoopBase::Run() + 158
24 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x125fd5b25 wxDialog::ShowModal() + 101
25 libwx_osx_cocoau_core-3.1.5.0.0.dylib 0x1262a8563 wxShowTip(wxWindow*, wxTipProvider*, bool) + 51
26 _adv.cpython-38-darwin.so 0x127abf0c8 0x127ab9000 + 24776
27 Python 0x10ac7d838 0x10ac5c000 + 137272
28 Python 0x10ac7d2a5 _PyObject_MakeTpCall + 373
29 Python 0x10ad4bea5 0x10ac5c000 + 982693
30 Python 0x10ad48cae _PyEval_EvalFrameDefault + 25678
31 Python 0x10ad4cc94 _PyEval_EvalCodeWithName + 2804
32 Python 0x10ac7dd8e _PyFunction_Vectorcall + 270
33 Python 0x10ac8039c 0x10ac5c000 + 148380
34 Python 0x10ac7d5cd PyVectorcall_Call + 109
35 Python 0x10ad491b8 _PyEval_EvalFrameDefault + 26968
36 Python 0x10ad4cc94 _PyEval_EvalCodeWithName + 2804
37 Python 0x10ac7dd8e _PyFunction_Vectorcall + 270
38 Python 0x10ac7d085 _PyObject_FastCallDict + 133
39 Python 0x10ac7e6ff _PyObject_Call_Prepend + 143
40 Python 0x10acd4b41 0x10ac5c000 + 494401
41 Python 0x10acd0039 0x10ac5c000 + 475193
42 Python 0x10ac7d2a5 _PyObject_MakeTpCall + 373
43 Python 0x10ad4bea5 0x10ac5c000 + 982693
44 Python 0x10ad48dd8 _PyEval_EvalFrameDefault + 25976
45 Python 0x10ad4cc94 _PyEval_EvalCodeWithName + 2804
46 Python 0x10ac7dd8e _PyFunction_Vectorcall + 270
47 Python 0x10ad4be4c 0x10ac5c000 + 982604
48 Python 0x10ad48dd8 _PyEval_EvalFrameDefault + 25976
49 Python 0x10ac7dbf0 0x10ac5c000 + 138224
50 Python 0x10ad4be4c 0x10ac5c000 + 982604
51 Python 0x10ad48d45 _PyEval_EvalFrameDefault + 25829
52 Python 0x10ac7dbf0 0x10ac5c000 + 138224
53 Python 0x10ad4be4c 0x10ac5c000 + 982604
54 Python 0x10ad48d45 _PyEval_EvalFrameDefault + 25829
55 Python 0x10ad4cc94 _PyEval_EvalCodeWithName + 2804
56 Python 0x10ad42784 PyEval_EvalCode + 100
57 Python 0x10ad3fb72 0x10ac5c000 + 932722
58 Python 0x10acb9e3f 0x10ac5c000 + 384575
59 Python 0x10ad4be4c 0x10ac5c000 + 982604
60 Python 0x10ad48d45 _PyEval_EvalFrameDefault + 25829
61 Python 0x10ac7dbf0 0x10ac5c000 + 138224
62 Python 0x10ad4be4c 0x10ac5c000 + 982604
63 Python 0x10ad48d45 _PyEval_EvalFrameDefault + 25829
64 Python 0x10ad4cc94 _PyEval_EvalCodeWithName + 2804
65 Python 0x10ad42784 PyEval_EvalCode + 100
66 Python 0x10ad91b99 PyRun_SimpleFileExFlags + 1081
67 PsychoPy 0x100004cd7 0x100000000 + 19671
68 PsychoPy 0x100003167 main + 257
69 PsychoPy 0x100003044 start + 52

Thread 1:: com.apple.rosetta.exceptionserver
0 runtime 0x7ff7ffdbf494 0x7ff7ffdbb000 + 17556

Thread 2:
0 ??? 0x7ff8a64a6a78 ???
1 libsystem_kernel.dylib 0x7ff816212f7a __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff8162506f3 _pthread_cond_wait + 1211
3 interpreter.so 0x129748d63 th_worker(void*) + 131
4 libsystem_pthread.dylib 0x7ff81625018b _pthread_start + 99
5 libsystem_pthread.dylib 0x7ff81624bae3 thread_start + 15

Thread 3:
0 ??? 0x7ff8a64a6a78 ???
1 libsystem_kernel.dylib 0x7ff816212f7a __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff8162506f3 _pthread_cond_wait + 1211
3 interpreter.so 0x129748d63 th_worker(void*) + 131
4 libsystem_pthread.dylib 0x7ff81625018b _pthread_start + 99
5 libsystem_pthread.dylib 0x7ff81624bae3 thread_start + 15

Thread 4:
0 ??? 0x7ff8a64a6a78 ???
1 libsystem_kernel.dylib 0x7ff816212f7a __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff8162506f3 _pthread_cond_wait + 1211
3 interpreter.so 0x129748d63 th_worker(void*) + 131
4 libsystem_pthread.dylib 0x7ff81625018b _pthread_start + 99
5 libsystem_pthread.dylib 0x7ff81624bae3 thread_start + 15

Thread 5:
0 ??? 0x7ff8a64a6a78 ???
1 libsystem_kernel.dylib 0x7ff816212f7a __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff8162506f3 _pthread_cond_wait + 1211
3 interpreter.so 0x129748d63 th_worker(void*) + 131
4 libsystem_pthread.dylib 0x7ff81625018b _pthread_start + 99
5 libsystem_pthread.dylib 0x7ff81624bae3 thread_start + 15

Thread 6:
0 ??? 0x7ff8a64a6a78 ???
1 libsystem_kernel.dylib 0x7ff816212f7a __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff8162506f3 _pthread_cond_wait + 1211
3 interpreter.so 0x129748d63 th_worker(void*) + 131
4 libsystem_pthread.dylib 0x7ff81625018b _pthread_start + 99
5 libsystem_pthread.dylib 0x7ff81624bae3 thread_start + 15

Thread 7:
0 ??? 0x7ff8a64a6a78 ???
1 libsystem_kernel.dylib 0x7ff816212f7a __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff8162506f3 _pthread_cond_wait + 1211
3 interpreter.so 0x129748d63 th_worker(void*) + 131
4 libsystem_pthread.dylib 0x7ff81625018b _pthread_start + 99
5 libsystem_pthread.dylib 0x7ff81624bae3 thread_start + 15

Thread 8:
0 ??? 0x7ff8a64a6a78 ???
1 libsystem_kernel.dylib 0x7ff816212f7a __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff8162506f3 _pthread_cond_wait + 1211
3 interpreter.so 0x129748d63 th_worker(void*) + 131
4 libsystem_pthread.dylib 0x7ff81625018b _pthread_start + 99
5 libsystem_pthread.dylib 0x7ff81624bae3 thread_start + 15

Thread 9:
0 ??? 0x7ff8a64a6a78 ???
1 libsystem_kernel.dylib 0x7ff816212f7a __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff8162506f3 _pthread_cond_wait + 1211
3 interpreter.so 0x129748d63 th_worker(void*) + 131
4 libsystem_pthread.dylib 0x7ff81625018b _pthread_start + 99
5 libsystem_pthread.dylib 0x7ff81624bae3 thread_start + 15

Thread 10:: com.apple.NSEventThread
0 ??? 0x7ff8a64a6a78 ???
1 libsystem_kernel.dylib 0x7ff8162103ce mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff81621ec88 mach_msg2_internal + 84
3 libsystem_kernel.dylib 0x7ff816217510 mach_msg_overwrite + 653
4 libsystem_kernel.dylib 0x7ff8162106bd mach_msg + 19
5 CoreFoundation 0x7ff81632d359 __CFRunLoopServiceMachPort + 143
6 CoreFoundation 0x7ff81632bdcc __CFRunLoopRun + 1371
7 CoreFoundation 0x7ff81632b2a9 CFRunLoopRunSpecific + 557
8 AppKit 0x7ff819a51abc _NSEventThread + 122
9 libsystem_pthread.dylib 0x7ff81625018b _pthread_start + 99
10 libsystem_pthread.dylib 0x7ff81624bae3 thread_start + 15

Thread 11:: Dispatch queue: compiler request queue
0 ??? 0x7ff8a64a6a78 ???
1 libsystem_kernel.dylib 0x7ff8162103ce mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff81621ec88 mach_msg2_internal + 84
3 libsystem_kernel.dylib 0x7ff816217510 mach_msg_overwrite + 653
4 libsystem_kernel.dylib 0x7ff8162106bd mach_msg + 19
5 libdispatch.dylib 0x7ff8160c6661 _dispatch_mach_send_and_wait_for_reply + 521
6 libdispatch.dylib 0x7ff8160c6a65 dispatch_mach_send_with_result_and_wait_for_reply + 50
7 libxpc.dylib 0x7ff815f5ec6d xpc_connection_send_message_with_reply_sync + 261
8 Metal 0x7ff820d2f82d XPCCompilerConnection::BuildRequestInternal(MTLCompilerRequest*, char const*, NSObject<OS_dispatch_data>, int, bool, void (unsigned int, void const, unsigned long, char const*) block_pointer) + 1275
9 Metal 0x7ff820de4e25 invocation function for block in XPCCompilerConnection::BuildRequest(MTLCompilerRequest*, char const*, NSObject<OS_dispatch_data>, int, bool, void (unsigned int, void const, unsigned long, char const*) block_pointer) + 63
10 libdispatch.dylib 0x7ff8160aedbc _dispatch_client_callout + 8
11 libdispatch.dylib 0x7ff8160bbd3c _dispatch_lane_barrier_sync_invoke_and_complete + 60
12 Metal 0x7ff820d2f2d0 XPCCompilerConnection::BuildRequest(MTLCompilerRequest*, char const*, NSObject<OS_dispatch_data>, int, bool, void (unsigned int, void const, unsigned long, char const*) block_pointer) + 116
13 Metal 0x7ff820d2f0b2 MTLCompilerConnectionManagerPrivate::buildRequest(unsigned int, MTLCompilerRequest*, bool, void (MTLCompilerError, NSObject<OS_dispatch_data>, char const) block_pointer) + 464
14 Metal 0x7ff820e2cce6 -[MTLCompiler compileFunctionRequestInternal:frameworkLinking:linkDataSize:reflectionOnly:completionHandler:] + 8398
15 Metal 0x7ff820e2dd7f -[MTLCompiler compileFunctionRequest:completionHandler:] + 164
16 AGXMetal13_3 0x7ffa30d901e1 void AGX::Compiler::compileProgram<AGX::FragmentProgramKey, AGCDeserializedReply>(AGX::FragmentProgramKey const&, MTLCompileFunctionRequestData*, void (AGCDeserializedReply const&, NSObject<OS_dispatch_data>, NSObject<OS_dispatch_data>, NSObject<OS_dispatch_data>, NSObject<OS_dispatch_data>, NSObject<OS_dispatch_data>, MTLCompilerError, NSString, unsigned long long) block_pointer) + 593
17 AGXMetal13_3 0x7ffa30d8dde7 AGX::G13::FragmentProgramVariant* AGX::UserCommonShaderFactory<AGX::G13::Encoders, AGX::G13::Classes, AGX::G13::ObjClasses>::createFragmentProgramVariant(MTLRenderPipelineDescriptor*, AGXG13GFamilyDevice*, unsigned long, AGXG13GFamilyBinaryArchive*, NSArray*, AGX::G13::FragmentProgram*, AGX::VertexProgramVaryings const*, NSObject<OS_dispatch_data>, bool, void (AGX::G13::FragmentProgramVariant, ReflectionKey, NSMutableDictionary*, MTLCompilerError, NSString*, NSObject<OS_dispatch_data>) block_pointer) + 1703
18 AGXMetal13_3 0x7ffa30f4445e AGX::UserCommonShaderFactory<AGX::G13::Encoders, AGX::G13::Classes, AGX::G13::ObjClasses>::createRenderPipeline(MTLRenderPipelineDescriptor
, AGXG13GFamilyDevice*, unsigned long, MTLRenderPipelineReflection**, NSError**, void (id, MTLRenderPipelineReflection*, NSError*) block_pointer) + 4926
19 AGXMetal13_3 0x7ffa30f33907 -[AGXG13GFamilyDevice newRenderPipelineStateWithDescriptor:error:] + 103
20 QuartzCore 0x7ff81ee3e2c4 CA::OGL::MetalContext::create_pipeline_state(CA::OGL::MetalContext::Pipeline::Spec const&, unsigned int*, std::__1::atomic) + 5538
21 QuartzCore 0x7ff81f00a5d4 invocation function for block in CA::OGL::MetalContext::dispatch_async_pipeline(CA::OGL::MetalContext::Pipeline::Spec const&, CA::OGL::MetalContext::Pipeline
, bool) + 117
22 libdispatch.dylib 0x7ff8160bb8f7 _dispatch_block_async_invoke2 + 85
23 libdispatch.dylib 0x7ff8160aedbc _dispatch_client_callout + 8
24 libdispatch.dylib 0x7ff8160b4eff _dispatch_lane_serial_drain + 800
25 libdispatch.dylib 0x7ff8160b5997 _dispatch_lane_invoke + 377
26 libdispatch.dylib 0x7ff8160bf414 _dispatch_root_queue_drain_deferred_wlh + 271
27 libdispatch.dylib 0x7ff8160bed2a _dispatch_workloop_worker_thread + 451
28 libsystem_pthread.dylib 0x7ff81624cb84 _pthread_wqthread + 327
29 libsystem_pthread.dylib 0x7ff81624bacf start_wqthread + 15

Thread 12:
0 runtime 0x7ff7ffddd94c 0x7ff7ffdbb000 + 141644

Thread 13:
0 runtime 0x7ff7ffddd94c 0x7ff7ffdbb000 + 141644

Thread 14:
0 runtime 0x7ff7ffddd94c 0x7ff7ffdbb000 + 141644

Thread 15:
0 runtime 0x7ff7ffddd94c 0x7ff7ffdbb000 + 141644

Thread 16:
0 runtime 0x7ff7ffddd94c 0x7ff7ffdbb000 + 141644

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x000000020031d240 rbp: 0x0000000000000000 rsp: 0x000000000000002e
r8: 0x0000000304364ee8 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x0000000000000103 r13: 0x0000000000000050 r14: 0x000000020031d240 r15: 0x0000000000000016
rip: rfl: 0x0000000000000287
tmp0: 0xffffffffffffffff tmp1: 0x00007ff8a64a6a4c tmp2: 0x00007ff816217140

Same. Startup dialog shows, then it goes away and the tips window (I think) flashes up briefly and then PsychoPy crashes.

Output after trying to run PsychoPy from the terminal as suggested gives:
(base) $ /Applications/PsychoPy.app/Contents/MacOS/PsychoPy 19:34
PsychoPy(31118,0x20483f280) malloc: *** error for object 0x30cd710c0: pointer being freed was not allocated
PsychoPy(31118,0x20483f280) malloc: *** set a breakpoint in malloc_error_break to debug
zsh: abort /Applications/PsychoPy.app/Contents/MacOS/PsychoPy
(base) $

Best, -Larry

1 Like

Sorry, system info is
image

Thanks for the input peeps. So it looks like the problem exists back to macos 13 (Ventura) at least, although not occurring for everyone (e.g. my Sonoma M2 Macbook Pro is fine). :sob: :thinking:

We’ll try building with a different version of setuptools to see if that helps

1 Like

In my post above, I didn’t mention that my MacBook Air is running Sonoma 14.6.1. Hope that helps.

Hello, everyone!

When I open PsychoPy 2024.2.2 modern (py 3.10) after downloading it, it just runs for a while and unexpectedly quits finally. Then I get a problem report from the system. Details are attached in the following. If anyone could offer help, I’d really appreciate it.

Best regards,
Blue


Translated Report (Full Report Below)

Process: PsychoPy [57036]
Path: /Applications/PsychoPy.app/Contents/MacOS/PsychoPy
Identifier: org.opensciencetools.psychopy
Version: 2024.2.2 (2024.2.2)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2024-10-04 19:52:15.2818 +0800
OS Version: macOS 14.6.1 (23G93)
Report Version: 12
Bridge OS Version: 8.6 (21P6074)
Anonymous UUID: C574B737-AEE8-0DA7-C8F5-C2BDCDCB3F1B

Sleep/Wake UUID: 66F5A104-94EA-450E-A1A4-A5FBD07CEA79

Time Awake Since Boot: 280000 seconds
Time Since Wake: 1841 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: PsychoPy [57036]

I wonder if you could try installing this version, which has been built using a different version of setuptools, since there are some reports that some versions of that can interact badly with the packaging lib we use (py2app)

thanks

This was working for me for a few moments, and I was able to run an experiment, but now back to crashing immediately upon opening PsychoPy again.


Nov 2023 MacBook Pro
M3
Sequoia 15.0.1


Translated Report (Full Report Below)

Process: PsychoPy [3274]
Path: /Applications/PsychoPy.app/Contents/MacOS/PsychoPy
Identifier: org.opensciencetools.psychopy
Version: 2024.2.2post36 (2024.2.2post36)
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2024-10-07 14:32:17.0224 -0700
OS Version: macOS 15.0.1 (24A348)
Report Version: 12
Anonymous UUID: 43272E95-D682-A8C8-254C-041EE2510BF3

Time Awake Since Boot: 660 seconds

System Integrity Protection: enabled

Notes:
PC register does not match crashing frame (0x0 vs 0x7FF8A41F6A84)

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

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: PsychoPy [3274]

Application Specific Information:
abort() called

Error Formulating Crash Report:
PC register does not match crashing frame (0x0 vs 0x7FF8A41F6A84)

hi jon. i gave the newest one a go on that same M2 computer running Sonoma 14.4.1. this time it went past the splash screen and opened my experiment in builder properly. however upon running it i got an error (also after an “attempting to measure screen framerate” screen). i suppose this could have something to do with my experiment itself which is trying to load some short movie clips. i should probably open a separate issue about that but i figured i’d post the info/experience on this thread for now:

4.4134 DEBUG Opening message catalog /Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/localization/…/app/locale/en_US/LC_MESSAGE/messages.mo for locale en_US
48.9180 INFO Trying to load audio library: PTB
49.0248 INFO Loaded psychtoolbox audio version 3.0.19.649712773
49.0251 INFO sound is using audioLib: ptb
49.2692 INFO Calling psychopy.plugins.activatePlugins(), but no plugins have been found in active distributions.
50.2813 DEBUG PavloviaLoggedIn
55.0868 WARNING Parameters not known to this version of PsychoPy have come from your experiment file: plCompanionCameraCalibration. This experiment may not run correctly in the current version.
55.2472 WARNING Parameters not known to this version of PsychoPy have come from your experiment file: plCompanionCameraCalibration. This experiment may not run correctly in the current version.
55.2566 INFO Loaded monitor calibration from [‘2024_10_01 16:10’]
55.2676 WARNING Parameters not known to this version of PsychoPy have come from your experiment file: plCompanionCameraCalibration. This experiment may not run correctly in the current version.
55.2712 INFO Loaded monitor calibration from [‘2024_10_01 16:10’]
84.2988 WARNING Parameters not known to this version of PsychoPy have come from your experiment file: plCompanionCameraCalibration. This experiment may not run correctly in the current version.
84.3628 WARNING Parameters not known to this version of PsychoPy have come from your experiment file: plCompanionCameraCalibration. This experiment may not run correctly in the current version.
84.3738 INFO Loaded monitor calibration from [‘2024_10_01 16:10’]
84.3853 WARNING Parameters not known to this version of PsychoPy have come from your experiment file: plCompanionCameraCalibration. This experiment may not run correctly in the current version.
84.3969 INFO Loaded monitor calibration from [‘2024_10_01 16:10’]
86.8242 WARNING Parameters not known to this version of PsychoPy have come from your experiment file: plCompanionCameraCalibration. This experiment may not run correctly in the current version.
86.8371 INFO Loaded monitor calibration from [‘2024_10_01 16:10’]
86.8517 WARNING Parameters not known to this version of PsychoPy have come from your experiment file: plCompanionCameraCalibration. This experiment may not run correctly in the current version.
86.8647 INFO Loaded monitor calibration from [‘2024_10_01 16:10’]
86.8814 WARNING Parameters not known to this version of PsychoPy have come from your experiment file: plCompanionCameraCalibration. This experiment may not run correctly in the current version.
Generating PsychoPy script…

Running: /Users/salvatoretorris/Desktop/fingertaptest/flex_finger_tap_d4_lastrun.py

2024-10-07 14:55:09.084 python[1854:27420] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/13/ph5cmzws6ql3wvqy0sdb3_xh0000gr/T/org.opensciencetools.psychopy.savedState

{‘blockLength’: 20, ‘numBlocks’: 3, ‘nullPeriod’: 0, ‘condition’: ‘right’, ‘timeStr’: ‘2024_Oct_07_1455’}

condition was: movies/righttaps.avi

16.7504 WARNING Couldn’t measure a consistent frame rate!
Traceback (most recent call last):

  • Is your graphics card set to sync to vertical blank?
  • Are you running other processes on your computer?

0.1250 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
0.1250 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
0.1250 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
0.1250 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same.
File “/Users/salvatoretorris/Desktop/fingertaptest/flex_finger_tap_d4_lastrun.py”, line 1469, in
run(
File “/Users/salvatoretorris/Desktop/fingertaptest/flex_finger_tap_d4_lastrun.py”, line 684, in run
taps = visual.MovieStim3(
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/contrib/lazy_import.py”, line 118, in call
return obj(*args, **kwargs)
TypeError: MovieStim3() takes no arguments
################# Experiment ended with exit code 1 [pid:1854] #################

Hi Jon,
Long time!!! That version is working fine so far (ran a few of the demos). It was having problems (e.g. taking forever to measure refresh rate, complaining about missing plugins) until I made a monitor in the monitor center. Then everything seemed to start working just honkey-dory!
Best, -Larry

Hi Jon, Long time!!!

Yes, indeed! :slight_smile: Hope you’re well, and thanks for chipping in with feedback

That version is working fine so far (ran a few of the demos).

So that’s great. I’m still puzzled why the error didn’t occur for everyone, but it’s some good news to know it’s fixed for most.

taking forever to measure refresh rate

This is to do with very inconsistent (reported) frame intervals on macos making it impossible to find a consistent rate. I think that issue warrants a discussion thread that I’ve started here

@pal217 I wonder if your issue is different then. Could you try moving your user/app settings and (to reset your prefs and plugins)" Shut down the app and then do

mv ~/.psychopy3 ~/.psychopy_backup

in a terminal

@storrisi I think you’re trying to run a script using a deprecated movie class without installing the relevant plugin. Either switch you taps to use the new Movie backend or install the psychopy-legacy plugin

Hi, i downloaded the new version with different stuptools but it doesn’t work nether. I’ve seqoia 15.0 in M1 pro.

Translated Report (Full Report Below)

Process: PsychoPy [8728]
Path: /Applications/PsychoPy.app/Contents/MacOS/PsychoPy
Identifier: org.opensciencetools.psychopy
Version: 2024.2.2 (2024.2.2)
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
User ID: 502

Date/Time: 2024-10-08 20:58:14.2445 +0200
OS Version: macOS 15.0 (24A335)
Report Version: 12
Anonymous UUID: 38F45D58-EB61-110C-3227-96CA204ADD88

Sleep/Wake UUID: 9D4D777C-8ED3-445D-B26F-6A895EA1E308

Time Awake Since Boot: 8300 seconds
Time Since Wake: 1518 seconds

System Integrity Protection: enabled

Notes:
PC register does not match crashing frame (0x0 vs 0x7FF897EDEA84)

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

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: PsychoPy [8728]

Application Specific Information:
abort() called

Error Formulating Crash Report:
PC register does not match crashing frame (0x0 vs 0x7FF897EDEA84)

Thread 0 Crashed:: PTB mainthread Dispatch queue: com.apple.main-thread
0 ??? 0x7ff897edea84 ???
1 libsystem_kernel.dylib 0x7ff807d10b52 __pthread_kill + 10
2 libsystem_pthread.dylib 0x7ff807d4af85 pthread_kill + 262
3 libsystem_c.dylib 0x7ff807c6bb19 abort + 126
4 libsystem_malloc.dylib 0x7ff807b6aab1 malloc_vreport + 857
5 libsystem_malloc.dylib 0x7ff807b6e58b malloc_report + 151
6 libwx_osx_cocoau_core-3.2.0.3.0.dylib 0x12c160281 wxWindowBase::DestroyChildren() + 113
7 libwx_osx_cocoau_core-3.2.0.3.0.dylib 0x12bf7a5bd wxNonOwnedWindow::~wxNonOwnedWindow() + 93
8 _core.cpython-310-darwin.so 0x12ae13df2 sipwxFrame::~sipwxFrame() + 50
9 libwx_baseu-3.2.0.3.0.dylib 0x12a764b39 wxAppConsoleBase::ProcessIdle() + 169
10 libwx_osx_cocoau_core-3.2.0.3.0.dylib 0x12c071556 wxAppBase::ProcessIdle() + 22
11 libwx_osx_cocoau_core-3.2.0.3.0.dylib 0x12bfc06aa wxApp::ProcessIdle() + 26
12 libwx_baseu-3.2.0.3.0.dylib 0x12a84581c wxCFEventLoop::OSXCommonModeObserverCallBack(__CFRunLoopObserver*, int, void*) + 92
13 CoreFoundation 0x7ff807e30766 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23
14 CoreFoundation 0x7ff807e3068a __CFRunLoopDoObservers + 503
15 CoreFoundation 0x7ff807e2fcfa __CFRunLoopRun + 1120
16 CoreFoundation 0x7ff807e2f2aa CFRunLoopRunSpecific + 536
17 Foundation 0x7ff808dbee59 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 216
18 libwx_osx_cocoau_core-3.2.0.3.0.dylib 0x12c02b215 wxGUIEventLoop::DoDispatchTimeout(unsigned long) + 197
19 libwx_baseu-3.2.0.3.0.dylib 0x12a845dd2 wxCFEventLoop::DispatchTimeout(unsigned long) + 34
20 libwx_baseu-3.2.0.3.0.dylib 0x12a845f5a wxCFEventLoop::OSXDoRun() + 186
21 libwx_osx_cocoau_core-3.2.0.3.0.dylib 0x12c02b7fe wxModalEventLoop::OSXDoRun() + 110
22 libwx_baseu-3.2.0.3.0.dylib 0x12a84607d wxCFEventLoop::DoRun() + 29
23 libwx_baseu-3.2.0.3.0.dylib 0x12a7980a7 wxEventLoopBase::Run() + 167
24 libwx_osx_cocoau_core-3.2.0.3.0.dylib 0x12bf789fd wxDialog::ShowModal() + 93
25 libwx_osx_cocoau_core-3.2.0.3.0.dylib 0x12c22696b wxShowTip(wxWindow*, wxTipProvider*, bool) + 43
26 _adv.cpython-310-darwin.so 0x12e356d50 0x12e34d000 + 40272
27 Python 0x10cde9f04 0x10ccff000 + 962308
28 Python 0x10cd82b14 _PyObject_MakeTpCall + 132
29 Python 0x10cec45a3 0x10ccff000 + 1856931
30 Python 0x10ceba85a _PyEval_EvalFrameDefault + 24122
31 Python 0x10ceb304f 0x10ccff000 + 1785935
32 Python 0x10cd86bdf 0x10ccff000 + 555999
33 Python 0x10cd83645 PyVectorcall_Call + 149
34 Python 0x10cebafb2 _PyEval_EvalFrameDefault + 26002
35 Python 0x10ceb304f 0x10ccff000 + 1785935
36 Python 0x10cd82e26 _PyObject_FastCallDictTstate + 214
37 Python 0x10ce18089 0x10ccff000 + 1151113
38 Python 0x10ce0e922 0x10ccff000 + 1112354
39 Python 0x10cd82b14 _PyObject_MakeTpCall + 132
40 Python 0x10cec45a3 0x10ccff000 + 1856931
41 Python 0x10ceba95c _PyEval_EvalFrameDefault + 24380
42 Python 0x10ceb304f 0x10ccff000 + 1785935
43 Python 0x10cec44df 0x10ccff000 + 1856735
44 Python 0x10ceba95c _PyEval_EvalFrameDefault + 24380
45 Python 0x10ceb304f 0x10ccff000 + 1785935
46 Python 0x10cec44df 0x10ccff000 + 1856735
47 Python 0x10ceba8a1 _PyEval_EvalFrameDefault + 24193
48 Python 0x10ceb304f 0x10ccff000 + 1785935
49 Python 0x10cec44df 0x10ccff000 + 1856735
50 Python 0x10ceba8a1 _PyEval_EvalFrameDefault + 24193
51 Python 0x10ceb304f 0x10ccff000 + 1785935
52 Python 0x10cead14d 0x10ccff000 + 1761613
53 Python 0x10cdea706 0x10ccff000 + 964358
54 Python 0x10cec44df 0x10ccff000 + 1856735
55 Python 0x10ceba8a1 _PyEval_EvalFrameDefault + 24193
56 Python 0x10ceb304f 0x10ccff000 + 1785935
57 Python 0x10cec44df 0x10ccff000 + 1856735
58 Python 0x10ceba8a1 _PyEval_EvalFrameDefault + 24193
59 Python 0x10ceb304f 0x10ccff000 + 1785935
60 Python 0x10cf289fd 0x10ccff000 + 2267645
61 Python 0x10cf281bd _PyRun_SimpleFileObject + 365
62 Python 0x10cf2bcad PyRun_SimpleFileExFlags + 109
63 PsychoPy 0x102311ec5 0x10230d000 + 20165
64 PsychoPy 0x102310357 main + 257
65 dyld 0x2026c22cd start + 1805

Thread 1:: com.apple.rosetta.exceptionserver
0 runtime 0x7ff7ffed4ea0 0x7ff7ffed1000 + 16032

Thread 2:
0 ??? 0x7ff897edea84 ???
1 libsystem_kernel.dylib 0x7ff807d0c9aa __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff807d4b7a8 _pthread_cond_wait + 1193
3 interpreter.so 0x12ffdcba3 th_worker(void*) + 115
4 libsystem_pthread.dylib 0x7ff807d4b253 _pthread_start + 99
5 libsystem_pthread.dylib 0x7ff807d46bef thread_start + 15

Thread 3:
0 ??? 0x7ff897edea84 ???
1 libsystem_kernel.dylib 0x7ff807d0c9aa __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff807d4b7a8 _pthread_cond_wait + 1193
3 interpreter.so 0x12ffdcba3 th_worker(void*) + 115
4 libsystem_pthread.dylib 0x7ff807d4b253 _pthread_start + 99
5 libsystem_pthread.dylib 0x7ff807d46bef thread_start + 15

Thread 4:
0 ??? 0x7ff897edea84 ???
1 libsystem_kernel.dylib 0x7ff807d0c9aa __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff807d4b7a8 _pthread_cond_wait + 1193
3 interpreter.so 0x12ffdcba3 th_worker(void*) + 115
4 libsystem_pthread.dylib 0x7ff807d4b253 _pthread_start + 99
5 libsystem_pthread.dylib 0x7ff807d46bef thread_start + 15

Thread 5:
0 ??? 0x7ff897edea84 ???
1 libsystem_kernel.dylib 0x7ff807d0c9aa __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff807d4b7a8 _pthread_cond_wait + 1193
3 interpreter.so 0x12ffdcba3 th_worker(void*) + 115
4 libsystem_pthread.dylib 0x7ff807d4b253 _pthread_start + 99
5 libsystem_pthread.dylib 0x7ff807d46bef thread_start + 15

Thread 6:
0 ??? 0x7ff897edea84 ???
1 libsystem_kernel.dylib 0x7ff807d0c9aa __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff807d4b7a8 _pthread_cond_wait + 1193
3 interpreter.so 0x12ffdcba3 th_worker(void*) + 115
4 libsystem_pthread.dylib 0x7ff807d4b253 _pthread_start + 99
5 libsystem_pthread.dylib 0x7ff807d46bef thread_start + 15

I am writing to report an issue I am experiencing with launching PsychoPy. I have been using the native version for Mac (2024.2.2) (i’m in sequoia 15.0) for a week without any problems, but for the past few days, the application has been unable to launch.

When I try to open PsychoPy, it seems to start slowly before closing automatically without displaying a clear error message. I have also tried several solutions, including checking for missing dependencies and installing HDF5, but the issue persists.

I would greatly appreciate your assistance in resolving this issue, as I need it for my ongoing research work.

Thank you in advance for your help.