VLC 1.3.0 crash on exit
Posted: 04 Jan 2012 08:58
First, some praise. I am very glad to see that most functionality in the Mac OS X GUI has been completed (no more interface freeze on full stop, and video works). Progress is going well. Keep up the good work.
Now, the crash...
In VLC 1.3.0-git-446-gaa7354d, if a file is playing (so far, any file) when I quit, VLC crashes. This has been happening since I've been trying the latest git. Posting in 2 parts because crash log is too long.
EDIT:: Upon further investigation... If the playlist is nonempty, then there is the crash on exit. Doesn't matter if file is playing or not.
Now, the crash...
In VLC 1.3.0-git-446-gaa7354d, if a file is playing (so far, any file) when I quit, VLC crashes. This has been happening since I've been trying the latest git. Posting in 2 parts because crash log is too long.
EDIT:: Upon further investigation... If the playlist is nonempty, then there is the crash on exit. Doesn't matter if file is playing or not.
Code: Select all
Process: VLC [68990]
Path: /export/host/projects/vlc/build/VLC.app/Contents/MacOS/VLC
Identifier: org.videolan.vlc
Version: 1.3.0-git (1.3.0-git)
Code Type: X86-64 (Native)
Parent Process: launchd [3909]
Date/Time: 2012-01-04 00:54:17.484 -0700
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 778685 sec
Crashes Since Last Report: 8
Per-App Interval Since Last Report: 1290 sec
Per-App Crashes Since Last Report: 4
Anonymous UUID: C00AFCA4-FF6C-4F67-B164-1B4BC79F3379
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
Crashed Thread: 5
Thread 0: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff84b93a6a __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff84bba896 pthread_join + 844
2 libvlccore.5.dylib 0x00000001000b2399 vlc_join + 9 (thread.c:786)
3 libvlccore.5.dylib 0x000000010003c628 playlist_Deactivate + 88 (thread.c:83)
4 libvlccore.5.dylib 0x000000010002cf64 libvlc_InternalCleanup + 52 (libvlc.c:741)
5 libvlc.5.dylib 0x0000000100007e90 libvlc_release + 112 (core.c:108)
6 org.videolan.vlc 0x0000000100002939 main + 873 (vlc.c:262)
7 org.videolan.vlc 0x0000000100002564 start + 52
Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x00007fff84b71c0a kevent + 10
1 libSystem.B.dylib 0x00007fff84b73add _dispatch_mgr_invoke + 154
2 libSystem.B.dylib 0x00007fff84b737b4 _dispatch_queue_invoke + 185
3 libSystem.B.dylib 0x00007fff84b732de _dispatch_worker_thread2 + 252
4 libSystem.B.dylib 0x00007fff84b72c08 _pthread_wqthread + 353
5 libSystem.B.dylib 0x00007fff84b72aa5 start_wqthread + 13
Thread 2:
0 libSystem.B.dylib 0x00007fff84b72a2a __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff84b72e3c _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff84b72aa5 start_wqthread + 13
Thread 3:
0 libSystem.B.dylib 0x00007fff84b93a6a __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff84b97881 _pthread_cond_wait + 1286
2 libvlccore.5.dylib 0x00000001000b2629 vlc_cond_wait + 9 (thread.c:439)
3 libvlccore.5.dylib 0x000000010003ccc2 Thread + 258 (thread.c:452)
4 libSystem.B.dylib 0x00007fff84b91fd6 _pthread_start + 331
5 libSystem.B.dylib 0x00007fff84b91e89 thread_start + 13
Thread 4:
0 libSystem.B.dylib 0x00007fff84b72a2a __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff84b72e3c _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff84b72aa5 start_wqthread + 13
Thread 5 Crashed:
0 libvlccore.5.dylib 0x000000010003e5b0 pl_Get + 16 (control.c:48)
1 libmacosx_plugin.dylib 0x0000000101db64ce -[VLCMain playbackStatusUpdated] + 30 (vlc_playlist.h:374)
2 libmacosx_plugin.dylib 0x0000000101db402c InputEvent + 220 (intf.m:252)
3 libvlccore.5.dylib 0x00000001000aac9a TriggerCallback + 202 (variables.c:1367)
4 libvlccore.5.dylib 0x00000001000aaf84 var_SetChecked + 196 (variables.c:766)
5 libvlccore.5.dylib 0x000000010005ee05 input_SendEventState + 53 (event.c:186)
6 libvlccore.5.dylib 0x0000000100064976 MainLoop + 3878 (input.c:847)
7 libvlccore.5.dylib 0x00000001000667ad Run + 141 (input.c:548)
8 libSystem.B.dylib 0x00007fff84b91fd6 _pthread_start + 331
9 libSystem.B.dylib 0x00007fff84b91e89 thread_start + 13
Thread 6:
0 libSystem.B.dylib 0x00007fff84b58d7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff84b593ed mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff8398f902 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff8398ed8f CFRunLoopRunSpecific + 575
4 com.apple.CoreFoundation 0x00007fff8398eb16 CFRunLoopRun + 70
5 com.apple.Foundation 0x00007fff83e69114 __NSThread__main__ + 1429
6 libSystem.B.dylib 0x00007fff84b91fd6 _pthread_start + 331
7 libSystem.B.dylib 0x00007fff84b91e89 thread_start + 13
Thread 7:
0 libSystem.B.dylib 0x00007fff84b93a6a __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff84b97881 _pthread_cond_wait + 1286
2 com.apple.CoreVideo 0x00007fff83055342 CVDisplayLink::runIOThread() + 804
3 com.apple.CoreVideo 0x00007fff83054fe3 startIOThread(void*) + 139
4 libSystem.B.dylib 0x00007fff84b91fd6 _pthread_start + 331
5 libSystem.B.dylib 0x00007fff84b91e89 thread_start + 13
Thread 8:
0 libSystem.B.dylib 0x00007fff84b93a6a __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff84b97881 _pthread_cond_wait + 1286
2 libavcodec_plugin.dylib 0x000000011c45b67d frame_worker_thread + 173
3 libSystem.B.dylib 0x00007fff84b91fd6 _pthread_start + 331
4 libSystem.B.dylib 0x00007fff84b91e89 thread_start + 13
Thread 9:
0 libSystem.B.dylib 0x00007fff84b93a6a __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff84b97881 _pthread_cond_wait + 1286
2 libavcodec_plugin.dylib 0x000000011c45b45b ff_thread_get_buffer + 315
3 libavcodec_plugin.dylib 0x000000011c4122f4 ff_alloc_picture + 276
4 libavcodec_plugin.dylib 0x000000011c412f49 MPV_frame_start + 1289
5 libavcodec_plugin.dylib 0x000000011c286693 ff_h264_frame_start + 51
6 libavcodec_plugin.dylib 0x000000011c2888cb decode_slice_header + 5259
7 libavcodec_plugin.dylib 0x000000011c312c07 decode_nal_units + 1911
8 libavcodec_plugin.dylib 0x000000011c31392b decode_frame + 347
9 libavcodec_plugin.dylib 0x000000011c45b6ec frame_worker_thread + 284
10 libSystem.B.dylib 0x00007fff84b91fd6 _pthread_start + 331
11 libSystem.B.dylib 0x00007fff84b91e89 thread_start + 13
Thread 10:
0 libSystem.B.dylib 0x00007fff84b93a6a __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff84b938f9 nanosleep + 148
2 libvlccore.5.dylib 0x00000001000b1c55 msleep + 69 (thread.c:1003)
3 libvlccore.5.dylib 0x0000000100050986 vout_new_buffer + 1046 (decoder.c:2439)
4 libvlccore.5.dylib 0x000000010004f929 decoder_NewPicture + 25 (decoder.c:191)
5 libavcodec_plugin.dylib 0x000000011c06ed09 ffmpeg_GetFrameBuf + 425 (video.c:199)
6 libavcodec_plugin.dylib 0x000000011c45b2b2 ff_thread_decode_frame + 1890
7 libavcodec_plugin.dylib 0x000000011c4e1a60 avcodec_decode_video2 + 144
8 libavcodec_plugin.dylib 0x000000011c06e02c DecodeVideo + 492 (video.c:590)
9 libvlccore.5.dylib 0x000000010005314c DecoderDecodeVideo + 156 (decoder.c:1512)
10 libvlccore.5.dylib 0x0000000100052cc1 DecoderProcess + 2817 (decoder.c:1881)
11 libvlccore.5.dylib 0x00000001000536db DecoderThread + 203 (decoder.c:938)
12 libSystem.B.dylib 0x00007fff84b91fd6 _pthread_start + 331
13 libSystem.B.dylib 0x00007fff84b91e89 thread_start + 13
Thread 11:
0 libSystem.B.dylib 0x00007fff84b93a6a __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff84b97881 _pthread_cond_wait + 1286
2 libvlccore.5.dylib 0x00000001000b2629 vlc_cond_wait + 9 (thread.c:439)
3 libvlccore.5.dylib 0x0000000100094584 block_FifoGet + 116 (block.c:648)
4 libvlccore.5.dylib 0x0000000100053684 DecoderThread + 116 (decoder.c:917)
5 libSystem.B.dylib 0x00007fff84b91fd6 _pthread_start + 331
6 libSystem.B.dylib 0x00007fff84b91e89 thread_start + 13
Thread 12:
0 libSystem.B.dylib 0x00007fff84b93a6a __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff84b97881 _pthread_cond_wait + 1286
2 libvlccore.5.dylib 0x00000001000b25d8 vlc_cond_timedwait + 56 (thread.c:475)
3 libvlccore.5.dylib 0x00000001000706c4 vout_control_Pop + 356 (control.c:203)
4 libvlccore.5.dylib 0x00000001000799a0 Thread + 176 (video_output.c:1495)
5 libSystem.B.dylib 0x00007fff84b91fd6 _pthread_start + 331
6 libSystem.B.dylib 0x00007fff84b91e89 thread_start + 13
Thread 13:
0 libSystem.B.dylib 0x00007fff84b72a2a __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff84b72e3c _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff84b72aa5 start_wqthread + 13
Thread 14:
0 libSystem.B.dylib 0x00007fff84b72a2a __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff84b72e3c _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff84b72aa5 start_wqthread + 13
Thread 15:
0 ....audio.toolbox.AudioToolbox 0x00007fff8226ed48 Resampler2::ConvertAltivec_SmallIntegerRatio(float*, float*, unsigned int, int) + 676
1 ....audio.toolbox.AudioToolbox 0x00007fff822723f5 Resampler2::PushConvert(float*, float*, float*, float*, unsigned int&, unsigned int&, unsigned int, unsigned int) + 581
2 ....audio.toolbox.AudioToolbox 0x00007fff8226d30d Resampler2Wrapper::RenderOutput(CABufferList*, unsigned int, unsigned int&) + 637
3 ....audio.toolbox.AudioToolbox 0x00007fff8222a027 BufferedAudioConverter::FillBuffer(unsigned int&, AudioBufferList&, AudioStreamPacketDescription*) + 327
4 ....audio.toolbox.AudioToolbox 0x00007fff8222a198 AudioConverterChain::RenderOutput(CABufferList*, unsigned int, unsigned int&, AudioStreamPacketDescription*) + 156
5 ....audio.toolbox.AudioToolbox 0x00007fff8222a027 BufferedAudioConverter::FillBuffer(unsigned int&, AudioBufferList&, AudioStreamPacketDescription*) + 327
6 ....audio.toolbox.AudioToolbox 0x00007fff82229da3 AudioConverterFillComplexBuffer + 253
7 ...pple.audio.units.Components 0x000000011f1652f7 0x11f15d000 + 33527
8 ...pple.audio.units.Components 0x000000011f16495a 0x11f15d000 + 31066
9 ...pple.audio.units.Components 0x000000011f163323 0x11f15d000 + 25379
10 ...pple.audio.units.Components 0x000000011f16245c 0x11f15d000 + 21596
11 ...pple.audio.units.Components 0x000000011f167fd0 AUGenericOutputEntry + 7852
12 com.apple.audio.CoreAudio 0x00007fff83df933d HP_IOProc::Call(AudioTimeStamp const&, AudioTimeStamp const&, AudioBufferList const*, AudioTimeStamp const&, AudioBufferList*) + 313
13 com.apple.audio.CoreAudio 0x00007fff83df910f IOA_Device::CallIOProcs(AudioTimeStamp const&, AudioTimeStamp const&, AudioTimeStamp const&) + 303
14 com.apple.audio.CoreAudio 0x00007fff83df8f45 HP_IOThread::PerformIO(AudioTimeStamp const&, double) + 771
15 com.apple.audio.CoreAudio 0x00007fff83df6f54 HP_IOThread::WorkLoop() + 1832
16 com.apple.audio.CoreAudio 0x00007fff83df6827 HP_IOThread::ThreadEntry(HP_IOThread*) + 9
17 com.apple.audio.CoreAudio 0x00007fff83df6755 CAPThread::Entry(CAPThread*) + 125
18 libSystem.B.dylib 0x00007fff84b91fd6 _pthread_start + 331
19 libSystem.B.dylib 0x00007fff84b91e89 thread_start + 13
Thread 5 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000008 rbx: 0x00000001002b4700 rcx: 0x0000000000000000 rdx: 0x0000000101db3fb0
rdi: 0x0000000000000000 rsi: 0x00000001002b3ed0 rbp: 0x0000000118016c40 rsp: 0x0000000118016c30
r8: 0x00000001002b4700 r9: 0x0000000118016da0 r10: 0x00007fff83e5af12 r11: 0x0000000101db64b0
r12: 0x00000001049a43e0 r13: 0x0000000104e96b70 r14: 0x00000001049a43e0 r15: 0x00000001049ace10
rip: 0x000000010003e5b0 rfl: 0x0000000000010206 cr2: 0x0000000000000018