belangeo/cecilia5

Crash on Mac 10.12 when using the GUI during playback

ahfontaine opened this issue · 1 comments

Repro :

  • Start Cecilia
  • Load the UltimateGrainer module.
  • Select your sound.
  • Start playback of the module.
  • Do some operations (select a stochastic generator, apply automation, change generator parameters, apply automation) or just press play and stop many times on the module.
  • Stop the playback.
  • Restart playback.

Crash.

Callstack :

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

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

Application Specific Information:
abort() called
*** error for object 0x608000008bd0: Invalid pointer dequeued from free list
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff9575edd6 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff9584a787 pthread_kill + 90
2   libsystem_c.dylib             	0x00007fff956c4420 abort + 129
3   libsystem_malloc.dylib        	0x00007fff957c3c0a nanozone_error + 525
4   libsystem_malloc.dylib        	0x00007fff957b95db _nano_malloc_check_clear + 427
5   libsystem_malloc.dylib        	0x00007fff957b9412 nano_malloc + 35
6   libsystem_malloc.dylib        	0x00007fff957b22da malloc_zone_malloc + 107
7   libsystem_malloc.dylib        	0x00007fff957b4ff9 realloc + 145
8   _pyo.so                       	0x00000001065485c2 0x1063bb000 + 1627586
9   _pyo.so                       	0x0000000106535fdc 0x1063bb000 + 1552348
10  org.python.python             	0x0000000100576e96 PyType_GenericAlloc + 918
11  org.python.python             	0x000000010050a8d3 PyObject_Call + 99
12  org.python.python             	0x00000001005eab65 PyEval_EvalFrameEx + 15477
13  org.python.python             	0x00000001005f0e90 PyEval_EvalFrameEx + 40864
14  org.python.python             	0x00000001005f03ef PyEval_EvalFrameEx + 38143
15  org.python.python             	0x00000001005f0e90 PyEval_EvalFrameEx + 40864
16  org.python.python             	0x00000001005f0f97 PyEval_EvalCodeEx + 71
17  org.python.python             	0x000000010053d77a PyClassMethod_New + 1706
18  org.python.python             	0x000000010050a8d3 PyObject_Call + 99
19  org.python.python             	0x00000001005259cc PyMethod_ClearFreeList + 220
20  org.python.python             	0x000000010050a8d3 PyObject_Call + 99
21  org.python.python             	0x00000001005804c1 _PyObject_LookupSpecial + 817
22  org.python.python             	0x0000000100576f44 PyType_GenericAlloc + 1092
23  org.python.python             	0x000000010050a8d3 PyObject_Call + 99
24  org.python.python             	0x00000001005eab65 PyEval_EvalFrameEx + 15477
25  org.python.python             	0x00000001005f0e90 PyEval_EvalFrameEx + 40864
26  org.python.python             	0x00000001005f0f97 PyEval_EvalCodeEx + 71
27  org.python.python             	0x000000010053d77a PyClassMethod_New + 1706
28  org.python.python             	0x000000010050a8d3 PyObject_Call + 99
29  org.python.python             	0x00000001005259cc PyMethod_ClearFreeList + 220
30  org.python.python             	0x000000010050a8d3 PyObject_Call + 99
31  org.python.python             	0x00000001005804c1 _PyObject_LookupSpecial + 817
32  org.python.python             	0x0000000100576f44 PyType_GenericAlloc + 1092
33  org.python.python             	0x000000010050a8d3 PyObject_Call + 99
34  org.python.python             	0x00000001005eab65 PyEval_EvalFrameEx + 15477
35  org.python.python             	0x00000001005f04fc PyEval_EvalFrameEx + 38412
36  org.python.python             	0x00000001005f0e90 PyEval_EvalFrameEx + 40864
37  org.python.python             	0x00000001005f0f97 PyEval_EvalCodeEx + 71
38  org.python.python             	0x000000010053d77a PyClassMethod_New + 1706
39  org.python.python             	0x000000010050a8d3 PyObject_Call + 99
40  org.python.python             	0x00000001005e9813 PyEval_EvalFrameEx + 10531
41  org.python.python             	0x00000001005f04fc PyEval_EvalFrameEx + 38412
42  org.python.python             	0x00000001005f0e90 PyEval_EvalFrameEx + 40864
43  org.python.python             	0x00000001005f0f97 PyEval_EvalCodeEx + 71
44  org.python.python             	0x000000010053d77a PyClassMethod_New + 1706
45  org.python.python             	0x000000010050a8d3 PyObject_Call + 99
46  org.python.python             	0x00000001005259cc PyMethod_ClearFreeList + 220
47  org.python.python             	0x000000010050a8d3 PyObject_Call + 99
48  org.python.python             	0x00000001005e5217 PyEval_CallObjectWithKeywords + 87
49  siplib.so                     	0x0000000105a3b5c0 sip_api_free + 899
50  siplib.so                     	0x0000000105a3b6f9 sip_api_free + 1212
51  _core.so                      	0x00000001044cc78a sipVH__core_35(PyGILState_STATE, void (*)(_sipSimpleWrapper*, PyGILState_STATE), _sipSimpleWrapper*, _object*) + 64
52  _core.so                      	0x00000001049391e8 sipwxTimer::Notify() + 118
53  com.apple.CoreFoundation      	0x00007fff800e2244 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
54  com.apple.CoreFoundation      	0x00007fff800e1ecf __CFRunLoopDoTimer + 1071
55  com.apple.CoreFoundation      	0x00007fff800e1a2a __CFRunLoopDoTimers + 298
56  com.apple.CoreFoundation      	0x00007fff800d93e1 __CFRunLoopRun + 2065
57  com.apple.CoreFoundation      	0x00007fff800d8974 CFRunLoopRunSpecific + 420
58  com.apple.HIToolbox           	0x00007fff7f664a5c RunCurrentEventLoopInMode + 240
59  com.apple.HIToolbox           	0x00007fff7f664799 ReceiveNextEventCommon + 184
60  com.apple.HIToolbox           	0x00007fff7f6646c6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
61  com.apple.AppKit              	0x00007fff7dc0a5b4 _DPSNextEvent + 1120
62  com.apple.AppKit              	0x00007fff7e384d6b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2789
63  com.apple.AppKit              	0x00007fff7dbfef35 -[NSApplication run] + 926
64  libwx_osx_cocoau_core-3.0.0.3.0.dylib	0x000000010512bb88 wxGUIEventLoop::OSXDoRun() + 248
65  libwx_baseu-3.0.0.3.0.dylib   	0x00000001058b844f wxCFEventLoop::DoRun() + 31
66  libwx_baseu-3.0.0.3.0.dylib   	0x00000001057f0b01 wxEventLoopBase::Run() + 65
67  libwx_baseu-3.0.0.3.0.dylib   	0x00000001057b3ee7 wxAppConsoleBase::MainLoop() + 103
68  _core.so                      	0x0000000104826bac wxPyApp::MainLoop() + 144
69  _core.so                      	0x0000000104826c89 wxPyApp::MainLoop() + 365
70  org.python.python             	0x0000000100562ae9 PyCFunction_Call + 233
71  org.python.python             	0x00000001005efa81 PyEval_EvalFrameEx + 35729
72  org.python.python             	0x00000001005f04fc PyEval_EvalFrameEx + 38412
73  org.python.python             	0x00000001005f0e90 PyEval_EvalFrameEx + 40864
74  org.python.python             	0x00000001005f0ff1 PyEval_EvalCode + 81
75  org.python.python             	0x00000001005e43cf _PyBuiltin_Init + 10783
76  org.python.python             	0x0000000100562ae9 PyCFunction_Call + 233
77  org.python.python             	0x00000001005efa81 PyEval_EvalFrameEx + 35729
78  org.python.python             	0x00000001005f04fc PyEval_EvalFrameEx + 38412
79  org.python.python             	0x00000001005f0e90 PyEval_EvalFrameEx + 40864
80  org.python.python             	0x00000001005f0ff1 PyEval_EvalCode + 81
81  org.python.python             	0x000000010061f15e PyRun_FileExFlags + 206
82  org.python.python             	0x000000010061f3ff PyRun_SimpleFileExFlags + 447
83  org.pythonmac.unspecified.Cecilia5	0x0000000100002b5c 0x100000000 + 11100
84  org.pythonmac.unspecified.Cecilia5	0x00000001000013ff main + 1375
85  org.pythonmac.unspecified.Cecilia5	0x0000000100000ce4 start + 52

