Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#27859 - [libva] segfaults
Attached to Project:
Arch Linux
Opened by Alexandre Bique (babali) - Saturday, 07 January 2012, 12:59 GMT
Last edited by Allan McRae (Allan) - Thursday, 26 January 2012, 01:14 GMT
Opened by Alexandre Bique (babali) - Saturday, 07 January 2012, 12:59 GMT
Last edited by Allan McRae (Allan) - Thursday, 26 January 2012, 01:14 GMT
|
Detailsabique@lotus:~/p/ski-2011> h264encode -o test.mp4
libva: VA-API version 0.32.0 Xlib: extension "XFree86-DRI" missing on display ":0.0". libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/dri/nvidia_drv_video.so Segmentation fault |
This task depends upon
Closed by Allan McRae (Allan)
Thursday, 26 January 2012, 01:14 GMT
Reason for closing: Fixed
Additional comments about closing: glibc-2.15-4 in [testing]
Thursday, 26 January 2012, 01:14 GMT
Reason for closing: Fixed
Additional comments about closing: glibc-2.15-4 in [testing]
https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces#One_package_settings_only
do that for libva and vdpau-video
(gdb) bt
#0 0x0000000000005316 in ?? ()
#1 0x00007ffff587d4f5 in floorf () from /lib/libm.so.6
#2 0x00007ffff7de807c in _dl_relocate_object ()
from /lib/ld-linux-x86-64.so.2
#3 0x00007ffff7dee546 in dl_open_worker () from /lib/ld-linux-x86-64.so.2
#4 0x00007ffff7dea2a6 in _dl_catch_error () from /lib/ld-linux-x86-64.so.2
#5 0x00007ffff7dede8a in _dl_open () from /lib/ld-linux-x86-64.so.2
#6 0x00007ffff689af26 in ?? () from /lib/libdl.so.2
#7 0x00007ffff7dea2a6 in _dl_catch_error () from /lib/ld-linux-x86-64.so.2
#8 0x00007ffff689b4cf in ?? () from /lib/libdl.so.2
#9 0x00007ffff689afc1 in dlopen () from /lib/libdl.so.2
#10 0x00007ffff79c00d0 in ?? () from /usr/lib/libva.so.1
#11 0x00007ffff79c0b9b in vaInitialize () from /usr/lib/libva.so.1
#12 0x00000000004015d5 in ?? ()
#13 0x00007ffff70e238d in __libc_start_main () from /lib/libc.so.6
#14 0x0000000000402a2d in ?? ()
#15 0x00007fffffffdaf8 in ?? ()
#16 0x00000000ffffffff in ?? ()
#17 0x0000000000000003 in ?? ()
#18 0x00007fffffffdf29 in ?? ()
---Type <return> to continue, or q <return> to quit---
#19 0x00007fffffffdf3d in ?? ()
#20 0x00007fffffffdf40 in ?? ()
#21 0x0000000000000000 in ?? ()
Reading symbols from /usr/bin/h264encode...done.
(gdb) r -o toto.mp4
Starting program: /usr/bin/h264encode -o toto.mp4
[Thread debugging using libthread_db enabled]
libva: VA-API version 0.32.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
Program received signal SIGSEGV, Segmentation fault.
0x0000000000005316 in ?? ()
(gdb) bt
#0 0x0000000000005316 in ?? ()
#1 0x00007ffff58724f5 in floorf () from /lib/libm.so.6
#2 0x00007ffff7de807c in _dl_relocate_object ()
from /lib/ld-linux-x86-64.so.2
#3 0x00007ffff7dee546 in dl_open_worker () from /lib/ld-linux-x86-64.so.2
#4 0x00007ffff7dea2a6 in _dl_catch_error () from /lib/ld-linux-x86-64.so.2
#5 0x00007ffff7dede8a in _dl_open () from /lib/ld-linux-x86-64.so.2
#6 0x00007ffff6895f26 in ?? () from /lib/libdl.so.2
#7 0x00007ffff7dea2a6 in _dl_catch_error () from /lib/ld-linux-x86-64.so.2
#8 0x00007ffff68964cf in ?? () from /lib/libdl.so.2
#9 0x00007ffff6895fc1 in dlopen () from /lib/libdl.so.2
#10 0x00007ffff79bb2ff in va_openDriver (dpy=0x681680,
driver_name=0x681e50 "nvidia") at va.c:194
#11 0x00007ffff79bc01a in vaInitialize (dpy=0x681680,
major_version=0x7fffffffda0c, minor_version=0x7fffffffda10) at va.c:397
#12 0x0000000000402e04 in main (argc=3, argv=0x7fffffffdb08)
at h264encode_common.c:361
(gdb)
# vainfo
Starting program: /usr/bin/vainfo
[Thread debugging using libthread_db enabled]
libva: VA-API version 0.32.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
Program received signal SIGSEGV, Segmentation fault.
0x0000000000005316 in ?? ()
(gdb) bt
#0 0x0000000000005316 in ?? ()
#1 0x00007ffff58784f5 in floorf () from /lib/libm.so.6
#2 0x00007ffff7de807c in _dl_relocate_object () from /lib/ld-linux-x86-64.so.2
#3 0x00007ffff7dee546 in dl_open_worker () from /lib/ld-linux-x86-64.so.2
#4 0x00007ffff7dea2a6 in _dl_catch_error () from /lib/ld-linux-x86-64.so.2
#5 0x00007ffff7dede8a in _dl_open () from /lib/ld-linux-x86-64.so.2
#6 0x00007ffff70d5f26 in ?? () from /lib/libdl.so.2
#7 0x00007ffff7dea2a6 in _dl_catch_error () from /lib/ld-linux-x86-64.so.2
#8 0x00007ffff70d64cf in ?? () from /lib/libdl.so.2
#9 0x00007ffff70d5fc1 in dlopen () from /lib/libdl.so.2
#10 0x00007ffff7bc52ff in va_openDriver (dpy=0x60f720, driver_name=0x60fef0 "nvidia") at va.c:194
#11 0x00007ffff7bc601a in vaInitialize (dpy=0x60f720, major_version=0x7fffffffdf88, minor_version=0x7fffffffdf8c) at va.c:397
#12 0x0000000000400b80 in main (argc=1, argv=0x7fffffffe088) at vainfo.c:116
Does it work with http://dev.archlinux.org/~allan/glibc-2.15-3.1-x86_64.pkg.tar.xz ?
$ 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")
[0x1969120] 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, "")
(process:12234): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
m_el[mi_level] == NULL
arrrrrrrrrrrrrg Up cannot escape itself
m_el[mi_level] == NULL
arrrrrrrrrrrrrg Up cannot escape itself
libva: VA-API version 0.32.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva: va_openDriver() returns 0
Segmentation fault
pacman -Q ffmpeg
Name : ffmpeg
Version : 20120111-1
Name : vlc
Version : 1.1.13-1
20111003-1 just says "no suitable decoder module for fourcc `h264`"..
This seems all pretty odd since ffplay from the ffmpeg-20120111-1 package just works fine o_O
EDIT: tried to downgrade vlc to 1.1.12-5/1.1.12-1 with no luck, all segfaults (1.1.12-1 output the same no decoder error as ffmpeg-20111003-1)
#0 0x00007ffff718fece in _int_malloc () from /lib/libc.so.6
#1 0x00007ffff7192345 in malloc () from /lib/libc.so.6
#2 0x00007fffc717bf11 in CopyInitCache (cache=0x7fffc00013d0, width=1280) at copy.c:296
#3 0x00007fffc717acfd in CreateSurfaces (p_va=0x7fffc00012b0, pp_hw_ctx=0x7fffccc513c8, pi_chroma=0x7fffccc557b8, i_width=1280, i_height=534) at vaapi.c:313
#4 0x00007fffc717aeef in Setup (p_external=0x7fffc00012b0, pp_hw_ctx=0x7fffccc513c8, pi_chroma=0x7fffccc557b8, i_width=1280, i_height=534) at vaapi.c:353
#5 0x00007fffc7175620 in vlc_va_Setup (va=0x7fffc00012b0, hw=0x7fffccc513c8, output=0x7fffccc557b8, width=1280, height=534) at va.h:42
#6 0x00007fffc7177c4c in ffmpeg_GetFormat (p_codec=0x7fffccc50fe0, pi_fmt=0x7fffc64d32b0) at video.c:1213
#7 0x00007fffc616fcb0 in ?? () from /usr/lib/libavcodec.so.53
#8 0x00007fffc617333f in ?? () from /usr/lib/libavcodec.so.53
#9 0x00007fffc6173f5d in ?? () from /usr/lib/libavcodec.so.53
#10 0x00007fffc635cc62 in avcodec_decode_video2 () from /usr/lib/libavcodec.so.53
#11 0x00007fffc71766cd in DecodeVideo (p_dec=0x7fffccc555a8, pp_block=0x7fffc42b7da0) at video.c:555
#12 0x00007ffff78ea8c3 in DecoderDecodeVideo (p_dec=0x7fffccc555a8, p_block=0x7fffccc1f710) at input/decoder.c:1466
#13 0x00007ffff78eb488 in DecoderProcessVideo (p_dec=0x7fffccc555a8, p_block=0x7fffccc1f710, b_flush=false) at input/decoder.c:1835
#14 0x00007ffff78eba6a in DecoderProcess (p_dec=0x7fffccc555a8, p_block=0x7fffccc1f710) at input/decoder.c:2007
#15 0x00007ffff78e927d in DecoderThread (p_this=0x7fffccc555a8) at input/decoder.c:892
#16 0x00007ffff794e39f in thread_entry (data=0x7fffccc07b20) at misc/threads.c:58
#17 0x00007ffff7688e7a in start_thread () from /lib/libpthread.so.0
#18 0x00007ffff71efdbd in clone () from /lib/libc.so.6
#19 0x0000000000000000 in ?? ()