WATERMeDIA: Multimedia API

WATERMeDIA: Multimedia API

551k Downloads

libvlc crashing JVM with latest WATERMeDIA version

honeymoan opened this issue · 6 comments

commented

Hi!

I'm running a server with my friends and after I updated WATERFrAMES to the latest 1.18 compat. version some random crashes started happening. Nothing is being printed on both crash-reports and logs and I identified only thanks to javaw crashdumps.

Server:
Running on Java 17.0.1 (Oracle Corporation)
Magma version 1.18.2-c1568e15
Bukkit version v1_18_R2
Forge version 40.2.4

watermedia-1.2.12 + waterframes-1.18.2-1.3.1b + VideoPlayer-2.0.3-FORGE-1.18.X

analyse -v from WinDbg from another computer:

PROCESS_NAME:  javaw.exe

ERROR_CODE: (NTSTATUS) 0x40000015 - {Fatal Application Exit}  %hs

EXCEPTION_CODE_STR:  40000015

STACK_TEXT:  
000000ea`f07fe030 00007fff`c7735f82     : 00007fff`eb5bfa60 00007fff`c774c920 0000027d`a97cb5f0 00000000`00000020 : msvcrt!abort+0x32
000000ea`f07fe5e0 00007fff`eb5bfa60     : 00007fff`c774c920 0000027d`a97cb5f0 00000000`00000020 00007fff`c774b388 : libvlc+0x15f82
000000ea`f07fe5e8 00007fff`c774c920     : 0000027d`a97cb5f0 00000000`00000020 00007fff`c774b388 00000000`00000213 : msvcrt!iob+0x60
000000ea`f07fe5f0 0000027d`a97cb5f0     : 00000000`00000020 00007fff`c774b388 00000000`00000213 00007fff`c774b420 : libvlc+0x2c920
000000ea`f07fe5f8 00000000`00000020     : 00007fff`c774b388 00000000`00000213 00007fff`c774b420 00007fff`ebc55ba1 : 0x0000027d`a97cb5f0

SYMBOL_NAME:  libvlc+15f82

MODULE_NAME: libvlc

IMAGE_NAME:  libvlc.dll

STACK_COMMAND:  ~109s; .ecxr ; kb

FAILURE_BUCKET_ID:  FATAL_APP_EXIT_40000015_libvlc.dll!Unknown

OS_VERSION:  10.0.19041.1

BUILDLAB_STR:  vb_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  3.0.19.0

analyse -v from WinDbg from my computer:

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffe45a55f82 (libvlc!libvlc_media_discoverer_list_get+0x000000000000204f)
   ExceptionCode: 40000015
  ExceptionFlags: 00000000
NumberParameters: 0

PROCESS_NAME:  javaw.exe

ERROR_CODE: (NTSTATUS) 0x40000015 - {Fatal Application Exit}  %hs

EXCEPTION_CODE_STR:  40000015

STACK_TEXT:  
00000043`f40fdab0 00007ffe`45a55f82     : 00007ffe`4ec7fa60 00007ffe`45a6c920 00000189`41f87dd0 00000000`00000020 : msvcrt!abort+0x32
00000043`f40fe060 00007ffe`45a5289f     : 00000188`860fd6b0 00007ffe`2960894b 00000188`d73cf0b8 00007ffd`b7bdd140 : libvlc!libvlc_media_discoverer_list_get+0x204f
00000043`f40fe2e0 00007ffe`29609161     : 00000188`860fd6b0 00000188`d73cee10 00000043`f40fef90 00007ffd`b8766090 : libvlc!libvlc_media_list_player_release+0x6e
00000043`f40fe310 00000188`860fd6b0     : 00000188`d73cee10 00000043`f40fef90 00007ffd`b8766090 00000043`f40fe360 : jna1620740666327910897+0x19161
00000043`f40fe318 00000188`d73cee10     : 00000043`f40fef90 00007ffd`b8766090 00000043`f40fe360 00007ffe`2960894b : 0x00000188`860fd6b0
00000043`f40fe320 00000043`f40fef90     : 00007ffd`b8766090 00000043`f40fe360 00007ffe`2960894b 00007ffe`45a52831 : 0x00000188`d73cee10
00000043`f40fe328 00007ffd`b8766090     : 00000043`f40fe360 00007ffe`2960894b 00007ffe`45a52831 00000000`00000000 : 0x00000043`f40fef90
00000043`f40fe330 00000043`f40fe360     : 00007ffe`2960894b 00007ffe`45a52831 00000000`00000000 00000043`f40feec8 : jvm!jvmciHotSpotVMAddresses+0x5a690

I had to downgrade to an older version so the crashes stops happening, but older versions stopped working with youtube. (Google broke some script?) Also I had a laugh reading your commits trying to find a build that worked correctly.

Thanks!

commented

thanks for your report.
i'm gonna do a VLC bin update to solve it.

commented

It seems to be working but I'll test it better during the night today.

commented
commented

Just a sec.

commented

I haven't found any problems related to watermedia, no crashes or anything. Thanks for the fix!

commented

thanks for the report. enjoy the mod :)