Bug#614546: libvdpau1 cause segfault of vlc 1.1.7 and vainfo

ag grimaldi.alberto at gmail.com
Tue Feb 22 07:19:57 UTC 2011


Package: libvdpau1
Version: 0.4.1-2
Severity: normal

I've installed vlc 1.1.7 from sid  for "Hardware acceleration support".

After enable "Hardware acceleration" I've got this in dmesg:
vlc[20807]: segfault at 8c ip b2229c65 sp b24f6c80 error 4 in
libvdpau.so.1.0.0[b2229000+2000]

Also with vainfo
vainfo[20695]: segfault at 8c ip b7814c65 sp bfbb0460 error 4 in
libvdpau.so.1.0.0[b7814000+2000]

instead mplayer -vo vdpau -vc ffh264vdpau video.mkv
works fine

/proc/version
Linux version 2.6.32-5-686-bigmem (Debian 2.6.32-30) (ben at decadent.org.uk) (gcc
version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Wed Jan 12 04:40:25 UTC 2011

/proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86 Kernel Module  195.36.31  Tue Jun  1 22:08:27 PDT
2010
GCC version:  gcc version 4.3.5 (Debian 4.3.5-4)

----- Information -----

vainfo output:
libva: libva version 0.31.1
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
==============

vlc output:
VLC media player 1.1.7 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Blocked: call to setlocale(6, "")
Warning: call to srand(1298662738)
Warning: call to rand()
 m_el[mi_level] == NULL
 arrrrrrrrrrrrrg Up cannot escape itself
Blocked: call to setlocale(6, "")

(process:24228): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
 m_el[mi_level] == NULL
 arrrrrrrrrrrrrg Up cannot escape itself
[0x91310b4] dts decoder: DTS channels:6 samplerate:48000 bitrate:1536000
Blocked: call to setlocale(1, "C")
Blocked: call to setlocale(1, "it_IT.utf8")
Blocked: call to setlocale(1, "C")
Warning: call to rand()
libva: libva version 0.31.1
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
==============

vlc backtrace:
set pagination 0
(gdb) run 1080p.mkv
Starting program: /usr/bin/vlc
1080p.mkv
[Thread debugging using libthread_db enabled]
VLC media player 1.1.7 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[New Thread 0xb79e2b70 (LWP 10397)]
[New Thread 0xb77ffb70 (LWP 10398)]
[New Thread 0xb777eb70 (LWP 10399)]
[New Thread 0xb5373b70 (LWP 10411)]
Blocked: call to setlocale(6, "")
Warning: call to srand(1297568408)
Warning: call to rand()
 m_el[mi_level] == NULL
 arrrrrrrrrrrrrg Up cannot escape itself
Blocked: call to setlocale(6, "")
(process:10383): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
[New Thread 0xb453fb70 (LWP 10421)]
[Thread 0xb453fb70 (LWP 10421) exited]
[New Thread 0xb453fb70 (LWP 10423)]
[Thread 0xb77ffb70 (LWP 10398) exited]
[Thread 0xb453fb70 (LWP 10423) exited]
[New Thread 0xb453fb70 (LWP 10425)]
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
 m_el[mi_level] == NULL
 arrrrrrrrrrrrrg Up cannot escape itself
[New Thread 0xb77ffb70 (LWP 10431)]
Warning: call to rand()
[New Thread 0xb6021b70 (LWP 10438)]
[New Thread 0xb5fa0b70 (LWP 10439)]
libva: libva version 0.31.1
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.
[Switching to Thread 0xb6021b70 (LWP 10438)]
0xb71095e7 in XDisplayString () from /usr/lib/libX11.so.6

(gdb) bt
#0  0xb71095e7 in XDisplayString () from /usr/lib/libX11.so.6
#1  0xb5f10cf7 in __vaDriverInit_0_31 () from /usr/lib/dri/nvidia_drv_video.so
#2  0xb63a932c in vaInitialize () from /usr/lib/libva.so.1
#3  0xb63d6af9 in Open (i_codec_id=28) at vaapi.c:144
#4  vlc_va_NewVaapi (i_codec_id=28) at vaapi.c:490
#5  0xb63d2880 in ffmpeg_GetFormat (p_codec=0xb783c270, pi_fmt=0xb327145c) at
video.c:1177
#6  0xb2f605ec in ?? () from /usr/lib/i686/cmov/libavcodec.so.52
#7  0x00000780 in ?? ()
#8  0x0000fa00 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) quit
A debugging session is active.

        Inferior 1 [process 10383] will be killed.

Quit anyway? (y or n) y
==============

apt-get info:
Start-Date: 2011-02-14  13:01:29
Commandline: apt-get -t sid install vlc
Install: libva-x11-1:i386 (1.0.8-3, automatic), libavutil50:i386 (0.6.1-5,
automatic), libva1:i386 (1.0.8-3, automatic), librtmp0:i386 (2.3-2, automatic)
Upgrade: libswscale0:i386 (0.5.2-6, 0.6.1-5), mplayer:i386
(1.0~rc3++final.dfsg1-1, 1.0~rc4.dfsg1-1), libpostproc51:i386 (0.5.2-6,
0.6.1-5), libgnutls26:i386 (2.8.6-1, 2.10.4-2), libavformat52:i386 (0.5.2-6,
0.6.1-5), vlc-nox:i386 (1.1.3-1squeeze3, 1.1.7-2), libgpg-error0:i386 (1.6-1,
1.10-0.3), vlc:i386 (1.1.3-1squeeze3, 1.1.7-2), vlc-plugin-notify:i386
(1.1.3-1squeeze3, 1.1.7-2), libavcodec52:i386 (0.5.2-6, 0.6.1-5), vlc-plugin-
pulse:i386 (1.1.3-1squeeze3, 1.1.7-2), libavdevice52:i386 (0.5.2-6, 0.6.1-5)
End-Date: 2011-02-14  13:02:54
==============

vlc dependencies:
apt-cache -i depends vlc | cut -d:  -f 2 > /tmp/vlc.dep
sed -i ':a;N;$!ba;s/\n/ /g' /tmp/vlc.dep
dpkg -l $(cat /tmp/vlc.dep )
+++-==============-==============-============================================
ii  libaa1         1.4p5-38       ascii art library
ii  libavcodec52   4:0.6.1-5      FFmpeg codec library
ii  libavutil50    4:0.6.1-5      FFmpeg utility library
ii  libc6          2.11.2-10      Embedded GNU C Library: Shared libraries
ii  libfreetype6   2.4.2-2.1      FreeType 2 font engine, shared library files
ii  libfribidi0    0.19.2-1       Free Implementation of the Unicode BiDi algo
ii  libgcc1        1:4.4.5-8      GCC support library
ii  libgl1-mesa-gl 7.7.1-4        A free implementation of the OpenGL API -- G
ii  libqtcore4     4:4.6.3-4      Qt 4 core module
ii  libqtgui4      4:4.6.3-4      Qt 4 GUI module
ii  libsdl-image1. 1.2.10-2+b2    image loading library for Simple DirectMedia
ii  libsdl1.2debia 1.2.14-6.1     Simple DirectMedia Layer
ii  libstdc++6     4.4.5-8        The GNU Standard C++ Library v3
ii  libtar         1.2.11-6       C library for manipulating tar archives
ii  libva-x11-1    1.0.8-3        Video Acceleration (VA) API for Linux -- X11
ii  libva1         1.0.8-3        Video Acceleration (VA) API for Linux -- run
ii  libvlccore4    1.1.7-2        base library for VLC and its modules
ii  libx11-6       2:1.3.3-4      X11 client-side library
ii  libx11-xcb1    2:1.3.3-4      Xlib/XCB interface library
ii  libxcb-keysyms 0.3.6-1        utility libraries for X C Binding -- keysyms
ii  libxcb-randr0  1.7-2          X C Binding, randr extension
ii  libxcb-shm0    1.7-2          X C Binding, shm extension
ii  libxcb-xv0     1.7-2          X C Binding, xv extension
ii  libxcb1        1.6-1          X C Binding
ii  libxext6       2:1.1.2-1      X11 miscellaneous extension library
ii  libxpm4        1:3.5.8-1      X11 pixmap library
ii  ttf-freefont   20090104-7     Freefont Serif, Sans and Mono Truetype fonts
ii  vlc            1.1.7-2        multimedia player and streamer
ii  vlc-nox        1.1.7-2        multimedia player and streamer (without X su
ii  zlib1g         1:1.2.3.4.dfsg compression library - runtime
Nessun pacchetto corrispondente a <libavcodec-extra-52>.
Nessun pacchetto corrispondente a <libavutil-extra-50>.
Nessun pacchetto corrispondente a <libgl1>.
Nessun pacchetto corrispondente a libgl1-mesa-swx11.
Nessun pacchetto corrispondente a libgl1-mesa-glx.
==============

xorg.conf:
>--->cut<---<
Section "Module"
        #Load  "extmod"
        #Load  "record"
        #Load  "dbe"
        #Load  "dri"
        #Load  "dri2"
        Load  "glx"
EndSection

Section "Extensions"
    Option       "Composite" "Enable"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "VideoKey"                  # <i>
        Identifier  "Card0"
#       Driver      "nouveau"
        Driver      "nvidia"
        Option      "NoLogo" "true"
    Option      "AllowGLXWithComposite" "true"
        Option      "AddARGBGLXVisuals" "true"
    VendorName  "nVidia Corporation"
        BoardName   "C79 [ION]"
        BusID       "PCI:3:0:0"
EndSection
>--->cut<---<



-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (850, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvdpau1 depends on:
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.5-8  GCC support library
ii  libstdc++6                    4.4.5-8    The GNU Standard C++ Library v3
ii  libx11-6                      2:1.3.3-4  X11 client-side library
ii  libxext6                      2:1.1.2-1  X11 miscellaneous extension librar

libvdpau1 recommends no packages.

Versions of packages libvdpau1 suggests:
ii  nvidia-vdpau-driver [vdpau-d 195.36.31-6 NVIDIA vdpau driver

-- no debconf information





More information about the pkg-nvidia-devel mailing list