VLC 3.0.21 crashes after playing a video
Hello,
after playing this video file, VLC 3.0.21 (both 32 and 64bit) crashes reprodicibly: https://upload.disroot.org/r/gHd0FtTa#4rgdH0MQHkt1UT8WnunrWFAjTelEV6AC982/5S72axg= VLC 3.0.20 does not have this problem.
It happens on Windows 10 (10.0.19045 Build 19045) and Windows 11 (10.0.22631 Build 22631).
If I change the video output to i.e. OpenGL or DirectX(DirectDraw) vlc doesn't crash. So it seems there are changes in the D3d output between 3.0.20 and 3.0.21
gdb output: https://pastebin.com/n8AGLer7
Here's the log file that was created by VLC 3.0.21: https://justpaste.it/cosvv
For comparison the logfile of 3.0.20: https://justpaste.it/47y78
I can also reproduce it with the C++ LibVLC Sample (https://github.com/mfkl/LibVLCNugetCpp) and videolan.libvlc.windows.3.0.21.nupkg: Here's the debug output after changing the MRL to "m = libvlc_media_new_location(inst, "file:///C:/tmp/OA7.avi");", playing the video and waiting a couple of seconds after it finished :
[...]
main input debug: Program doesn't contain anymore ES
Der Thread 0xe74 hat mit Code 0 (0x0) geendet.
Der Thread 0x8e4 hat mit Code 0 (0x0) geendet.
main audio output debug: removing module "mmdevice"
Der Thread 0x5ecc hat mit Code 0 (0x0) geendet.
main video output debug: destroying useless vout
main filter debug: removing module "swscale"
main vout display debug: Filter 000002871c5188c0 removed from chain
main vout display debug: removing module "direct3d11"
direct3d11 vout display debug: Direct3D11 resources destroyed
Der Thread 0x6370 hat mit Code 0 (0x0) geendet.
[...]
Topic in vlc forum: https://forum.videolan.org/viewtopic.php?f=14&t=165287