Thread 1:
0   libsystem_kernel.dylib        	0x00007fff9575f4e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff958475fe _pthread_wqthread + 1023
2   libsystem_pthread.dylib       	0x00007fff958471ed start_wqthread + 13

Thread 2:
0   libsystem_kernel.dylib        	0x00007fff9575f4e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff95847791 _pthread_wqthread + 1426
2   libsystem_pthread.dylib       	0x00007fff958471ed start_wqthread + 13

Thread 3:
0   libsystem_kernel.dylib        	0x00007fff9575738a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff957567d7 mach_msg + 55
2   com.apple.audio.midi.CoreMIDI 	0x000000010676c9c1 XServerMachPort::ReceiveMessage(int&, void*, int&) + 107
3   com.apple.audio.midi.CoreMIDI 	0x0000000106782ba9 MIDIProcess::RunMIDIInThread() + 105
4   com.apple.audio.midi.CoreMIDI 	0x000000010678fa9a XThread::RunHelper(void*) + 10
5   com.apple.audio.midi.CoreMIDI 	0x0000000106793053 CAPThread::Entry(CAPThread*) + 85
6   libsystem_pthread.dylib       	0x00007fff95847aab _pthread_body + 180
7   libsystem_pthread.dylib       	0x00007fff958479f7 _pthread_start + 286
8   libsystem_pthread.dylib       	0x00007fff958471fd thread_start + 13

