Page 1 of 1

VLC 3.0.21 crashes after playing a video

Posted: 20 Sep 2024 09:09
by aLiEnHeAd
Hi!
I updated VLC (32bit) from 3.0.20. to 3.0.21.
With this version the player crashes reproducibly after playing a specific video file.

Here's the gdb output of the latest nightly:
https://pastebin.com/n8AGLer7

The Video that causes the crash:
https://upload.disroot.org/r/95eeAaZs#L ... C5egMzU5g=

MediaInfo of the Video file:

Code: Select all

General Complete name : C:\tmp\OA7.avi Format : AVI Format/Info : Audio Video Interleave Format settings : WaveFormatEx File size : 81.0 KiB Duration : 12 s 0 ms Overall bit rate : 55.3 kb/s Frame rate : 1.000 FPS Video ID : 0 Format : RLE Format/Info : Run-length encoding Codec ID : 0x01000000 Codec ID/Info : Run length encoded 8bpp RGB image Duration : 12 s 0 ms Bit rate : 43.6 kb/s Width : 321 pixels Height : 321 pixels Display aspect ratio : 1.000 Frame rate : 1.000 FPS Bits/(Pixel*Frame) : 0.423 Stream size : 63.8 KiB (79%) Title : CLOCK.avi Video #1 Audio ID : 1 Format : Truespeech Codec ID : 22 Codec ID/Hint : DSP Group Duration : 11 s 996 ms Bit rate : 8 536 b/s Channel(s) : 1 channel Sampling rate : 8 000 Hz Bit depth : 1 bit Stream size : 12.5 KiB (15%) Interleave, duration : 12000 ms (12.00 video frames) Title : Microsoft Waveform: 12TONEt2.WAV

Windows 10.0.19045 Build 19045

Re: VLC 3.0.21 crashes after playing a video

Posted: 20 Sep 2024 10:56
by Lotesdelere
Please upload your sample file to WeTransfer.com or Disroot.org and then post the link to the file here.
https://wetransfer.com
https://upload.disroot.org

Re: VLC 3.0.21 crashes after playing a video

Posted: 20 Sep 2024 11:15
by aLiEnHeAd
Please upload your sample file to WeTransfer.com or Disroot.org and then post the link to the file here.
https://wetransfer.com
https://upload.disroot.org
Uploaded to disroot:
https://upload.disroot.org/r/95eeAaZs#L ... C5egMzU5g=

Re: VLC 3.0.21 crashes after playing a video

Posted: 21 Sep 2024 12:54
by Lotesdelere
I can't reproduce the issue, no crash for me.

Reset the preferences and cache (the manual way) and try again:
https://wiki.videolan.org/VSG:ResetPrefs

Re: VLC 3.0.21 crashes after playing a video

Posted: 21 Sep 2024 21:01
by aLiEnHeAd
I can't reproduce the issue, no crash for me.

Reset the preferences and cache (the manual way) and try again:
https://wiki.videolan.org/VSG:ResetPrefs
I just tried it again:

I used a different computer (with no previous VLC installation).
I downloaded vlc-3.0.21-win32.zip from https://get.videolan.org/vlc/3.0.21/win ... -win32.zip , unzipped it and started vlc.exe
I downloaded the sample video from disroot and loaded it in vlc
The video played and after it finished playing the vlc player crashed.


After that I downloaded vlc-3.0.20-win32.zip http://download.videolan.org/pub/videol ... -win32.zip , unzipped it in a different folder
and opened the same video. It played and after it finished playing, vlc did not crash

Re: VLC 3.0.21 crashes after playing a video

Posted: 21 Sep 2024 22:52
by Lotesdelere
Any reason why you want to use the 32-bit version and not the 64-bit one ?
What is your OS ?

Re: VLC 3.0.21 crashes after playing a video

Posted: 22 Sep 2024 09:52
by aLiEnHeAd
It doesn't matter if I use the 32bit or 64bit version. It also happens with the 64bit VLC 3.0.21.
It happens on Windows 10 (10.0.19045 Build 19045) and Windows 11 (10.0.22631 Build 22631).
The problem is not the OS, since it does not crash using VLC 3.0.20.
So if you open the uploaded video in vlc 3.0.21 and let it play until the end. Does your player stay open after it finished and does not close itself?

Re: VLC 3.0.21 crashes after playing a video

Posted: 23 Sep 2024 12:26
by Lotesdelere
As I said, I can't reproduce the issue with the x64 version.

You can try another video output module:
http://wiki.videolan.org/WindowsFAQ-2.0 ... _output.3F

Or another audio output module:
http://wiki.videolan.org/WindowsFAQ-2.0 ... _anomalies

Only one at a time, and don't forget to save and restart VLC after changes.

Re: VLC 3.0.21 crashes after playing a video

Posted: 23 Sep 2024 12:47
by aLiEnHeAd
@Lotesdelere Thanks for the hints. It really has something to do with the Direct3D11 video output:

the gdb output of the crash states:

Code: Select all

