albertz / music-player

Music player - endlessly plays your music
http://albertz.github.io/music-player/
BSD 2-Clause "Simplified" License
490 stars 58 forks source link

crash, sqlite shutdown or threadlocal shutdown #23

Closed albertz closed 11 years ago

albertz commented 11 years ago

Sometimes, I get this crash at quit:

Process:         MusicPlayer [9949]
Path:            /Users/USER/*/MusicPlayer.app/Contents/MacOS/MusicPlayer
Identifier:      albertzeyer.MusicPlayer
Version:         0.1 (1)
Code Type:       X86-64 (Native)
Parent Process:  launchd [131]
User ID:         502

Date/Time:       2013-02-12 02:55:33.297 +0100
OS Version:      Mac OS X 10.8.2 (12C60)
Report Version:  10

Interval Since Last Report:          250865 sec
Crashes Since Last Report:           69
Per-App Interval Since Last Report:  226664 sec
Per-App Crashes Since Last Report:   6
Anonymous UUID:                      273029D5-06AD-9DC7-29CA-8CB6D1D653B3

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

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

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff8a54e0fa __psynch_cvwait + 10
1   libsystem_c.dylib               0x00007fff85daaf89 _pthread_cond_wait + 869
2   org.python.python               0x000000010006f54e PyThread_acquire_lock + 96
3   org.python.python               0x000000010001d8e3 PyEval_RestoreThread + 61
4   org.python.python               0x0000000100075bf3 0x100009000 + 445427
5   org.python.python               0x0000000100020041 PyEval_EvalFrameEx + 7548
6   org.python.python               0x000000010001e281 PyEval_EvalCodeEx + 1956
7   org.python.python               0x0000000100024661 0x100009000 + 112225
8   org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
9   org.python.python               0x000000010001e281 PyEval_EvalCodeEx + 1956
10  org.python.python               0x0000000100024661 0x100009000 + 112225
11  org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
12  org.python.python               0x000000010001e281 PyEval_EvalCodeEx + 1956
13  org.python.python               0x000000010005df78 0x100009000 + 348024
14  org.python.python               0x000000010001caba PyObject_Call + 97
15  _objc.so                        0x0000000104615898 0x104600000 + 88216
16  libffi.dylib                    0x00007fff8236e8a6 ffi_closure_unix64_inner + 508
17  libffi.dylib                    0x00007fff8236df66 ffi_closure_unix64 + 70
18  com.apple.AppKit                0x00007fff84f63f3f -[NSApplication _docController:shouldTerminate:] + 75
19  com.apple.AppKit                0x00007fff84f63e4e __91-[NSDocumentController(NSInternal) _closeAllDocumentsWithDelegate:shouldTerminateSelector:]_block_invoke_0 + 159
20  com.apple.AppKit                0x00007fff84f63cea -[NSDocumentController(NSInternal) _closeAllDocumentsWithDelegate:shouldTerminateSelector:] + 1557
21  com.apple.AppKit                0x00007fff84f636ae -[NSDocumentController(NSInternal) __closeAllDocumentsWithDelegate:shouldTerminateSelector:] + 265
22  com.apple.AppKit                0x00007fff84f6357f -[NSApplication _shouldTerminate] + 772
23  com.apple.AppKit                0x00007fff84f9134f -[NSApplication(NSAppleEventHandling) _handleAEQuit] + 403
24  com.apple.AppKit                0x00007fff84d40261 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 660
25  com.apple.Foundation            0x00007fff867e112b -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308
26  com.apple.Foundation            0x00007fff867e0f8d _NSAppleEventManagerGenericHandler + 106
27  com.apple.AE                    0x00007fff832eeb48 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 307
28  com.apple.AE                    0x00007fff832ee9a9 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 37
29  com.apple.AE                    0x00007fff832ee869 aeProcessAppleEvent + 318
30  com.apple.HIToolbox             0x00007fff8e19f8e9 AEProcessAppleEvent + 100
31  com.apple.AppKit                0x00007fff84d3c916 _DPSNextEvent + 1456
32  com.apple.AppKit                0x00007fff84d3bed2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
33  com.apple.AppKit                0x00007fff84d33283 -[NSApplication run] + 517
34  libffi.dylib                    0x00007fff8236dde4 ffi_call_unix64 + 76
35  libffi.dylib                    0x00007fff8236e619 ffi_call + 853
36  _objc.so                        0x000000010461a663 PyObjCFFI_Caller + 1980
37  _objc.so                        0x000000010462f43e 0x104600000 + 193598
38  org.python.python               0x000000010001caba PyObject_Call + 97
39  org.python.python               0x0000000100020225 PyEval_EvalFrameEx + 8032
40  org.python.python               0x00000001000245eb 0x100009000 + 112107
41  org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
42  org.python.python               0x000000010001e281 PyEval_EvalCodeEx + 1956
43  org.python.python               0x000000010001dad7 PyEval_EvalCode + 54
44  org.python.python               0x0000000100054933 0x100009000 + 309555
45  org.python.python               0x00000001000549ff PyRun_FileExFlags + 165
46  org.python.python               0x00000001000543e9 PyRun_SimpleFileExFlags + 410
47  albertzeyer.MusicPlayer         0x0000000100001f54 main + 682 (main.m:67)
48  albertzeyer.MusicPlayer         0x0000000100001c6d _start + 203
49  albertzeyer.MusicPlayer         0x0000000100001ba1 start + 33

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x00007fff8a54ed16 kevent + 10
1   libdispatch.dylib               0x00007fff88230dea _dispatch_mgr_invoke + 883
2   libdispatch.dylib               0x00007fff882309ee _dispatch_mgr_thread + 54

Thread 2:
0   libsystem_kernel.dylib          0x00007fff8a54e0fa __psynch_cvwait + 10
1   libsystem_c.dylib               0x00007fff85daaf89 _pthread_cond_wait + 869
2   org.python.python               0x000000010006f54e PyThread_acquire_lock + 96
3   org.python.python               0x000000010001d8e3 PyEval_RestoreThread + 61
4   _sqlite3.so                     0x000000010a4041f1 pysqlite_connection_dealloc + 76
5   org.python.python               0x00000001000729f3 0x100009000 + 432627
6   org.python.python               0x00000001000729f3 0x100009000 + 432627
7   org.python.python               0x0000000100052b55 PyThreadState_Clear + 136
8   org.python.python               0x000000010007610a 0x100009000 + 446730
9   libsystem_c.dylib               0x00007fff85da6742 _pthread_start + 327
10  libsystem_c.dylib               0x00007fff85d93181 thread_start + 13

Thread 3:
0   libsystem_kernel.dylib          0x00007fff8a54e0fa __psynch_cvwait + 10
1   libsystem_c.dylib               0x00007fff85daaf89 _pthread_cond_wait + 869
2   org.python.python               0x000000010006f54e PyThread_acquire_lock + 96
3   org.python.python               0x000000010001d8e3 PyEval_RestoreThread + 61
4   _objc.so                        0x00000001046234a3 0x104600000 + 144547
5   org.python.python               0x00000001000a4194 0x100009000 + 635284
6   org.python.python               0x0000000100021a49 PyEval_EvalFrameEx + 14212
7   org.python.python               0x00000001000245eb 0x100009000 + 112107
8   org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
9   org.python.python               0x000000010001e281 PyEval_EvalCodeEx + 1956
10  org.python.python               0x000000010005df78 0x100009000 + 348024
11  org.python.python               0x000000010001caba PyObject_Call + 97
12  org.python.python               0x000000010001ec59 PyEval_EvalFrameEx + 2452
13  org.python.python               0x00000001000245eb 0x100009000 + 112107
14  org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
15  org.python.python               0x00000001000245eb 0x100009000 + 112107
16  org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
17  org.python.python               0x000000010001e281 PyEval_EvalCodeEx + 1956
18  org.python.python               0x000000010005df78 0x100009000 + 348024
19  org.python.python               0x000000010001caba PyObject_Call + 97
20  org.python.python               0x000000010003719a 0x100009000 + 188826
21  org.python.python               0x000000010001caba PyObject_Call + 97
22  org.python.python               0x0000000100023dfc PyEval_CallObjectWithKeywords + 177
23  org.python.python               0x0000000100076010 0x100009000 + 446480
24  libsystem_c.dylib               0x00007fff85da6742 _pthread_start + 327
25  libsystem_c.dylib               0x00007fff85d93181 thread_start + 13

Thread 4:
0   libsystem_kernel.dylib          0x00007fff8a54e0fa __psynch_cvwait + 10
1   libsystem_c.dylib               0x00007fff85daaf89 _pthread_cond_wait + 869
2   org.python.python               0x000000010006f54e PyThread_acquire_lock + 96
3   org.python.python               0x000000010001d8e3 PyEval_RestoreThread + 61
4   org.python.python               0x0000000100053351 PyGILState_Ensure + 93
5   _objc.so                        0x0000000104609b6e 0x104600000 + 39790
6   libobjc.A.dylib                 0x00007fff880c6230 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 464
7   com.apple.CoreFoundation        0x00007fff8ec15342 _CFAutoreleasePoolPop + 34
8   com.apple.Foundation            0x00007fff867e003d -[NSAutoreleasePool release] + 154
9   com.apple.CoreFoundation        0x00007fff8ebed85a CFRelease + 170
10  _objc.so                        0x000000010462349b 0x104600000 + 144539
11  org.python.python               0x00000001000a4194 0x100009000 + 635284
12  org.python.python               0x0000000100021a49 PyEval_EvalFrameEx + 14212
13  org.python.python               0x000000010001e281 PyEval_EvalCodeEx + 1956
14  org.python.python               0x0000000100024661 0x100009000 + 112225
15  org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
16  org.python.python               0x00000001000245eb 0x100009000 + 112107
17  org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
18  org.python.python               0x000000010001e281 PyEval_EvalCodeEx + 1956
19  org.python.python               0x000000010005df78 0x100009000 + 348024
20  org.python.python               0x000000010001caba PyObject_Call + 97
21  org.python.python               0x000000010001ec59 PyEval_EvalFrameEx + 2452
22  org.python.python               0x00000001000245eb 0x100009000 + 112107
23  org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
24  org.python.python               0x00000001000245eb 0x100009000 + 112107
25  org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
26  org.python.python               0x000000010001e281 PyEval_EvalCodeEx + 1956
27  org.python.python               0x000000010005df78 0x100009000 + 348024
28  org.python.python               0x000000010001caba PyObject_Call + 97
29  org.python.python               0x000000010003719a 0x100009000 + 188826
30  org.python.python               0x000000010001caba PyObject_Call + 97
31  org.python.python               0x0000000100023dfc PyEval_CallObjectWithKeywords + 177
32  org.python.python               0x0000000100076010 0x100009000 + 446480
33  libsystem_c.dylib               0x00007fff85da6742 _pthread_start + 327
34  libsystem_c.dylib               0x00007fff85d93181 thread_start + 13

Thread 5:
0   org.python.python               0x000000010007575e 0x100009000 + 444254
1   org.python.python               0x0000000100071cbe 0x100009000 + 429246
2   org.python.python               0x0000000100071bcd PyDict_SetItem + 145
3   org.python.python               0x0000000100079a55 PyObject_GenericSetAttr + 327
4   org.python.python               0x0000000100079538 PyObject_SetAttr + 157
5   org.python.python               0x000000010001f303 PyEval_EvalFrameEx + 4158
6   org.python.python               0x00000001000245eb 0x100009000 + 112107
7   org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
8   org.python.python               0x00000001000245eb 0x100009000 + 112107
9   org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
10  org.python.python               0x00000001000245eb 0x100009000 + 112107
11  org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
12  org.python.python               0x000000010001e281 PyEval_EvalCodeEx + 1956
13  org.python.python               0x000000010005df78 0x100009000 + 348024
14  org.python.python               0x000000010001caba PyObject_Call + 97
15  org.python.python               0x000000010001ec59 PyEval_EvalFrameEx + 2452
16  org.python.python               0x00000001000245eb 0x100009000 + 112107
17  org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
18  org.python.python               0x00000001000245eb 0x100009000 + 112107
19  org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
20  org.python.python               0x000000010001e281 PyEval_EvalCodeEx + 1956
21  org.python.python               0x000000010005df78 0x100009000 + 348024
22  org.python.python               0x000000010001caba PyObject_Call + 97
23  org.python.python               0x000000010003719a 0x100009000 + 188826
24  org.python.python               0x000000010001caba PyObject_Call + 97
25  org.python.python               0x0000000100023dfc PyEval_CallObjectWithKeywords + 177
26  org.python.python               0x0000000100076010 0x100009000 + 446480
27  libsystem_c.dylib               0x00007fff85da6742 _pthread_start + 327
28  libsystem_c.dylib               0x00007fff85d93181 thread_start + 13

Thread 6:
0   libsystem_kernel.dylib          0x00007fff8a54e386 __semwait_signal + 10
1   libsystem_c.dylib               0x00007fff85e30800 nanosleep + 163
2   libsystem_c.dylib               0x00007fff85e30717 usleep + 54
3   ffmpeg.so                       0x000000010bd7609d PlayerObject::workerProc(PyMutex&, bool&) + 509 (ffmpeg_player_decoding.cpp:1087)
4   ffmpeg.so                       0x000000010bd78ac2 boost::function2<void, PyMutex&, bool&>::operator()(PyMutex&, bool&) const + 28 (function_template.hpp:759)
5   ffmpeg.so                       0x000000010bd78736 PyThread_thread(void*) + 25 (ffmpeg_utils.cpp:98)
6   libsystem_c.dylib               0x00007fff85da6742 _pthread_start + 327
7   libsystem_c.dylib               0x00007fff85d93181 thread_start + 13

Thread 7:
0   libsystem_kernel.dylib          0x00007fff8a54e322 __select + 10
1   time.so                         0x00000001007f9d83 0x1007f9000 + 3459
2   org.python.python               0x0000000100020041 PyEval_EvalFrameEx + 7548
3   org.python.python               0x000000010001e281 PyEval_EvalCodeEx + 1956
4   org.python.python               0x000000010005df78 0x100009000 + 348024
5   org.python.python               0x000000010001caba PyObject_Call + 97
6   org.python.python               0x000000010001ec59 PyEval_EvalFrameEx + 2452
7   org.python.python               0x00000001000245eb 0x100009000 + 112107
8   org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
9   org.python.python               0x00000001000245eb 0x100009000 + 112107
10  org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
11  org.python.python               0x000000010001e281 PyEval_EvalCodeEx + 1956
12  org.python.python               0x000000010005df78 0x100009000 + 348024
13  org.python.python               0x000000010001caba PyObject_Call + 97
14  org.python.python               0x000000010003719a 0x100009000 + 188826
15  org.python.python               0x000000010001caba PyObject_Call + 97
16  org.python.python               0x0000000100023dfc PyEval_CallObjectWithKeywords + 177
17  org.python.python               0x0000000100076010 0x100009000 + 446480
18  libsystem_c.dylib               0x00007fff85da6742 _pthread_start + 327
19  libsystem_c.dylib               0x00007fff85d93181 thread_start + 13

Thread 8:: com.apple.audio.IOThread.client
0   libsystem_kernel.dylib          0x00007fff8a54c686 mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8a54bc42 mach_msg + 70
2   com.apple.audio.CoreAudio       0x00007fff825a117a HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned int, unsigned int, mach_msg_header_t*, bool, unsigned int) + 98
3   com.apple.audio.CoreAudio       0x00007fff825a1108 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 42
4   com.apple.audio.CoreAudio       0x00007fff8259f8db HALC_ProxyIOContext::IOWorkLoop() + 1209
5   com.apple.audio.CoreAudio       0x00007fff8259f391 HALC_ProxyIOContext::IOThreadEntry(void*) + 83
6   com.apple.audio.CoreAudio       0x00007fff8259f24b HALB_IOThread::Entry(void*) + 75
7   libsystem_c.dylib               0x00007fff85da6742 _pthread_start + 327
8   libsystem_c.dylib               0x00007fff85d93181 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000004  rbx: 0x0949220109492300  rcx: 0x00007fff5fbfd118  rdx: 0x0000000009492200
  rdi: 0x0000000104325d38  rsi: 0x0949220109492300  rbp: 0x00007fff5fbfd1d0  rsp: 0x00007fff5fbfd118
   r8: 0x0000000000000000   r9: 0x0000000000000060  r10: 0x0000000000000000  r11: 0x0000000000000202
  r12: 0x0000000000000001  r13: 0x0000000009492200  r14: 0x00007fff72a08180  r15: 0x0000000104325d68
  rip: 0x00007fff8a54e0fa  rfl: 0x0000000000000203  cr2: 0x00000001002f4470
Logical CPU: 0

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 7
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 496216
    thread_create: 8
    thread_set_state: 438

And the log:

hello there
Error, argparse not available. This needs Python >=2.7.
MusicPlayer 1.0 from 2013-02-12 00:29:07 +0000 on MacOSX (darwin)
startup on 2013-02-12 00:51:05 +0000
Module player
Module queue
Module tracker
Module tracker_lastfm
Module mediakeys
Module gui
Module stdinconsole
Module notifications
Module preloader
Module songdb
icon.icns not found
entering GUI main loop
AppDelegate didFinishLaunching
* loaded access token
avcodec_decode_audio4 error
avcodec_decode_audio4 error
setupAfterAppFinishedLaunching ready
new song: Well Being - There's A Place, 05:46, mp3, 355 kbit/s, 15 MB
Error, argparse not available. This needs Python >=2.7.
ExecingProcess child create search index worker process (pid 9954)
ExecingProcess child create search index worker process (pid 9954) finished
Exception AttributeError: "'NoneType' object has no attribute 'betterRepr'" in  ignored
avcodec_decode_audio4 error
new song: Hadouken! - Oxygen, 03:46, mp3, 231 kbit/s, 6.35 MB
new song: Emancipator - Minor Cause, 05:17, flac, 1.52e+03 kbit/s, 58.9 MB
new song: Wideboys Feat. Clare Evers - Reach Out (Amsterdamn Mix), 03:49, mp3, 260 kbit/s, 7.27 MB
Fatal Python error: Segmentation fault

Thread 0x0000000108323000:
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/gu...", line 892 in playCursorUpdater
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 484 in run
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532 in __bootstrap_inner
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 504 in __bootstrap

Current thread 0x000000010a51d000:
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/so...", line 160 in flush
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/so...", line 220 in flush
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/so...", line 835 in songdbMain
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/ut...", line 494 in threadMain
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 484 in run
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532 in __bootstrap_inner
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 504 in __bootstrap

Thread 0x000000010a100000:
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/no...", line 40 in macNotificationsMain
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/no...", line 75 in notificationsMain
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/ut...", line 494 in threadMain
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 484 in run
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532 in __bootstrap_inner
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 504 in __bootstrap

Thread 0x000000010a07d000:
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/me...", line 81 in runEventsCapture
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/ut...", line 1036 in doCall
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 484 in run
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532 in __bootstrap_inner
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 504 in __bootstrap

Thread 0x000000010800a000:

Thread 0x00007fff72a08180:
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 640 in join
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/ut...", line 511 in stop
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/gu...", line 124 in applicationShouldTerminate_
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/gu...", line 1098 in main
  File "main.py", line 37 in <module>

It seems always that the songdb.DB.flush() is causing the crash in the line:

        self._threadLocal = None
christophmluscher commented 11 years ago

it seems that i have a similar crash.

crash report:

Process:         MusicPlayer [533]
Path:            /Applications/MusicPlayer.app/Contents/MacOS/MusicPlayer
Identifier:      albertzeyer.MusicPlayer
Version:         0.1 (1)
Code Type:       X86-64 (Native)
Parent Process:  launchd [214]

Date/Time:       2013-02-14 09:10:07.379 +0100
OS Version:      Mac OS X 10.7.5 (11G63)
Report Version:  9

Interval Since Last Report:          3981556 sec
Crashes Since Last Report:           159
Per-App Interval Since Last Report:  1601775 sec
Per-App Crashes Since Last Report:   9
Anonymous UUID:                      A08C086C-15D0-47C3-BFF8-301C58178158

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

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

Application Specific Information:
objc[533]: garbage collection is OFF

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff8be3dbca __psynch_cvwait + 10
1   libsystem_c.dylib               0x00007fff8fdf2274 _pthread_cond_wait + 840
2   org.python.python               0x00000001000b04e7 PyThread_acquire_lock + 105
3   org.python.python               0x000000010008df93 PyEval_RestoreThread + 62
4   time.so                         0x00000001007f42e6 0x1007f3000 + 4838
5   org.python.python               0x000000010008aee1 PyEval_EvalFrameEx + 12787
6   org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
7   org.python.python               0x000000010008df38 0x100009000 + 544568
8   org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
9   org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
10  org.python.python               0x000000010008df38 0x100009000 + 544568
11  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
12  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
13  org.python.python               0x000000010008df38 0x100009000 + 544568
14  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
15  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
16  org.python.python               0x00000001000307f1 0x100009000 + 161777
17  org.python.python               0x00000001000104c0 PyObject_Call + 97
18  _objc.so                        0x00000001034f658a 0x1034e0000 + 91530
19  libffi.dylib                    0x00007fff901207ea ffi_closure_unix64_inner + 510
20  libffi.dylib                    0x00007fff9011fffe ffi_closure_unix64 + 70
21  com.apple.AppKit                0x00007fff907de09e -[NSApplication _docController:shouldTerminate:] + 79
22  com.apple.AppKit                0x00007fff908f6c43 __-[NSDocumentController(NSInternal) _closeAllDocumentsWithDelegate:shouldTerminateSelector:]_block_invoke_1 + 155
23  com.apple.AppKit                0x00007fff908feeff -[NSDocumentController(NSInternal) _closeAllDocumentsWithDelegate:shouldTerminateSelector:] + 1664
24  com.apple.AppKit                0x00007fff908fb258 -[NSDocumentController(NSInternal) __closeAllDocumentsWithDelegate:shouldTerminateSelector:] + 358
25  com.apple.AppKit                0x00007fff907e2f6b -[NSApplication _shouldTerminate] + 737
26  com.apple.AppKit                0x00007fff90536a5d -[NSApplication terminate:] + 746
27  com.apple.CoreFoundation        0x00007fff901b470d -[NSObject performSelector:withObject:] + 61
28  com.apple.AppKit                0x00007fff906338ca -[NSApplication sendAction:to:from:] + 139
29  com.apple.AppKit                0x00007fff907207ff -[NSMenuItem _corePerformAction] + 399
30  com.apple.AppKit                0x00007fff90720536 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 125
31  com.apple.AppKit                0x00007fff9069e0d4 -[NSMenu performKeyEquivalent:] + 281
32  com.apple.AppKit                0x00007fff9069cd25 -[NSApplication _handleKeyEquivalent:] + 526
33  com.apple.AppKit                0x00007fff90595e86 -[NSApplication sendEvent:] + 4282
34  com.apple.AppKit                0x00007fff9052ca0e -[NSApplication run] + 555
35  libffi.dylib                    0x00007fff9011fe7c ffi_call_unix64 + 76
36  libffi.dylib                    0x00007fff90120ae9 ffi_call + 728
37  _objc.so                        0x00000001034f9e7c PyObjCFFI_Caller + 2272
38  _objc.so                        0x000000010350f249 0x1034e0000 + 193097
39  org.python.python               0x00000001000104c0 PyObject_Call + 97
40  org.python.python               0x000000010008b0cd PyEval_EvalFrameEx + 13279
41  org.python.python               0x000000010008dec3 0x100009000 + 544451
42  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
43  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
44  org.python.python               0x000000010008de19 PyEval_EvalCode + 54
45  org.python.python               0x00000001000a516b 0x100009000 + 639339
46  org.python.python               0x00000001000a522b PyRun_FileExFlags + 157
47  org.python.python               0x00000001000a634f PyRun_SimpleFileExFlags + 392
48  albertzeyer.MusicPlayer         0x0000000100001f54 main + 682
49  albertzeyer.MusicPlayer         0x0000000100001c6d _start + 203
50  albertzeyer.MusicPlayer         0x0000000100001ba1 start + 33

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x00007fff8be3e7e6 kevent + 10
1   libdispatch.dylib               0x00007fff904b9786 _dispatch_mgr_invoke + 923
2   libdispatch.dylib               0x00007fff904b8316 _dispatch_mgr_thread + 54

Thread 2:
0   libsystem_kernel.dylib          0x00007fff8be3e192 __workq_kernreturn + 10
1   libsystem_c.dylib               0x00007fff8fdf0594 _pthread_wqthread + 758
2   libsystem_c.dylib               0x00007fff8fdf1b85 start_wqthread + 13

Thread 3:
0   libsystem_kernel.dylib          0x00007fff8be3dbca __psynch_cvwait + 10
1   libsystem_c.dylib               0x00007fff8fdf2274 _pthread_cond_wait + 840
2   org.python.python               0x00000001000b04e7 PyThread_acquire_lock + 105
3   org.python.python               0x000000010008be9f PyEval_EvalFrameEx + 16817
4   org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
5   org.python.python               0x000000010008df38 0x100009000 + 544568
6   org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
7   org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
8   org.python.python               0x000000010008df38 0x100009000 + 544568
9   org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
10  org.python.python               0x000000010008dec3 0x100009000 + 544451
11  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
12  org.python.python               0x0000000100027a08 0x100009000 + 125448
13  org.python.python               0x00000001000880cc PyEval_EvalFrameEx + 990
14  org.python.python               0x000000010008dec3 0x100009000 + 544451
15  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
16  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
17  org.python.python               0x00000001000307f1 0x100009000 + 161777
18  org.python.python               0x00000001000104c0 PyObject_Call + 97
19  org.python.python               0x000000010008b746 PyEval_EvalFrameEx + 14936
20  org.python.python               0x000000010008dec3 0x100009000 + 544451
21  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
22  org.python.python               0x000000010008dec3 0x100009000 + 544451
23  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
24  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
25  org.python.python               0x00000001000307f1 0x100009000 + 161777
26  org.python.python               0x00000001000104c0 PyObject_Call + 97
27  org.python.python               0x000000010001ed66 0x100009000 + 89446
28  org.python.python               0x00000001000104c0 PyObject_Call + 97
29  org.python.python               0x000000010008736b PyEval_CallObjectWithKeywords + 180
30  org.python.python               0x00000001000b4057 0x100009000 + 700503
31  libsystem_c.dylib               0x00007fff8fdee8bf _pthread_start + 335
32  libsystem_c.dylib               0x00007fff8fdf1b75 thread_start + 13

Thread 4:
0   libsystem_kernel.dylib          0x00007fff8be3dbca __psynch_cvwait + 10
1   libsystem_c.dylib               0x00007fff8fdf2274 _pthread_cond_wait + 840
2   org.python.python               0x00000001000b04e7 PyThread_acquire_lock + 105
3   org.python.python               0x000000010008df93 PyEval_RestoreThread + 62
4   org.python.python               0x00000001000b3f82 0x100009000 + 700290
5   org.python.python               0x000000010008aee1 PyEval_EvalFrameEx + 12787
6   org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
7   org.python.python               0x000000010008df38 0x100009000 + 544568
8   org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
9   org.python.python               0x0000000100027a08 0x100009000 + 125448
10  org.python.python               0x00000001000880cc PyEval_EvalFrameEx + 990
11  org.python.python               0x000000010008dec3 0x100009000 + 544451
12  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
13  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
14  org.python.python               0x00000001000307f1 0x100009000 + 161777
15  org.python.python               0x00000001000104c0 PyObject_Call + 97
16  org.python.python               0x000000010008b746 PyEval_EvalFrameEx + 14936
17  org.python.python               0x000000010008dec3 0x100009000 + 544451
18  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
19  org.python.python               0x000000010008dec3 0x100009000 + 544451
20  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
21  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
22  org.python.python               0x00000001000307f1 0x100009000 + 161777
23  org.python.python               0x00000001000104c0 PyObject_Call + 97
24  org.python.python               0x000000010001ed66 0x100009000 + 89446
25  org.python.python               0x00000001000104c0 PyObject_Call + 97
26  org.python.python               0x000000010008736b PyEval_CallObjectWithKeywords + 180
27  org.python.python               0x00000001000b4057 0x100009000 + 700503
28  libsystem_c.dylib               0x00007fff8fdee8bf _pthread_start + 335
29  libsystem_c.dylib               0x00007fff8fdf1b75 thread_start + 13

Thread 5:
0   libsystem_kernel.dylib          0x00007fff8be3dbca __psynch_cvwait + 10
1   libsystem_c.dylib               0x00007fff8fdf2274 _pthread_cond_wait + 840
2   org.python.python               0x00000001000b04e7 PyThread_acquire_lock + 105
3   org.python.python               0x000000010008df93 PyEval_RestoreThread + 62
4   org.python.python               0x00000001000b3f82 0x100009000 + 700290
5   org.python.python               0x000000010008aee1 PyEval_EvalFrameEx + 12787
6   org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
7   org.python.python               0x000000010008df38 0x100009000 + 544568
8   org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
9   org.python.python               0x0000000100027a08 0x100009000 + 125448
10  org.python.python               0x00000001000880cc PyEval_EvalFrameEx + 990
11  org.python.python               0x000000010008dec3 0x100009000 + 544451
12  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
13  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
14  org.python.python               0x00000001000307f1 0x100009000 + 161777
15  org.python.python               0x00000001000104c0 PyObject_Call + 97
16  org.python.python               0x000000010008b746 PyEval_EvalFrameEx + 14936
17  org.python.python               0x000000010008dec3 0x100009000 + 544451
18  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
19  org.python.python               0x000000010008dec3 0x100009000 + 544451
20  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
21  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
22  org.python.python               0x00000001000307f1 0x100009000 + 161777
23  org.python.python               0x00000001000104c0 PyObject_Call + 97
24  org.python.python               0x000000010001ed66 0x100009000 + 89446
25  org.python.python               0x00000001000104c0 PyObject_Call + 97
26  org.python.python               0x000000010008736b PyEval_CallObjectWithKeywords + 180
27  org.python.python               0x00000001000b4057 0x100009000 + 700503
28  libsystem_c.dylib               0x00007fff8fdee8bf _pthread_start + 335
29  libsystem_c.dylib               0x00007fff8fdf1b75 thread_start + 13

Thread 6:
0   libsystem_kernel.dylib          0x00007fff8be3dbca __psynch_cvwait + 10
1   libsystem_c.dylib               0x00007fff8fdf2274 _pthread_cond_wait + 840
2   org.python.python               0x00000001000b04e7 PyThread_acquire_lock + 105
3   org.python.python               0x000000010008df93 PyEval_RestoreThread + 62
4   org.python.python               0x00000001000b3f82 0x100009000 + 700290
5   org.python.python               0x000000010008aee1 PyEval_EvalFrameEx + 12787
6   org.python.python               0x000000010008dec3 0x100009000 + 544451
7   org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
8   org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
9   org.python.python               0x00000001000307f1 0x100009000 + 161777
10  org.python.python               0x00000001000104c0 PyObject_Call + 97
11  org.python.python               0x000000010001ed66 0x100009000 + 89446
12  org.python.python               0x00000001000104c0 PyObject_Call + 97
13  org.python.python               0x000000010008736b PyEval_CallObjectWithKeywords + 180
14  org.python.python               0x00000001000b4057 0x100009000 + 700503
15  libsystem_c.dylib               0x00007fff8fdee8bf _pthread_start + 335
16  libsystem_c.dylib               0x00007fff8fdf1b75 thread_start + 13

Thread 7:
0   libsystem_kernel.dylib          0x00007fff8be3dbca __psynch_cvwait + 10
1   libsystem_c.dylib               0x00007fff8fdf2274 _pthread_cond_wait + 840
2   org.python.python               0x00000001000b04e7 PyThread_acquire_lock + 105
3   org.python.python               0x000000010008df93 PyEval_RestoreThread + 62
4   org.python.python               0x00000001000b3f82 0x100009000 + 700290
5   org.python.python               0x000000010008aee1 PyEval_EvalFrameEx + 12787
6   org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
7   org.python.python               0x000000010008df38 0x100009000 + 544568
8   org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
9   org.python.python               0x0000000100027a08 0x100009000 + 125448
10  org.python.python               0x00000001000880cc PyEval_EvalFrameEx + 990
11  org.python.python               0x000000010008dec3 0x100009000 + 544451
12  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
13  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
14  org.python.python               0x00000001000307f1 0x100009000 + 161777
15  org.python.python               0x00000001000104c0 PyObject_Call + 97
16  org.python.python               0x000000010008b746 PyEval_EvalFrameEx + 14936
17  org.python.python               0x000000010008dec3 0x100009000 + 544451
18  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
19  org.python.python               0x000000010008dec3 0x100009000 + 544451
20  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
21  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
22  org.python.python               0x00000001000307f1 0x100009000 + 161777
23  org.python.python               0x00000001000104c0 PyObject_Call + 97
24  org.python.python               0x000000010001ed66 0x100009000 + 89446
25  org.python.python               0x00000001000104c0 PyObject_Call + 97
26  org.python.python               0x000000010008736b PyEval_CallObjectWithKeywords + 180
27  org.python.python               0x00000001000b4057 0x100009000 + 700503
28  libsystem_c.dylib               0x00007fff8fdee8bf _pthread_start + 335
29  libsystem_c.dylib               0x00007fff8fdf1b75 thread_start + 13

Thread 8:
0   libsystem_kernel.dylib          0x00007fff8be3dbca __psynch_cvwait + 10
1   libsystem_c.dylib               0x00007fff8fdf2274 _pthread_cond_wait + 840
2   org.python.python               0x00000001000b04e7 PyThread_acquire_lock + 105
3   org.python.python               0x00000001000b3f77 0x100009000 + 700279
4   org.python.python               0x000000010008aee1 PyEval_EvalFrameEx + 12787
5   org.python.python               0x000000010008dec3 0x100009000 + 544451
6   org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
7   org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
8   org.python.python               0x00000001000307f1 0x100009000 + 161777
9   org.python.python               0x00000001000104c0 PyObject_Call + 97
10  org.python.python               0x000000010001ed66 0x100009000 + 89446
11  org.python.python               0x00000001000104c0 PyObject_Call + 97
12  org.python.python               0x000000010008736b PyEval_CallObjectWithKeywords + 180
13  org.python.python               0x00000001000b4057 0x100009000 + 700503
14  libsystem_c.dylib               0x00007fff8fdee8bf _pthread_start + 335
15  libsystem_c.dylib               0x00007fff8fdf1b75 thread_start + 13

Thread 9:
0   libsystem_kernel.dylib          0x00007fff8be3dbca __psynch_cvwait + 10
1   libsystem_c.dylib               0x00007fff8fdf2274 _pthread_cond_wait + 840
2   org.python.python               0x00000001000b04e7 PyThread_acquire_lock + 105
3   org.python.python               0x000000010008df93 PyEval_RestoreThread + 62
4   org.python.python               0x00000001000b3f82 0x100009000 + 700290
5   org.python.python               0x000000010008aee1 PyEval_EvalFrameEx + 12787
6   org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
7   org.python.python               0x000000010008df38 0x100009000 + 544568
8   org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
9   org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
10  org.python.python               0x000000010008df38 0x100009000 + 544568
11  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
12  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
13  org.python.python               0x00000001000307f1 0x100009000 + 161777
14  org.python.python               0x00000001000104c0 PyObject_Call + 97
15  org.python.python               0x000000010008b746 PyEval_EvalFrameEx + 14936
16  org.python.python               0x000000010008dec3 0x100009000 + 544451
17  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
18  org.python.python               0x000000010008dec3 0x100009000 + 544451
19  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
20  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
21  org.python.python               0x00000001000307f1 0x100009000 + 161777
22  org.python.python               0x00000001000104c0 PyObject_Call + 97
23  org.python.python               0x000000010001ed66 0x100009000 + 89446
24  org.python.python               0x00000001000104c0 PyObject_Call + 97
25  org.python.python               0x000000010008736b PyEval_CallObjectWithKeywords + 180
26  org.python.python               0x00000001000b4057 0x100009000 + 700503
27  libsystem_c.dylib               0x00007fff8fdee8bf _pthread_start + 335
28  libsystem_c.dylib               0x00007fff8fdf1b75 thread_start + 13

Thread 10:
0   libsystem_kernel.dylib          0x00007fff8be3c67a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8be3bd71 mach_msg + 73
2   com.apple.CoreFoundation        0x00007fff9015150c __CFRunLoopServiceMachPort + 188
3   com.apple.CoreFoundation        0x00007fff90159c74 __CFRunLoopRun + 1204
4   com.apple.CoreFoundation        0x00007fff90159486 CFRunLoopRunSpecific + 230
5   com.apple.CoreFoundation        0x00007fff9016919f CFRunLoopRun + 95
6   libffi.dylib                    0x00007fff9011fe7c ffi_call_unix64 + 76
7   libffi.dylib                    0x00007fff90120ae9 ffi_call + 728
8   _objc.so                        0x00000001034f26d4 0x1034e0000 + 75476
9   org.python.python               0x00000001000104c0 PyObject_Call + 97
10  org.python.python               0x000000010008b0cd PyEval_EvalFrameEx + 13279
11  org.python.python               0x000000010008dec3 0x100009000 + 544451
12  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
13  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
14  org.python.python               0x00000001000307f1 0x100009000 + 161777
15  org.python.python               0x00000001000104c0 PyObject_Call + 97
16  org.python.python               0x000000010008b746 PyEval_EvalFrameEx + 14936
17  org.python.python               0x000000010008dec3 0x100009000 + 544451
18  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
19  org.python.python               0x000000010008dec3 0x100009000 + 544451
20  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
21  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
22  org.python.python               0x00000001000307f1 0x100009000 + 161777
23  org.python.python               0x00000001000104c0 PyObject_Call + 97
24  org.python.python               0x000000010001ed66 0x100009000 + 89446
25  org.python.python               0x00000001000104c0 PyObject_Call + 97
26  org.python.python               0x000000010008736b PyEval_CallObjectWithKeywords + 180
27  org.python.python               0x00000001000b4057 0x100009000 + 700503
28  libsystem_c.dylib               0x00007fff8fdee8bf _pthread_start + 335
29  libsystem_c.dylib               0x00007fff8fdf1b75 thread_start + 13

Thread 11:
0   org.python.python               0x00000001000b392a 0x100009000 + 698666
1   org.python.python               0x000000010003bdd3 0x100009000 + 208339
2   org.python.python               0x000000010003e16a PyDict_SetItem + 110
3   org.python.python               0x000000010004052f PyObject_GenericSetAttr + 333
4   org.python.python               0x00000001000408c0 PyObject_SetAttr + 175
5   org.python.python               0x0000000100088c12 PyEval_EvalFrameEx + 3876
6   org.python.python               0x000000010008dec3 0x100009000 + 544451
7   org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
8   org.python.python               0x000000010008dec3 0x100009000 + 544451
9   org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
10  org.python.python               0x000000010008dec3 0x100009000 + 544451
11  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
12  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
13  org.python.python               0x00000001000307f1 0x100009000 + 161777
14  org.python.python               0x00000001000104c0 PyObject_Call + 97
15  org.python.python               0x000000010008b746 PyEval_EvalFrameEx + 14936
16  org.python.python               0x000000010008dec3 0x100009000 + 544451
17  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
18  org.python.python               0x000000010008dec3 0x100009000 + 544451
19  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
20  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
21  org.python.python               0x00000001000307f1 0x100009000 + 161777
22  org.python.python               0x00000001000104c0 PyObject_Call + 97
23  org.python.python               0x000000010001ed66 0x100009000 + 89446
24  org.python.python               0x00000001000104c0 PyObject_Call + 97
25  org.python.python               0x000000010008736b PyEval_CallObjectWithKeywords + 180
26  org.python.python               0x00000001000b4057 0x100009000 + 700503
27  libsystem_c.dylib               0x00007fff8fdee8bf _pthread_start + 335
28  libsystem_c.dylib               0x00007fff8fdf1b75 thread_start + 13

Thread 12:
0   libsystem_kernel.dylib          0x00007fff8be3ddf2 __select + 10
1   time.so                         0x00000001007f42b0 0x1007f3000 + 4784
2   org.python.python               0x000000010008aee1 PyEval_EvalFrameEx + 12787
3   org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
4   org.python.python               0x00000001000307f1 0x100009000 + 161777
5   org.python.python               0x00000001000104c0 PyObject_Call + 97
6   org.python.python               0x000000010008b746 PyEval_EvalFrameEx + 14936
7   org.python.python               0x000000010008dec3 0x100009000 + 544451
8   org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
9   org.python.python               0x000000010008dec3 0x100009000 + 544451
10  org.python.python               0x000000010008af74 PyEval_EvalFrameEx + 12934
11  org.python.python               0x000000010008dda4 PyEval_EvalCodeEx + 2012
12  org.python.python               0x00000001000307f1 0x100009000 + 161777
13  org.python.python               0x00000001000104c0 PyObject_Call + 97
14  org.python.python               0x000000010001ed66 0x100009000 + 89446
15  org.python.python               0x00000001000104c0 PyObject_Call + 97
16  org.python.python               0x000000010008736b PyEval_CallObjectWithKeywords + 180
17  org.python.python               0x00000001000b4057 0x100009000 + 700503
18  libsystem_c.dylib               0x00007fff8fdee8bf _pthread_start + 335
19  libsystem_c.dylib               0x00007fff8fdf1b75 thread_start + 13

Thread 13:
0   libsystem_kernel.dylib          0x00007fff8be3e192 __workq_kernreturn + 10
1   libsystem_c.dylib               0x00007fff8fdf0594 _pthread_wqthread + 758
2   libsystem_c.dylib               0x00007fff8fdf1b85 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000004  rbx: 0x00007fff7bc2e960  rcx: 0x00007fff5fbfd2c8  rdx: 0x000000000073df00
  rdi: 0x000000010060a6d8  rsi: 0x0073df000073e600  rbp: 0x00007fff5fbfd380  rsp: 0x00007fff5fbfd2c8
   r8: 0x0000000000000000   r9: 0x0000000000000060  r10: 0x0000000000000000  r11: 0xffffff80002dad60
  r12: 0x000000000073df00  r13: 0x0073df000073e600  r14: 0x000000010060a6f8  r15: 0x000000010060a6f0
  rip: 0x00007fff8be3dbca  rfl: 0x0000000000000203  cr2: 0x000000010302bfde
Logical CPU: 0
albertz commented 11 years ago

Again the same crash:

Current thread 0x000000010a7e7000:
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/so...", line 160 in flush
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/so...", line 220 in flush
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/so...", line 835 in songdbMain
  File "/Users/az/Programmierung/music-player/mac/build/Release/MusicPlayer.app/Contents/Resources/Python/ut...", line 499 in threadMain
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 484 in run
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532 in __bootstrap_inner
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 504 in __bootstrap

This time, the C backtrace had some interesting context in other threads too, which might be relevant:

Thread 2:
0   libsystem_kernel.dylib          0x00007fff8a54e0fa __psynch_cvwait + 10
1   libsystem_c.dylib               0x00007fff85daaf89 _pthread_cond_wait + 869
2   org.python.python               0x000000010006f54e PyThread_acquire_lock + 96
3   org.python.python               0x000000010001d8e3 PyEval_RestoreThread + 61
4   org.python.python               0x0000000100053351 PyGILState_Ensure + 93
5   _objc.so                        0x0000000103b89b6e 0x103b80000 + 39790
6   libobjc.A.dylib                 0x00007fff880c6230 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 464
7   libobjc.A.dylib                 0x00007fff880c85a2 (anonymous namespace)::AutoreleasePoolPage::tls_dealloc(void*) + 42
8   libsystem_c.dylib               0x00007fff85dad4fe _pthread_tsd_cleanup + 240
9   libsystem_c.dylib               0x00007fff85da69a2 _pthread_exit + 146
10  libsystem_c.dylib               0x00007fff85da674d _pthread_start + 338
11  libsystem_c.dylib               0x00007fff85d93181 thread_start + 13

Thread 3:
0   libsystem_kernel.dylib          0x00007fff8a54e0fa __psynch_cvwait + 10
1   libsystem_c.dylib               0x00007fff85daaf89 _pthread_cond_wait + 869
2   org.python.python               0x000000010006f54e PyThread_acquire_lock + 96
3   org.python.python               0x000000010001d8e3 PyEval_RestoreThread + 61
4   _sqlite3.so                     0x000000010a4c61f1 pysqlite_connection_dealloc + 76
5   org.python.python               0x00000001000729f3 0x100009000 + 432627
6   org.python.python               0x00000001000729f3 0x100009000 + 432627
7   org.python.python               0x0000000100052b55 PyThreadState_Clear + 136
8   org.python.python               0x000000010007610a 0x100009000 + 446730
9   libsystem_c.dylib               0x00007fff85da6742 _pthread_start + 327
10  libsystem_c.dylib               0x00007fff85d93181 thread_start + 13

Thread 5: (Python songdb flush)
0   org.python.python               0x000000010007575e 0x100009000 + 444254
1   org.python.python               0x0000000100071cbe 0x100009000 + 429246
2   org.python.python               0x0000000100071bcd PyDict_SetItem + 145
3   org.python.python               0x0000000100079a55 PyObject_GenericSetAttr + 327
4   org.python.python               0x0000000100079538 PyObject_SetAttr + 157
5   org.python.python               0x000000010001f303 PyEval_EvalFrameEx + 4158
6   org.python.python               0x00000001000245eb 0x100009000 + 112107
7   org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
8   org.python.python               0x00000001000245eb 0x100009000 + 112107
9   org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
10  org.python.python               0x00000001000245eb 0x100009000 + 112107
11  org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
12  org.python.python               0x000000010001e281 PyEval_EvalCodeEx + 1956
13  org.python.python               0x000000010005df78 0x100009000 + 348024
14  org.python.python               0x000000010001caba PyObject_Call + 97
15  org.python.python               0x000000010001ec59 PyEval_EvalFrameEx + 2452
16  org.python.python               0x00000001000245eb 0x100009000 + 112107
17  org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
18  org.python.python               0x00000001000245eb 0x100009000 + 112107
19  org.python.python               0x00000001000200d2 PyEval_EvalFrameEx + 7693
20  org.python.python               0x000000010001e281 PyEval_EvalCodeEx + 1956
21  org.python.python               0x000000010005df78 0x100009000 + 348024
22  org.python.python               0x000000010001caba PyObject_Call + 97
23  org.python.python               0x000000010003719a 0x100009000 + 188826
24  org.python.python               0x000000010001caba PyObject_Call + 97
25  org.python.python               0x0000000100023dfc PyEval_CallObjectWithKeywords + 177
26  org.python.python               0x0000000100076010 0x100009000 + 446480
27  libsystem_c.dylib               0x00007fff85da6742 _pthread_start + 327
28  libsystem_c.dylib               0x00007fff85d93181 thread_start + 13