[Bug 268657] multimedia/libva-vdpau-driver: Floating exception: Integer divide by zero

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 30 Dec 2022 19:21:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268657

            Bug ID: 268657
           Summary: multimedia/libva-vdpau-driver: Floating exception:
                    Integer divide by zero
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: madpilot@FreeBSD.org
          Reporter: iron.udjin@gmail.com
             Flags: maintainer-feedback?(madpilot@FreeBSD.org)
          Assignee: madpilot@FreeBSD.org

port version: 0.7.4_10
OS: 13.1-STABLE n253339-39db0c62b210

$ vainfo 
Trying display: wayland
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/local/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_17
Floating exception (core dumped)

$ gdb /usr/local/bin/vainfo
...
(gdb) core /var/tmp/1001.vainfo.core
...
Program terminated with signal SIGFPE, Arithmetic exception.
Integer divide by zero.
#0  0x000000082f87b555 in object_heap_destroy (heap=heap@entry=0x82c5ff0d0)
    at object_heap.c:275
275     object_heap.c: No such file or directory.
(gdb) bt
#0  0x000000082f87b555 in object_heap_destroy (heap=heap@entry=0x82c5ff0d0)
    at object_heap.c:275
#1  0x000000082f87e94a in destroy_heap (heap=0x82c5ff0d0,
user_data=0x82c5ff000, 
    name=<optimized out>, destroy_func=<optimized out>) at vdpau_driver.c:138
#2  vdpau_common_Terminate (driver_data=0x82c5ff000) at vdpau_driver.c:159
#3  vdpau_Terminate_Current (ctx=ctx@entry=0x82c5d8000) at
./vdpau_driver_template.h:537
#4  0x000000082f87e383 in vdpau_Initialize_Current (ctx=<optimized out>)
    at ./vdpau_driver_template.h:563
#5  __vaDriverInit_1_17 (ctx=0x82c5d8000) at vdpau_driver.c:317
#6  0x00000008223442b3 in vaInitialize () from /usr/local/lib/libva.so.2
#7  0x0000000000203ed5 in main (argc=<optimized out>, argv=0x820ec0da8)
    at ../vainfo/vainfo.c:520

-- 
You are receiving this mail because:
You are the assignee for the bug.