warning: direct3d11 vout display debug: Direct3D11 device adapter closed warning: direct3d11 vout display error: SetThumbNailClip failed: 0x800706f4 warning: direct3d11 vout display debug: Win32 Vout EventThread terminating warning: direct3d11 vout display debug: Win32VoutCloseWindow warning: direct3d11 vout display debug: WinProc WM_DESTROY [Thread 14204.0x59c8 exited with code 0] warning: Critical error detected c0000374
If I change the video output to i.e. OpenGL or DirectX(DirectDraw) vlc doesn't crash. :D
So it seems there are changes in the D3d output between 3.0.20 and 3.0.21

Re: VLC 3.0.21 crashes after playing a video

Posted: 24 Sep 2024 12:11
by Lotesdelere
What is your graphics card ?

We need the full messages log, from the very beginning to the very end. Please open Tools -> Messages (set Verbosity to 2) before you start the playback, keep the messages window open during the whole process and then paste the full resulting log here or on Pastebin.com or on Justpaste.it if it's too long.

Re: VLC 3.0.21 crashes after playing a video

Posted: 24 Sep 2024 14:41
by aLiEnHeAd
I tested with a
- AMD Radeon RX Vega 10 (AMD Ryzen 7 3700U)
- NVIDIA RTX A500
- Intel Iris Xe (Intel Core i7-13700H)

Since the player crashes, the log window won't stay open.
So I startet vlc.exe with --extraintf=logger --verbose=2 --logfile=C:\tmp\vlc.log --logmode=text --file-logging

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 don't know if this information is helpful but 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 :

Code: Select all

[...] 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. [...] Der Thread 0x6248 hat mit Code 0 (0x0) geendet. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\DriverStore\FileRepository\nvbl.inf_amd64_70a7ed4a3bcda507\nvwgf2umx.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\DriverStore\FileRepository\nvbl.inf_amd64_70a7ed4a3bcda507\nvgpucomp64.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\imagehlp.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\wintrust.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\version.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\DriverStore\FileRepository\nvbl.inf_amd64_70a7ed4a3bcda507\nvldumdx.dll" wurde entladen. Ausnahme ausgelöst bei 0x00007FF88DE5B699 in LibVLCNugetCpp.exe: Microsoft C++-Ausnahme: MONZA::DdiThreadingContext<MONZA::AdapterTraits_Gen12LP>::msg_end bei Speicherort 0x000000BA5EEAF920. Der Thread 0x5c84 hat mit Code 0 (0x0) geendet. Ausnahme ausgelöst bei 0x00007FF88DE5B699 in LibVLCNugetCpp.exe: Microsoft C++-Ausnahme: MONZA::IgcThreadingContext<MONZA::AdapterTraits_Gen12LP>::msg_end bei Speicherort 0x000000BA5EDAFD20. Der Thread 0x5b8c hat mit Code 0 (0x0) geendet. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_4ac98e1cc198f175\igc1464.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_4ac98e1cc198f175\igc64.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_4ac98e1cc198f175\igdgmm64.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_4ac98e1cc198f175\IntelControlLib.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_4ac98e1cc198f175\igd10iumd64.dll" wurde entladen. direct3d11 vout display debug: Direct3D11 device adapter closed Ausnahme ausgelöst bei 0x00007FF88DE5B699 (KernelBase.dll) in LibVLCNugetCpp.exe: 0x000006F4: An den Stub wurde ein Nullzeiger übergeben. direct3d11 vout display error: SetThumbNailClip failed: 0x800706f4 direct3d11 vout display debug: Win32 Vout EventThread terminating direct3d11 vout display debug: Win32VoutCloseWindow direct3d11 vout display debug: WinProc WM_DESTROY "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\d2d1.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\ExplorerFrame.dll" wurde entladen. Der Thread 0x5c60 hat mit Code 0 (0x0) geendet. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\deviceaccess.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\PortableDeviceTypes.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\SensorsUtilsV2.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\SensorsNativeApi.V2.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\SensorsApi.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\OneCoreUAPCommonProxyStub.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\twinapi.appcore.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\WindowManagementAPI.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\InputHost.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\Windows.UI.dll" wurde entladen. Der Thread 0x536c hat mit Code 0 (0x0) geendet. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\dcomp.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\dwmapi.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\dxgi.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\d3d11.dll" wurde entladen. "LibVLCNugetCpp.exe" (Win32): "C:\Windows\System32\D3DCompiler_47.dll" wurde entladen. Critical error detected c0000374

Re: VLC 3.0.21 crashes after playing a video

Posted: 25 Sep 2024 08:19
by Lotesdelere
You should create a new report ticket on the VLC issues tracker with your above report, the link to your sample file, the link to your messages log, and the link to this thread:
https://code.videolan.org/videolan/vlc/-/issues

If possible, because of this:
https://forum.videolan.org/viewtopic.ph ... 27#p538427

Re: VLC 3.0.21 crashes after playing a video

Posted: 25 Sep 2024 10:01
by aLiEnHeAd
That is what I tried before registering on this forum, but my account for code.videolan.org is still "awaiting approval from your GitLab administrator" :(

Re: VLC 3.0.21 crashes after playing a video

Posted: 25 Sep 2024 11:38
by Lotesdelere