Summary: | media-video/vlc-0.9.8a crashes when attempting to load XSPF playlist. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aniruddha Shankar <k> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | leio |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
XSPF playlist which crashes VLC
gdb backtrace of crash fix VLC crash log - full bt VLC crash log - full bt |
Description
Aniruddha Shankar
2009-03-10 06:51:22 UTC
Created attachment 184529 [details]
XSPF playlist which crashes VLC
Created attachment 184530 [details]
gdb backtrace of crash
rebuilt vlc with USE=debug
rebuilt libxml2 with FEATURES="nostrip -splitdebug" USE=debug
The XSPF file plays fine on Windows with VLC 0.8.6f and with VLC 0.9.8a Reassigning to video herd. Created attachment 184680 [details, diff]
fix
try this patch
Comment on attachment 184680 [details, diff]
fix
forget about that patch; it is only for 0.9.9_rc2 and is unrelated...
(In reply to comment #2) > Created an attachment (id=184530) [edit] > gdb backtrace of crash > > rebuilt vlc with USE=debug > rebuilt libxml2 with FEATURES="nostrip -splitdebug" USE=debug FEATURES="splitdebug" without nostrip is quite fine for debugging - no need to have the debug symbols in the main binary as you are doing now as gdb will find it anyway - that is, your FEATURES in make.conf as shown in the emerge --info is quite sufficient. USE=debug is usually used for compiling in extra debugging code, like debugging assert checks, etc. -ggdb or the like in CFLAGS is your responsibility and with USE=debug those getting added is just a side-effect, but you already have "-g -ggdb" (they are pretty much equal on linux, so you could just have -ggdb). Can you instead do vlc and libxml2 with -O1 temporarily instead of -O2? (feel free to keep the temporary USE=debug on them). And a full backtrace could be useful - "bt full" instead of "bt" in gdb. That will also output local variable values for each frame then. Hi Mart & Alexis I compiled with FEATURES="nostrip -splitdebug" becasue the first time i asked for a backtrace, it contained likes like #1 0x00007f9703c8dbe7 in ?? () from /usr/lib/libxml2.so.2 I took that to mean that it was somehow attempting to find the debug information from libxml2 but could not isolate it as libxml2's debug info had been "splitdebugged". Am I wrong in assuming this ? Should I have not bothered to do "nostrip -splitdebug" ? Thanks for your pointer, Mart, that -g -ggdb is redundant on Linux. I just recompiled vlc and libxml2 with -O0 and FEATURES="nostrip -splitdebug" and reproduced the crash. The output of bt full is appended. I am also appending the output of thread apply all bt full, in case that is any help. Created attachment 184944 [details]
VLC crash log - full bt
VLC crash log with bt full.
Created attachment 184945 [details]
VLC crash log - full bt
This one was taken with the gdb command
thread apply all bt full
Could you please try with vlc 0.9.9a-r1 and, if it still crashes, with 1.0.0_rc4 ? I recall seeing some crash fixes with latest libxml2 but can't remember when these have been pushed :/ (In reply to comment #11) > Could you please try with vlc 0.9.9a-r1 and, if it still crashes, with > 1.0.0_rc4 ? > I recall seeing some crash fixes with latest libxml2 but can't remember when > these have been pushed :/ please try with 1.0.0, its fine here. |