Thread 4:
0   libsystem_kernel.dylib        	0x00007fff9575f4e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff95847791 _pthread_wqthread + 1426
2   libsystem_pthread.dylib       	0x00007fff958471ed start_wqthread + 13

Thread 5:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	0x00007fff9575738a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff957567d7 mach_msg + 55
2   com.apple.CoreFoundation      	0x00007fff800d9c94 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation      	0x00007fff800d9121 __CFRunLoopRun + 1361
4   com.apple.CoreFoundation      	0x00007fff800d8974 CFRunLoopRunSpecific + 420
5   com.apple.AppKit              	0x00007fff7dd57a62 _NSEventThread + 205
6   libsystem_pthread.dylib       	0x00007fff95847aab _pthread_body + 180
7   libsystem_pthread.dylib       	0x00007fff958479f7 _pthread_start + 286
8   libsystem_pthread.dylib       	0x00007fff958471fd thread_start + 13

Thread 6:: com.apple.coreanimation.render-server
0   libsystem_kernel.dylib        	0x00007fff9575738a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff957567d7 mach_msg + 55
2   com.apple.QuartzCore          	0x00007fff85ebc1bd CA::Render::Server::server_thread(void*) + 254
3   com.apple.QuartzCore          	0x00007fff85f6a703 thread_fun + 25
4   libsystem_pthread.dylib       	0x00007fff95847aab _pthread_body + 180
5   libsystem_pthread.dylib       	0x00007fff958479f7 _pthread_start + 286
6   libsystem_pthread.dylib       	0x00007fff958471fd thread_start + 13

Thread 7:
0   libsystem_kernel.dylib        	0x00007fff9575f4e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff95847791 _pthread_wqthread + 1426
2   libsystem_pthread.dylib       	0x00007fff958471ed start_wqthread + 13

Thread 8:
0   libsystem_kernel.dylib        	0x00007fff9575f4e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff95847791 _pthread_wqthread + 1426
2   libsystem_pthread.dylib       	0x00007fff958471ed start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff5fbf8168  rdx: 0x0000000000000000
  rdi: 0x0000000000000307  rsi: 0x0000000000000006  rbp: 0x00007fff5fbf8190  rsp: 0x00007fff5fbf8168
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000008000000  r11: 0x0000000000000206
  r12: 0x0000000000000001  r13: 0x0000608000008bd0  r14: 0x00007fff9e47d3c0  r15: 0x000000010003a000
  rip: 0x00007fff9575edd6  rfl: 0x0000000000000206  cr2: 0x00007fff9e45f128

Tried on 5.3.4. Issue does not occur anymore. Closing.