Open JoahTheron opened 2 years ago
The Dockerfile if someone doesn't want to use my image on dockerhub. It is not polished i wanted todo that after the final working test, which failed.
The issue is related to alpine because Ubuntu 20.04 works flawless.
Bug Description
When trying to playback local mp3 files it crashes with the following segfault on different java versions 8 and 11.0.15
`
[18:37:20] [INFO] [JMusicBot]: Loaded config from /home/music/JMusicBot/config.txt -- Wed, Jul 13 2022 8:37:20 pm | [18:37:20] [WARN] [Settings]: Failed to load server settings (this is normal if no settings have been set yet): java.nio.file.NoSuchFileException: serversettings.json Wed, Jul 13 2022 8:37:20 pm | [18:37:20] [INFO] [JDA]: Login Successful! Wed, Jul 13 2022 8:37:20 pm | [18:37:20] [INFO] [WebSocketClient]: Connected to WebSocket Wed, Jul 13 2022 8:37:20 pm | [18:37:20] [INFO] [JDA]: Finished Loading! Wed, Jul 13 2022 8:37:25 pm | [18:37:25] [INFO] [NativeLibraryLoader]: Native library libmpg123-0: loading with filter com.sedmelluq.discord.lavaplayer.natives.ConnectorNativeLibLoader$Lambda$242/0x000000080035e840@7fbc6323 Wed, Jul 13 2022 8:37:25 pm | [18:37:25] [INFO] [NativeLibraryLoader]: Native library connector: loading with filter null Wed, Jul 13 2022 8:37:25 pm | [18:37:25] [INFO] [NativeLibraryLoader]: Native library connector: successfully loaded. Wed, Jul 13 2022 8:37:25 pm | # Wed, Jul 13 2022 8:37:25 pm | # A fatal error has been detected by the Java Runtime Environment: Wed, Jul 13 2022 8:37:25 pm | # Wed, Jul 13 2022 8:37:25 pm | # SIGSEGV (0xb) at pc=0x00000000000072b6, pid=19, tid=59 Wed, Jul 13 2022 8:37:25 pm | # Wed, Jul 13 2022 8:37:25 pm | # JRE version: OpenJDK Runtime Environment (11.0.15+10) (build 11.0.15+10-alpine-r1) Wed, Jul 13 2022 8:37:25 pm | # Java VM: OpenJDK 64-Bit Server VM (11.0.15+10-alpine-r1, mixed mode, tiered, compressed oops, serial gc, linux-amd64) Wed, Jul 13 2022 8:37:25 pm | # Problematic frame: Wed, Jul 13 2022 8:37:25 pm | # C 0x00000000000072b6 Wed, Jul 13 2022 8:37:25 pm | # Wed, Jul 13 2022 8:37:25 pm | # Core dump will be written. Default location: //core Wed, Jul 13 2022 8:37:25 pm | # Wed, Jul 13 2022 8:37:25 pm | # An error report file with more information is saved as: Wed, Jul 13 2022 8:37:25 pm | # //hs_err_pid19.log Wed, Jul 13 2022 8:37:25 pm | # Wed, Jul 13 2022 8:37:25 pm | # If you would like to submit a bug report, please visit: Wed, Jul 13 2022 8:37:25 pm | # https://gitlab.alpinelinux.org/alpine/aports/issues Wed, Jul 13 2022 8:37:25 pm | # The crash happened outside the Java Virtual Machine in native code. Wed, Jul 13 2022 8:37:25 pm | # See problematic frame for where to report the bug.`
Steps to Reproduce
use this docker image: https://hub.docker.com/r/joahtheron/lagerhacklerone bind one volume to the mount point /Playlists
Expected Result
Play the songs
Debug Output
hs_err_pid88.log hs_err_pid19.log
Additional Info
No response
Checklist