FS#27899 - since ffmpeg 20120110-1 vlc crashes when loading avcodec decoder
Attached to Project:
Arch Linux
Opened by Nicolás Adamo José (nicoadamo) - Tuesday, 10 January 2012, 22:45 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 11 January 2012, 23:08 GMT
Opened by Nicolás Adamo José (nicoadamo) - Tuesday, 10 January 2012, 22:45 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 11 January 2012, 23:08 GMT
|
Details
Since upgrade to ffmpeg 20120110-1, vlc crashes when trying
to open some videos.
If started from terminal, output is: $ vlc VLC media player 1.1.13 The Luggage (revision exported) Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") [0x18e2120] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Blocked: call to setlocale(6, "") Blocked: call to setlocale(6, "") Blocked: call to putenv("LANGUAGE=") kfilemodule(1640) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf Loaded services file OK. ERROR: pid directory /var/run/samba does not exist " libdvdnav: Using dvdnav version 4.2.0 libdvdread: Encrypted DVD support unavailable. libdvdread: Couldn't find device name. libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.IFO. libdvdnav: vm: failed to read VIDEO_TS.IFO libva: VA-API version 0.32.0 libva: User requested driver 'xvba' libva: Trying to open /usr/lib/dri//xvba_drv_video.so [0x7fe4c8006b00] pulse audio output error: cannot connect to server: Connection refused libva: va_openDriver() returns 0 xvba_video: XVBA_GetSurface(): status 2 [0x7fe4dcc02fc0] avcodec decoder: Using VA API version 0.32 for hardware decoding. Segmentation fault Errors regarding sound are not to worry, they appear even when playing is alright, with sound. It seems that crashing occurs when loading the avcodec decoder |
This task depends upon
Closed by Ionut Biru (wonder)
Wednesday, 11 January 2012, 23:08 GMT
Reason for closing: Fixed
Additional comments about closing: 20120111-1
Wednesday, 11 January 2012, 23:08 GMT
Reason for closing: Fixed
Additional comments about closing: 20120111-1
is worth recompiling with debug and get a trace and report it upstream
https://wiki.archlinux.org/index.php/Step_By_Step_Debugging_Guide
Still have to recompile libva with debug options:
(gdb) bt full
#0 0x00007fffc215d53f in ?? () from /usr/lib/libavcodec.so.53
No symbol table info available.
#1 0x00007fffc1f6a6a3 in ?? () from /usr/lib/libavcodec.so.53
No symbol table info available.
#2 0x00007fffc1f6ad9d in ?? () from /usr/lib/libavcodec.so.53
No symbol table info available.
#3 0x00007fffc20cf55b in ?? () from /usr/lib/libavcodec.so.53
No symbol table info available.
#4 0x00007ffff76bee7a in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5 0x00007ffff71f2bad in clone () from /lib/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)
#0 0x00007fffc215d11f in ?? () from /usr/lib/libavcodec.so.53
#1 0x00007fffc1f69733 in ?? () from /usr/lib/libavcodec.so.53
#2 0x00007fffc1f69e2d in ?? () from /usr/lib/libavcodec.so.53
#3 0x00007fffc20cf13b in ?? () from /usr/lib/libavcodec.so.53
#4 0x00007ffff76bee7a in start_thread () from /lib/libpthread.so.0
#5 0x00007ffff71f2bad in clone () from /lib/libc.so.6
#6 0x0000000000000000 in ?? ()
It seems so similar like the previous output... Am I doing something wrong?? I started "gdb vlc". Should I start libva some other way??
in addition to that, remove --disable-debug from ./configure
/ nvidia proprietary driver.
http://git.videolan.org/?p=ffmpeg.git;a=blobdiff_plain;f=libavcodec%2Foptions.c;h=4ac92fd29e0a4e3bb6952b27240ac65b86671b27;hp=4ac9313f274f46eae85a144d6bb6fea30e67bea2;hb=e4e30256f87f177decf59b59e923d05ef64147df;hpb=c11b92b304334b1241ee79406dca6a03131fc921
is all about threading support that broke vaapi decoding