Seeing the access violation Crash while opening the Vlc 4.x.x on Arm64 device

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
nkshatri
New Cone
New Cone
Posts: 9
Joined: 29 Aug 2024 08:06

Seeing the access violation Crash while opening the Vlc 4.x.x on Arm64 device

Postby nkshatri » 29 Aug 2024 08:24

- I'm trying to run the Video on VLC 4.x.x Arm64 version on my arm device and seeing that App is getting crashed immediately.
- I tried analyzing the crash and found that its access violation while trying to access the GUI device object and stack is pointing to "libqt_plugin!qt_startup_hook".
- Next to confirm if problem is actually from libqt_plugin, I tried replacing the libqt_plugin from the VLC 3.x.x and able to see VLC is not crashing and able to play the video. Even though all functionality of the app is not present, but it is not crashing.

Wanted to know if anyone able to resolve this error?

Also, I was tried to compile the VLC 4.x.x for Arm64 but its failing, I'm following the steps mentioned at: https://code.videolan.org/videolan/vlc/ ... D-win32.md and using the toolchain: https://github.com/mstorsjo/llvm-mingw/ ... arch64.zip
Are there any working steps Available?

nkshatri
New Cone
New Cone
Posts: 9
Joined: 29 Aug 2024 08:06

Re: Seeing the access violation Crash while opening the Vlc 4.x.x on Arm64 device

Postby nkshatri » 24 Sep 2024 11:37

Hi Team,

i m seeing crash for VLC 4.x.x (Arm64/x64) version whenever i try to launch the video directly using vlc (click on video -->open with VLC).

Here is the error i can see:

"Assertion Failed !

Program: ...am Files\VideoLAN\VLC\plugins\gui\libqt_plugin.dll
File:/home/<>/vlc1/vlc/extra/pack../composi..omp.cpp
Line:299

Expression: m_dcompDevice

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Please Retry to debug the application -JIT must be enabled)"


Here is the call stack:

# Child-SP RetAddr Call Site
00 00000044`4bff67b0 00007ffc`d20c5a10 libqt_plugin!vlc::CompositorDirectComposition::setupVoutWindow+0x60 [//extras/package/win32/../../../modules/gui/qt/maininterface/compositor_dcomp.cpp @ 299]
01 00000044`4bff6810 00007ffc`e4455910 libqt_plugin!WindowOpen+0x244 [//extras/package/win32/../../../modules/gui/qt/qt.cpp @ 1214]
02 00000044`4bff68d0 00007ffc`e43c1208 libvlccore!vlc_window_start+0x40 [//extras/package/win32/../../../src/video_output/window.c @ 59]
03 00000044`4bff6910 00007ffc`e4455724 libvlccore!vlc_module_load+0x180 [//extras/package/win32/../../../src/modules/modules.c @ 230]
04 00000044`4bff6a00 00007ffc`e4454478 libvlccore!vlc_window_New+0x14c [//extras/package/win32/../../../src/video_output/window.c @ 92]
05 00000044`4bff6a60 00007ffc`e44422b8 libvlccore!vout_display_window_New+0x198 [//extras/package/win32/../../../src/video_output/video_window.c @ 421]
06 00000044`4bff6ae0 00007ffc`e44261e8 libvlccore!vout_Create+0x2ac [//extras/package/win32/../../../src/video_output/video_output.c @ 2177]
07 00000044`4bff6b40 00007ffc`e4425eec libvlccore!RequestVoutRsc+0xb4 [//extras/package/win32/../../../src/input/resource.c @ 429]

Can you please provide pointers here? Looks like its not getting the handle while creating the GUI


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 15 guests