Race crash in playlist due to directory module
This crash was experienced by opening a folder of songs while playing another song.
Reported on the bugreporter list by fahrenheit451 attt mac com
Process: VLC [2330]
Path: /Applications/VLC.app/Contents/MacOS/VLC
Identifier: org.videolan.vlc
Version: 0.9.2 (0.9.2-2-g4ccb4dd)
Code Type: X86 (Native)
Parent Process: launchd [129]
Date/Time: 2008-09-14 22:58:46.082 -0700
OS Version: Mac OS X 10.5.4 (9E17)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x000000000000000c
Crashed Thread: 19
Thread 0:
0 libSystem.B.dylib 0x922024a6 mach_msg_trap 10
1 libSystem.B.dylib 0x92209c9c mach_msg 72
2 com.apple.CoreFoundation 0x9571b0ce CFRunLoopRunSpecific 1790
3 com.apple.CoreFoundation 0x9571bcf8 CFRunLoopRunInMode 88
4 com.apple.HIToolbox 0x9330fda4 RunCurrentEventLoopInMode 283
5 com.apple.HIToolbox 0x9330fbbd ReceiveNextEventCommon 374
6 com.apple.HIToolbox 0x9330fa31 BlockUntilNextEventMatchingListInMode 106
7 com.apple.AppKit 0x96862505 _DPSNextEvent 657
8 com.apple.AppKit 0x96861db8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] 128
9 com.apple.AppKit 0x9685adf3 -[NSApplication run] 795
Thread 1:
0 libSystem.B.dylib 0x922024ee semaphore_wait_signal_trap 10
1 libSystem.B.dylib 0x92234866 _pthread_cond_wait 1267
2 libSystem.B.dylib 0x9227a371 pthread_cond_wait 48
Thread 2:
0 libSystem.B.dylib 0x922025c6 mach_wait_until 10
1 libSystem.B.dylib 0x9227a1e5 nanosleep 314
Thread 3:
0 libSystem.B.dylib 0x922024ee semaphore_wait_signal_trap 10
1 libSystem.B.dylib 0x92234866 _pthread_cond_wait 1267
2 libSystem.B.dylib 0x9227a371 pthread_cond_wait 48
Thread 4:
0 libSystem.B.dylib 0x922025c6 mach_wait_until 10
1 libSystem.B.dylib 0x9227a1e5 nanosleep 314
Thread 5:
0 libSystem.B.dylib 0x922024ee semaphore_wait_signal_trap 10
1 libSystem.B.dylib 0x92234866 _pthread_cond_wait 1267
2 libSystem.B.dylib 0x9227a371 pthread_cond_wait 48
Thread 6:
0 libSystem.B.dylib 0x9227824a __sigwait 10
Thread 7:
0 libSystem.B.dylib 0x922024ee semaphore_wait_signal_trap 10
1 libSystem.B.dylib 0x92234866 _pthread_cond_wait 1267
2 libSystem.B.dylib 0x9227a371 pthread_cond_wait 48
Thread 8:
0 libSystem.B.dylib 0x922024ee semaphore_wait_signal_trap 10
1 libSystem.B.dylib 0x92234866 _pthread_cond_wait 1267
2 libSystem.B.dylib 0x9227a371 pthread_cond_wait 48
Thread 9:
0 libSystem.B.dylib 0x9220968e __semwait_signal 10
1 libSystem.B.dylib 0x9223436d pthread_cond_wait$UNIX2003 73
2 com.apple.QuartzCore 0x94682e51 fe_fragment_thread 54
3 libSystem.B.dylib 0x922336f5 _pthread_start 321
4 libSystem.B.dylib 0x922335b2 thread_start 34
Thread 10:
0 libSystem.B.dylib 0x92202506 semaphore_timedwait_signal_trap 10
1 libSystem.B.dylib 0x9223484f _pthread_cond_wait 1244
2 libSystem.B.dylib 0x9227f89b pthread_cond_timedwait 47
Thread 11:
0 libSystem.B.dylib 0x922024a6 mach_msg_trap 10
1 libSystem.B.dylib 0x92209c9c mach_msg 72
2 com.apple.CoreFoundation 0x9571b0ce CFRunLoopRunSpecific 1790
3 com.apple.CoreFoundation 0x9571bd54 CFRunLoopRun 84
4 com.apple.DesktopServices 0x923d6ea3 TSystemNotificationTask::SystemNotificationTaskProc(void*) 123
5 ...ple.CoreServices.CarbonCore 0x9496f463 PrivateMPEntryPoint 56
6 libSystem.B.dylib 0x922336f5 _pthread_start 321
7 libSystem.B.dylib 0x922335b2 thread_start 34
Thread 12:
0 libSystem.B.dylib 0x922024a6 mach_msg_trap 10
1 libSystem.B.dylib 0x92209c9c mach_msg 72
2 com.apple.CoreFoundation 0x9571b0ce CFRunLoopRunSpecific 1790
3 com.apple.CoreFoundation 0x9571bd54 CFRunLoopRun 84
4 com.apple.DesktopServices 0x923d701c TFSEventsNotificationTask::FSEventsNotificationTaskProc(void*) 216
5 ...ple.CoreServices.CarbonCore 0x9496f463 PrivateMPEntryPoint 56
6 libSystem.B.dylib 0x922336f5 _pthread_start 321
7 libSystem.B.dylib 0x922335b2 thread_start 34
Thread 13:
0 libSystem.B.dylib 0x9220968e __semwait_signal 10
1 libSystem.B.dylib 0x9223436d pthread_cond_wait$UNIX2003 73
2 ...ple.CoreServices.CarbonCore 0x9497124f TSWaitOnCondition 126
3 ...ple.CoreServices.CarbonCore 0x9495018e TSWaitOnConditionTimedRelative 202
4 ...ple.CoreServices.CarbonCore 0x94970ecc MPWaitOnQueue 208
5 com.apple.DesktopServices 0x923e1fda TNodeSyncTask::SyncTaskProc(void*) 84
6 ...ple.CoreServices.CarbonCore 0x9496f463 PrivateMPEntryPoint 56
7 libSystem.B.dylib 0x922336f5 _pthread_start 321
8 libSystem.B.dylib 0x922335b2 thread_start 34
Thread 14:
0 libSystem.B.dylib 0x92232f66 kevent 10
1 libSystem.B.dylib 0x922336f5 _pthread_start 321
2 libSystem.B.dylib 0x922335b2 thread_start 34
Thread 15:
0 libSystem.B.dylib 0x922525e2 select$DARWIN_EXTSN 10
1 libSystem.B.dylib 0x922336f5 _pthread_start 321
2 libSystem.B.dylib 0x922335b2 thread_start 34
Thread 16:
0 libSystem.B.dylib 0x92202506 semaphore_timedwait_signal_trap 10
1 libSystem.B.dylib 0x9223484f _pthread_cond_wait 1244
2 libSystem.B.dylib 0x922360d3 pthread_cond_timedwait_relative_np 47
3 com.apple.Foundation 0x965b9e8c -[NSCondition waitUntilDate:] 236
4 com.apple.Foundation 0x965b9ca0 -[NSConditionLock lockWhenCondition:beforeDate:] 144
5 com.apple.Foundation 0x965b9c05 -[NSConditionLock lockWhenCondition:] 69
6 com.apple.AppKit 0x968c8470 -[NSUIHeartBeat _heartBeatThread:] 753
7 com.apple.Foundation 0x96573f1d -[NSThread main] 45
8 com.apple.Foundation 0x96573ac4 __NSThread__main__ 308
9 libSystem.B.dylib 0x922336f5 _pthread_start 321
10 libSystem.B.dylib 0x922335b2 thread_start 34
Thread 17:
0 libSystem.B.dylib 0x922024a6 mach_msg_trap 10
1 libSystem.B.dylib 0x92209c9c mach_msg 72
2 com.apple.CoreFoundation 0x9571b0ce CFRunLoopRunSpecific 1790
3 com.apple.CoreFoundation 0x9571bcf8 CFRunLoopRunInMode 88
4 com.apple.audio.CoreAudio 0x95bd3464 HALRunLoop::OwnThread(void*) 160
5 com.apple.audio.CoreAudio 0x95bd3300 CAPThread::Entry(CAPThread*) 96
6 libSystem.B.dylib 0x922336f5 _pthread_start 321
7 libSystem.B.dylib 0x922335b2 thread_start 34
Thread 18:
0 libSystem.B.dylib 0x92202506 semaphore_timedwait_signal_trap 10
1 libSystem.B.dylib 0x9223484f _pthread_cond_wait 1244
2 libSystem.B.dylib 0x922360d3 pthread_cond_timedwait_relative_np 47
3 ...ple.CoreServices.CarbonCore 0x949501ba TSWaitOnConditionTimedRelative 246
4 ...ple.CoreServices.CarbonCore 0x94970ecc MPWaitOnQueue 208
5 com.apple.DesktopServices 0x923e3f24 TFolderSizeTask::FolderSizeTaskProc(void*) 104
6 ...ple.CoreServices.CarbonCore 0x9496f463 PrivateMPEntryPoint 56
7 libSystem.B.dylib 0x922336f5 _pthread_start 321
8 libSystem.B.dylib 0x922335b2 thread_start 34
Thread 19 Crashed:
0 libvlccore.0.dylib 0x000f7713 playlist_BothAddInput 294
Thread 19 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x0040aaaa ecx: 0x00259f80 edx: 0x00000000
edi: 0x00932300 esi: 0x166a1690 ebp: 0xb084c9e8 esp: 0xb084c800
ss: 0x0000001f efl: 0x00010283 eip: 0x000f7713 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037
cr2: 0x0000000c