Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backtrace sometimes printed when closing chromium tab or window #1

Open
xtknight opened this issue Dec 21, 2019 · 1 comment
Open

Comments

@xtknight
Copy link
Owner

00: /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.1 [0x7f8e3fa13b29]
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 440.44 Sun Dec 8 03:27:26 UTC 2019
VDPAU nvidia: Error detected 0 7402
VDPAU nvidia: Backtrace:
--: /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.1 [0x7f8e3fa09000] DSO load base
00: /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.1 [0x7f8e3fa104ff]
01: /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.1 [0x7f8e3fa1ea7a]
02: /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.1 [0x7f8e3fa0fb62]
03: /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.1 [0x7f8e3fa11581]
04: /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.1 [0x7f8e3fa13bd6]

May be an issue with the underlying framework - still investigating

@xtknight xtknight changed the title Backtrace sometimes printed when closing chromium Backtrace sometimes printed when closing chromium tab or window Dec 21, 2019
@xtknight
Copy link
Owner Author

xtknight commented Dec 22, 2019

Seems to be caused by this code in vdpau_driver.c, probably underlying issue in VDPAU wrapper. Will investigate further.

// XXX: this code causes backtraces when closing chromium windows and tabs
if (driver_data->vdp_device != VDP_INVALID_HANDLE) {
    vdpau_device_destroy(driver_data, driver_data->vdp_device);
    driver_data->vdp_device = VDP_INVALID_HANDLE;
}

ffmpeg calls vdp_video_surface_destroy, but VDPAU wrapper doesn't. Perhaps the extra surface handles lying around attached to the device in whatever way are causing the backtraces to print.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant