the app will crash when opening the video
On Windows ARM device, we found this app “VLC media player” will crash when opening a video, it show "libdirect3d11_plugin.dll" Assertion failed. Generate dump file with process catching and found some stack issues,and Point out that was maybe caused by libdirect3d11_filters_plugin from d3d11_fmt.cpp.
below info is from windbg:
Child-SP RetAddr Call Site
00 0000009a`e42f5470 00007ff8`eb049ce0 ntdll!NtWaitForMultipleObjects+0x4
01 0000009a`e42f5470 00007ff8`edf686a8 KERNELBASE!WaitForMultipleObjectsEx+0xe0
02 0000009a`e42f5750 00007ff8`edf68254 kernel32!WerpLaunchAeDebug+0x2e58
03 0000009a`e42f58b0 00007ff8`edf3b614 kernel32!WerpLaunchAeDebug+0x2a04
04 0000009a`e42f5900 00007ff8`eb0e3530 kernel32!BasepReportFault+0x24
05 0000009a`e42f5920 00007ff8`ef03c5d0 KERNELBASE!UnhandledExceptionFilter+0x2e0
06 0000009a`e42f5a10 00007ff8`ef052938 ntdll!TpDbgDumpHeapUsage+0x120
07 0000009a`e42f5a30 00007ff8`ef04d218 ntdll!wcsnlen+0x43b8
08 0000009a`e42f5a40 00007ff8`eefd11cc ntdll!_chkstk+0x378
09 0000009a`e42f5aa0 00007ff8`ef04cf24 ntdll!_C_specific_handler+0xbc
0a 0000009a`e42f5b00 00007ff8`eef32780 ntdll!_chkstk+0x84
0b 0000009a`e42f5b20 00007ff8`ef04cd80 ntdll!RtlPcToFileHeader+0xf60
0c 0000009a`e42f6160 00007ff8`7950030c ntdll!KiUserExceptionDispatcher+0x40
0d 0000009a`e42f65f0 00007ff8`794fe580 libdirect3d11_filters_plugin!D3D11_GetDriverVersion+0x164 [//extras/package/win32/../../../modules/video_chroma/d3d11_fmt.cpp @ 304]
0e 0000009a`e42f6690 00007ff8`794fded4 libdirect3d11_filters_plugin!CreateDevice+0x1ec [//extras/package/win32/../../../modules/video_chroma/d3d11_fmt.cpp @ 516]
0f 0000009a`e42f6700 00007ff8`794f6dd4 libdirect3d11_filters_plugin!D3D11_CreateDevice+0x2a0 [//extras/package/win32/../../../modules/video_chroma/d3d11_fmt.cpp @ 603]
10 0000009a`e42f6790 00007ff8`794f6d94 libdirect3d11_filters_plugin!D3D11OpenDecoderDevice+0x34 [//extras/package/win32/../../../modules/hw/d3d11/d3d11_device.c @ 51]
11 0000009a`e42f67d0 00007ff8`cadabecc libdirect3d11_filters_plugin!D3D11OpenDecoderDeviceW8+0x24 [//extras/package/win32/../../../modules/hw/d3d11/d3d11_device.c @ 66]
12 0000009a`e42f67f0 00007ff8`cad8162c libvlccore!vlc_decoder_device_Create+0x250
13 0000009a`e42f6840 00007ff8`cadabd00 libvlccore!vlc_module_load+0x17c
14 0000009a`e42f6930 00007ff8`cae049a0 libvlccore!vlc_decoder_device_Create+0x84
15 0000009a`e42f6970 00007ff8`cada7544 libvlccore!vout_Hold+0x1158
16 0000009a`e42f69a0 00007ff8`79dd5054 libvlccore!vlc_input_decoder_SetSpuHighlight+0x12a0
17 0000009a`e42f69e0 00007ff8`79dd480c libavcodec_plugin!Ordinal0+0x5054
18 0000009a`e42f6a10 00007ff8`79dd2348 libavcodec_plugin!Ordinal0+0x480c
19 0000009a`e42f6b20 00007ff8`79dd2f38 libavcodec_plugin!Ordinal0+0x2348
1a 0000009a`e42f6bb0 00007ff8`79e07d28 libavcodec_plugin!Ordinal0+0x2f38
1b 0000009a`e42f6d00 00007ff8`7a116654 libavcodec_plugin!vlc_entry_license+0x284d0
1c 0000009a`e42f6d70 00007ff8`7a112760 libavcodec_plugin!vlc_entry_license+0x336dfc
1d 0000009a`e42f6da0 00007ff8`79e253f0 libavcodec_plugin!vlc_entry_license+0x332f08
1e 0000009a`e42ff9c0 00007ff8`7a0df844 libavcodec_plugin!vlc_entry_license+0x45b98
1f 0000009a`e42ffac0 00007ff8`7a0df9b0 libavcodec_plugin!vlc_entry_license+0x2fffec
20 0000009a`e42ffb50 00007ff8`ea9eb1d8 libavcodec_plugin!vlc_entry_license+0x300158
21 0000009a`e42ffb60 00007ff8`edf186f0 ucrtbase!register_onexit_function+0x98
22 0000009a`e42ffb90 00007ff8`eefc0064 kernel32!BaseThreadInitThunk+0x40
23 0000009a`e42ffba0 00000000`00000000 ntdll!RtlUserThreadStart+0x44
this issue started from build 20240907-0437, this issue also happen on the latest version 20240909-0437. Please help to analyze this issue and share your good suggestions for it.
Thank you a lot!
Here are detailed information:
App name: VLC media player
App download link: https://artifacts.videolan.org/vlc/nightly-win64-arm-llvm/
App version: 20240909-0437
Reproduce steps:
- 1.Download installer “VLC media player”
- 2.Install the app
- 3.run the app
- 4.drag the video to the app
- 5.crash
Edited by François Cartegnie