Bug 58836

Summary: vainfo crashes with signal 8, Arithmetic exception
Product: libva Reporter: sebikul
Component: vdpauAssignee: Gwenole Beauchesne <gb.devel>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: core dump
sigfpe-crash.patch

Description sebikul 2012-12-28 19:06:30 UTC
Created attachment 72226 [details]
core dump

Every time I run vainfo it crashes, this is the gdb output:

Program terminated with signal 8, Arithmetic exception.
#0  0x00007fd70fa461f1 in object_heap_destroy () from /usr/lib/dri/nvidia_drv_video.so
(gdb) bt
#0  0x00007fd70fa461f1 in object_heap_destroy () from /usr/lib/dri/nvidia_drv_video.so
#1  0x00007fd70fa48fa8 in destroy_heap () from /usr/lib/dri/nvidia_drv_video.so
#2  0x00007fd70fa48fe1 in vdpau_common_Terminate () from /usr/lib/dri/nvidia_drv_video.so
#3  0x00007fd70fa490fc in vdpau_Terminate_Current () from /usr/lib/dri/nvidia_drv_video.so
#4  0x00007fd70fa4a0f8 in __vaDriverInit_0_33 () from /usr/lib/dri/nvidia_drv_video.so
#5  0x00007fd7119c457a in va_openDriver () from /usr/lib/libva.so.1
#6  0x00007fd7119c4edb in vaInitialize () from /usr/lib/libva.so.1
#7  0x0000000000400e8a in main ()

None of the applications using it work, mplayer/vlc won't play videos if using the vdpau driver.

I use Archlinux, always up to date.

sebi@sebi:~/Desktop$ sudo lspci
...
00:0d.0 VGA compatible controller: NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2)
02:00.0 VGA compatible controller: NVIDIA Corporation GT216 [GeForce GT 220] (rev a2)
Comment 1 Daniel Drake 2018-10-31 05:02:46 UTC
Created attachment 142296 [details] [review]
sigfpe-crash.patch

Here is the patch shipped by Debian to solve this issue.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.