VLC 1.3.0 crash on read XSPF
Posted: 04 Jan 2012 09:31
In VLC 1.3.0-git-446-gaa7354d, XSPF files that worked with VLC 1.1.12 instead cause VLC to crash. XSPF files created with VLC 1.3 can be loaded properly.
Here is a file that causes the crash:
Here is the crash log (split into multiple posts as necessary):
Here is a file that causes the crash:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1"
xmlns="http://xspf.org/ns/0/"
xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/"
xml:base='file:///Users/lucien/Music/Music/Tangerine Dream/Stratosfear/'>
<title>Stratosfear</title>
<trackList>
<track>
<location>01 -- Stratosfear.flac</location>
<title>Stratosfear</title>
<creator>Tangerine Dream</creator>
<album>Stratosfear</album>
<trackNum>1</trackNum>
<duration>638866</duration>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>0</vlc:id>
</extension>
</track>
<track>
<location>02 -- The Big Sleep in Search of Hades.flac</location>
<title>The Big Sleep in Search of Hades</title>
<creator>Tangerine Dream</creator>
<album>Stratosfear</album>
<trackNum>2</trackNum>
<duration>272600</duration>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>1</vlc:id>
</extension>
</track>
<track>
<location>03 -- 3 AM at the Border of the Marsh from Okefenokee.flac</location>
<title>3 AM at the Border of the Marsh from Okefenokee</title>
<creator>Tangerine Dream</creator>
<album>Stratosfear</album>
<trackNum>3</trackNum>
<duration>529866</duration>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>2</vlc:id>
</extension>
</track>
<track>
<location>04 -- Invisible Limits.flac</location>
<title>Invisible Limits</title>
<creator>Tangerine Dream</creator>
<album>Stratosfear</album>
<trackNum>4</trackNum>
<duration>694733</duration>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>3</vlc:id>
</extension>
</track>
</trackList>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:item tid="0" />
<vlc:item tid="1" />
<vlc:item tid="2" />
<vlc:item tid="3" />
</extension>
</playlist>
Code: Select all
Process: VLC [85004]
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 01:22:18.592 -0700
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 780362 sec
Crashes Since Last Report: 14
Per-App Interval Since Last Report: 2305 sec
Per-App Crashes Since Last Report: 10
Anonymous UUID: C00AFCA4-FF6C-4F67-B164-1B4BC79F3379
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Crashed Thread: 6
Thread 0: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff84b58d7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff84b593ed mach_msg + 59
2 libSystem.B.dylib 0x00007fff84b646ee vproc_mig_look_up2 + 182
3 libSystem.B.dylib 0x00007fff84b64545 bootstrap_look_up2 + 268
4 com.apple.CoreGraphics 0x00007fff83133a5f CGSLookupSessionPort + 64
5 com.apple.CoreGraphics 0x00007fff831339ee CGSCopyCurrentSessionDictionary + 21
6 com.apple.AppKit 0x00007fff85c4ea42 -[NSWorkspace _workspaceSessionIsActive] + 21
7 com.apple.AppKit 0x00007fff85a84514 -[NSWorkspace _postSessionNotificationIfNeeded] + 38
8 com.apple.AppKit 0x00007fff85a84414 -[NSApplication _postDidFinishNotification] + 46
9 com.apple.AppKit 0x00007fff85a8437f -[NSApplication _sendFinishLaunchingNotification] + 66
10 com.apple.AppKit 0x00007fff85c82ccc -[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:] + 883
11 com.apple.AppKit 0x00007fff85b4f065 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 217
12 com.apple.Foundation 0x00007fff83e970d6 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 360
13 com.apple.Foundation 0x00007fff83e96f06 _NSAppleEventManagerGenericHandler + 114
14 com.apple.AE 0x00007fff821b932b aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 162
15 com.apple.AE 0x00007fff821b9224 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 32
16 com.apple.AE 0x00007fff821b912b aeProcessAppleEvent + 210
17 com.apple.HIToolbox 0x00007fff81447619 AEProcessAppleEvent + 48
18 com.apple.AppKit 0x00007fff85a54095 _DPSNextEvent + 1191
19 com.apple.AppKit 0x00007fff85a53801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
20 com.apple.AppKit 0x00007fff85a1968f -[NSApplication run] + 395
21 libmacosx_plugin.dylib 0x0000000101db52cc Run + 252 (intf.m:214)
22 libvlccore.5.dylib 0x000000010003bbdf intf_Create + 911 (interface.c:147)
23 libvlccore.5.dylib 0x000000010002ce34 libvlc_InternalAddIntf + 52 (libvlc.c:863)
24 libvlc.5.dylib 0x0000000100007d54 libvlc_add_intf + 20 (core.c:116)
25 org.videolan.vlc 0x0000000100002929 main + 857 (vlc.c:226)
26 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 0x000000010009f29b libvlc_InternalWait + 107 (exit.c:105)
4 libvlccore.5.dylib 0x000000010003bc4b MonitorLibVLCDeath + 43 (interface.c:245)
5 libSystem.B.dylib 0x00007fff84b91fd6 _pthread_start + 331
6 libSystem.B.dylib 0x00007fff84b91e89 thread_start + 13
Thread 4:
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 5:
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 6 Crashed:
0 libSystem.B.dylib 0x00007fff84b5bc00 strlen + 16
1 libSystem.B.dylib 0x00007fff84b627f8 strdup + 28
2 libplaylist_plugin.dylib 0x00000001004c6823 Demux + 499 (xspf.c:227)
3 libvlccore.5.dylib 0x0000000100063da3 MainLoop + 851 (demux.h:44)
4 libvlccore.5.dylib 0x00000001000667ad Run + 141 (input.c:548)
5 libSystem.B.dylib 0x00007fff84b91fd6 _pthread_start + 331
6 libSystem.B.dylib 0x00007fff84b91e89 thread_start + 13