VideoLAN.LibVLC.Windows 3.0.19 (and 3.0.20) make Winui 3 crash
Summary
Winui 3 Application crashes when using VideoLAN.LibVLC.Windows 3.0.19 or 3.0.20. It works with 3.0.18.
Minimal project and steps to reproduce
What is the current bug behavior?
After instanciate a new new LibVlc and a new MediaPlayer, application crashes with an unhandled exception.
What is the expected correct behavior?
Winui 3 App doesn't crash...
Does it work on other plaforms? Does it work with the official VLC apps?
Relevant LibVLC logs and/or screenshots
From the events viewer :
Nom de l’application défaillante VlcTester.exe, version : 1.0.0.0, horodatage : 0x65310000 Nom du module défaillant : libvlccore.dll, version : 3.0.20.0, horodatage : 0xaae8aae0 Code d’exception : 0xc0000005 Décalage d’erreur : 0x0000000000097be2 ID du processus défaillant : 0x0x2D64 Heure de début de l’application défaillante : 0x0x1DA2D1D2AC1725B Chemin d’accès de l’application défaillante : C:\Dev\Projets de test\VlcTester\VlcTester\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\VlcTester.exe Chemin d’accès du module défaillant: C:\Dev\Projets de test\VlcTester\VlcTester\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\libvlc\win-x64\libvlccore.dll ID de rapport : 14794be0-ce3a-4b07-93ee-d19431be4a97 Nom complet du package défaillant : 5bf17ba6-499d-4c65-b04f-5de0636d66dd_1.0.0.0_x64__4dctsdsr7ewvw ID de l’application relative au package défaillant : App
Application: VlcTester.exe CoreCLR Version: 6.0.2523.51912 .NET Version: 6.0.25 Description: The process was terminated due to an unhandled exception. Exception Info: exception code c0000005, exception address 00007FFEB4A37BE2
From Visual Sutdio output : Le programme '[17752] VlcTester.exe' s'est arrêté avec le code 3221225477 (0xc0000005) 'Access violation'.
Environment
- OS: Windows
- Version 11
- Device: PC
- LibVLC version and architecture 3.0.8, x64
- VideoLAN.LibVLC.Windows 3.0.19 and 3.0.20