Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on docker alpine image #256

Open
nbvmvbm43542 opened this issue Sep 24, 2023 · 1 comment
Open

Crash on docker alpine image #256

nbvmvbm43542 opened this issue Sep 24, 2023 · 1 comment

Comments

@nbvmvbm43542
Copy link

see #56

# alpine version
FROM eclipse-temurin:20.0.2_9-jre-alpine
# application with libtorrent4j
COPY server.war server.war
# missing ld-linux-x86-64.so file
RUN apk add gcompat

latest version
org.libtorrent4j:libtorrent4j-linux:2.1.0-30

libtorrent4j.so is also in classpath

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000000001ad9e6, pid=1, tid=55
#
# JRE version: OpenJDK Runtime Environment Temurin-20.0.2+9 (20.0.2+9) (build 20.0.2+9)
# Java VM: OpenJDK 64-Bit Server VM Temurin-20.0.2+9 (20.0.2+9, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libtorrent4j.so+0x23934f]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# //hs_err_pid1.log
[63.072s][warning][os] Loading hsdis library failed
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
@nbvmvbm43542
Copy link
Author

tested also with org.libtorrent4j:libtorrent4j-linux:2.1.0-31 and eclipse-temurin:21-jre-alpine

# Problematic frame:
# C  [libtorrent4j.so+0x236cef]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant