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

vo_gpu: Segfault when switching scaler and pausing simultaneously (hwdec=vdpau) #5447

Closed
sfan5 opened this Issue Jan 26, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@sfan5
Member

sfan5 commented Jan 26, 2018

mpv version and platform

mpv 0.28.0-167-gf8263e82cc
Linux x86_64

Reproduction steps

mpv --no-config --hwdec=vdpau --input-conf=<(echo "b cycle-values scale spline36 bilinear") test.mp4
press b and SPACE at the same time
observe segfault

Log file

slightly reduced, includes backtrace:
https://0x0.st/sq7w.txt

@sfan5 sfan5 added the low priority label Jan 26, 2018

kevmitch added a commit that referenced this issue Jan 27, 2018

video: fix crash with vdpau when reinitializing rendering
Using vdpau will allocate additional textures for the reinterleaving
step, which uninit_rendering() will free. This is a problem because the
hwdec image remains mapped when reinitializing, so the reinterleaving
textures are turned into dangling pointers. Fix this by freeing the
reinterleave textures on full uninit instead.

Fixes #5447.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment