henkelmax / simple-voice-chat

A working voice chat in Minecraft!
https://modrepo.de/minecraft/voicechat/wiki
445 stars 113 forks source link

Simple Voice Chat randomly crashes JVM on quilt server #579

Closed AT14C closed 1 year ago

AT14C commented 1 year ago

Please read the wiki before submitting a bug report!

Bug description Just by having simple voice chat loaded on a 1.19.4 quilt server it can crash the JVM at any given moment

Steps to reproduce the issue

  1. Start a 1.19.4 quilt server with simple voice chat 1.19.4 2.4.7
  2. Connect to the server
  3. Wait for it to crash

Expected behavior Not to crash my server

Versions

Other mods Crashes both with my modpack installed and by being the only mod installed

I tested this with both OpenJDK and GraalVM Full PID dump included (log segment from PID dump) hs_err_pid3964.log

henkelmax commented 1 year ago

Please send the full logs with github gist, like described in the bug template

AT14C commented 1 year ago

https://gist.github.com/AT14C/0cc3ab355af72b535a3cc0bfb7a1f1e1

henkelmax commented 1 year ago

Which OS and OS version are you using? And which CPU architecture are you using? Please also send me the logs with OpenJDK.

AT14C commented 1 year ago

OS: RebornOS Linux ARM aarch64 Host: Radxa ROCK 5B Kernel: 5.10.110-rockchip-rk3588 CPU: (8) @ 1.800GHz Memory: 16 GB

henkelmax commented 1 year ago

Can you try if it works on a more common linux distro like Ubuntu? RebornOS for ARM seems to be in beta so that might not be very stable.

AT14C commented 1 year ago

OpenJDK log https://gist.github.com/AT14C/e9cab8897250c8bfbb8acc28f99e822c

AT14C commented 1 year ago

Will try setting use_natives to false

henkelmax commented 1 year ago

Will try setting use_natives to false

Thats only for clients. The server doesn't use voice chats natives (if you don't use addon mods).

henkelmax commented 1 year ago

The natives of the mod shouldn't be loaded at all and from your logs they also don't seem to be. This looks like an issue with Java in general. Please try if you are getting the same issue on another distro like Ubuntu or similar.

AT14C commented 1 year ago

Still getting JVM crashes even after removing voice chat mod, so it seems to not be simple voice chat