vainfo crashes in /usr/lib/dri/nvidia_drv_video.so

Hi! I’m getting a crash while executing vainfo. Needless to say that
VDPAU acceleration is not working (tested with mplayer and vlc). gdb
output below.

I already sent an email to linux-bugs@nvidia.com but i got no response. I really don’t know to whom should i report this: nvidia, libva.

I already tried everything, recompiling the vdpau driver and every deps it has, testing with a different distro, etc…

sebi@sebi:~$ gdb vainfo
GNU gdb (GDB) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/bin/vainfo...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/vainfo 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
libva info: VA-API version 0.33.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_33
VDPAU capture: Enabled
vdp_imp_device_create_x11(0x615270, 0, -, -)
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library  304.64  Tue Oct 30 11:20:48 PDT 2012
VDPAU nvidia: Error detected 10 227  5
VDPAU nvidia: Backtrace:
--: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7ffff2a5b000] DSO load base
00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7ffff2a95322] 
01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7ffff2a8403a] 
02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7ffff2a650bc] vdp_imp_device_create_x11
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library  304.64  Tue Oct 30 11:20:48 PDT 2012
VDPAU nvidia: Error detected 10 296  5<a target='_blank' rel='noopener noreferrer' href='[url]'>[url]</a>[/url]
VDPAU nvidia: Backtrace:
--: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7ffff2a5b000] DSO load base
00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7ffff2a9520b] 
01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7ffff2a8403a] 
02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7ffff2a650bc] vdp_imp_device_create_x11
    -> 1

Program received signal SIGFPE, Arithmetic exception.
0x00007ffff5c4f1f1 in object_heap_destroy () from /usr/lib/dri/nvidia_drv_video.so
(gdb) bt
#0  0x00007ffff5c4f1f1 in object_heap_destroy () from /usr/lib/dri/nvidia_drv_video.so
#1  0x00007ffff5c51fa8 in destroy_heap () from /usr/lib/dri/nvidia_drv_video.so
#2  0x00007ffff5c51fe1 in vdpau_common_Terminate () from /usr/lib/dri/nvidia_drv_video.so
#3  0x00007ffff5c520fc in vdpau_Terminate_Current () from /usr/lib/dri/nvidia_drv_video.so
#4  0x00007ffff5c530f8 in __vaDriverInit_0_33 () from /usr/lib/dri/nvidia_drv_video.so
#5  0x00007ffff7bc757a in va_openDriver () from /usr/lib/libva.so.1
#6  0x00007ffff7bc7edb in vaInitialize () from /usr/lib/libva.so.1
#7  0x0000000000400e8a in main ()

The nvidia-bug-report.log file was uploaded to the sftp site at /sebikul/nvidia-bug-report.log.gz
It should contain every info you need about my machine. I can upload it elsewhere if needed.

Thanks for your help!

You are using libva-1.1.0 which provides VA-API version 0.33.0.
This libva release is quite recent but I suspect it to crash when is compiled with wayland and used with nvidia. Here is a built with wayland support disabled for F-18 users:
http://koji.fedoraproject.org/koji/buildinfo?buildID=367684

I’m using it on F-17 just fine that been said, (with VA-API 0.32.0 and wayland disabled).