You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm trying to slightly modify DataHub project. But when I'm trying to start it up, I'm getting SIGSEGV with following log. Is this problem within jnr-posix?
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000000005e30, pid=1, tid=76
#
# JRE version: OpenJDK Runtime Environment (17.0.13+11) (build 17.0.13+11-alpine-r0)
# Java VM: OpenJDK 64-Bit Server VM (17.0.13+11-alpine-r0, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# C [jffi8944847534781830069.so+0x7f7c] jffi_throwExceptionByName+0xfc
#
# Core dump will be written. Default location: //core
#
# If you would like to submit a bug report, please visit:
# https://gitlab.alpinelinux.org/alpine/aports/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- S U M M A R Y ------------
Command Line: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5003 /datahub/datahub-upgrade/bin/datahub-upgrade.jar -u SystemUpdate
Host: AArch64, 4 cores, 7G, Alpine Linux v3.21
Time: Wed Jan 29 10:26:13 2025 UTC elapsed time: 16.351037 seconds (0d 0h 0m 16s)
--------------- T H R E A D ---------------
Current thread (0x0000e326d40c3cd0): JavaThread "s0-admin-0" [_thread_in_native, id=76, stack(0x0000e326cca01000,0x0000e326ccbffa88)]
Stack: [0x0000e326cca01000,0x0000e326ccbffa88], sp=0x0000e326ccbfb460, free space=2025k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [jffi8944847534781830069.so+0x7f7c] jffi_throwExceptionByName+0xfc
C [jffi8944847534781830069.so+0xc070] Java_com_kenai_jffi_Foreign_dlsym+0xe0
j com.kenai.jffi.Foreign.dlsym(JLjava/lang/String;)J+0
j com.kenai.jffi.Library.getSymbolAddress(Ljava/lang/String;)J+10
j jnr.ffi.provider.jffi.NativeLibrary.getSymbolAddress(Ljava/lang/String;)J+31
j jnr.ffi.provider.jffi.NativeLibrary.findSymbolAddress(Ljava/lang/String;)J+2
j jnr.ffi.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(Ljnr/ffi/provider/jffi/NativeLibrary;Ljava/lang/Class;Ljava/util/Map;Ljnr/ffi/provider/jffi/AsmClassLoader;)Ljava/lang/Object;+442
j jnr.ffi.provider.jffi.AsmLibraryLoader.loadLibrary(Ljnr/ffi/provider/jffi/NativeLibrary;Ljava/lang/Class;Ljava/util/Map;Z)Ljava/lang/Object;+46
j jnr.ffi.provider.jffi.NativeLibraryLoader.loadLibrary(Ljava/lang/Class;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Map;Z)Ljava/lang/Object;+33
j jnr.ffi.LibraryLoader.load()Ljava/lang/Object;+190
j jnr.posix.POSIXFactory$DefaultLibCProvider$SingletonHolder.<clinit>()V+106
v ~StubRoutines::call_stub
V [libjvm.so+0x584348]
V [libjvm.so+0x560520]
V [libjvm.so+0x5626b0]
V [libjvm.so+0x7c2024]
V [libjvm.so+0x7c22a8]
V [libjvm.so+0x57ea7c]
V [libjvm.so+0x57f318]
j jnr.posix.POSIXFactory$DefaultLibCProvider.getLibC()Ljnr/posix/LibC;+0
j jnr.posix.BaseNativePOSIX.<init>(Ljnr/posix/LibCProvider;Ljnr/posix/POSIXHandler;)V+22
j jnr.posix.LinuxPOSIX.<init>(Ljnr/posix/LibCProvider;Ljnr/posix/POSIXHandler;)V+3
j jnr.posix.POSIXFactory.loadLinuxPOSIX(Ljnr/posix/POSIXHandler;)Ljnr/posix/POSIX;+8
j jnr.posix.POSIXFactory.loadNativePOSIX(Ljnr/posix/POSIXHandler;)Ljnr/posix/POSIX;+66
j jnr.posix.POSIXFactory.loadPOSIX(Ljnr/posix/POSIXHandler;Z)Ljnr/posix/POSIX;+7
j jnr.posix.LazyPOSIX.loadPOSIX()Ljnr/posix/POSIX;+23
j jnr.posix.LazyPOSIX.posix()Ljnr/posix/POSIX;+15
j jnr.posix.LazyPOSIX.getpid()I+1
j com.datastax.oss.driver.internal.core.os.JnrLibc.lambda$loadPosix$0(Ljnr/posix/POSIX;)V+1
j com.datastax.oss.driver.internal.core.os.JnrLibc$$Lambda$2298+0x0000008001d8ba60.accept(Ljava/lang/Object;)V+4
j com.datastax.oss.driver.internal.core.os.JnrLibc.catchAll(Ljnr/posix/POSIX;Ljava/util/function/Consumer;Ljava/lang/String;)Ljava/util/Optional;+2
j com.datastax.oss.driver.internal.core.os.JnrLibc.lambda$loadPosix$1(Ljnr/posix/POSIX;)Ljava/util/Optional;+9
j com.datastax.oss.driver.internal.core.os.JnrLibc$$Lambda$2297+0x0000008001d8b818.apply(Ljava/lang/Object;)Ljava/lang/Object;+8
J 8015 c1 java.util.Optional.flatMap(Ljava/util/function/Function;)Ljava/util/Optional; [email protected] (38 bytes) @ 0x0000e326eb0164c0 [0x0000e326eb016400+0x00000000000000c0]
j com.datastax.oss.driver.internal.core.os.JnrLibc.loadPosix()Ljava/util/Optional;+20
j com.datastax.oss.driver.internal.core.os.JnrLibc.<init>()V+6
j com.datastax.oss.driver.internal.core.os.Native$LibcLoader.load()Lcom/datastax/oss/driver/internal/core/os/Libc;+29
j com.datastax.oss.driver.internal.core.os.Native.<clinit>()V+16
v ~StubRoutines::call_stub
V [libjvm.so+0x584348]
V [libjvm.so+0x560520]
V [libjvm.so+0x5626b0]
V [libjvm.so+0x7c48e8]
V [libjvm.so+0x7c4b28]
V [libjvm.so+0x57ef3c]
V [libjvm.so+0x57f200]
j com.datastax.oss.driver.internal.core.time.Clock.getInstance(Z)Lcom/datastax/oss/driver/internal/core/time/Clock;+22
j com.datastax.oss.driver.internal.core.time.MonotonicTimestampGenerator.buildClock(Lcom/datastax/oss/driver/api/core/context/DriverContext;)Lcom/datastax/oss/driver/internal/core/time/Clock;+24
j com.datastax.oss.driver.internal.core.time.MonotonicTimestampGenerator.<init>(Lcom/datastax/oss/driver/api/core/context/DriverContext;)V+2
j com.datastax.oss.driver.internal.core.time.AtomicTimestampGenerator.<init>(Lcom/datastax/oss/driver/api/core/context/DriverContext;)V+2
v ~StubRoutines::call_stub
....
The text was updated successfully, but these errors were encountered:
gallyamb
changed the title
JVM SIGSEGV on Mac M3 Pro Sonoma 14.4 with Java 17.0.13-tem
JVM SIGSEGV on Mac M3 Pro Sonoma 14.4 with Java 17.0.13-tem with v3.1.15
Jan 29, 2025
Hard to tell from this output if it is our bug or something on your end. Can you test another platform? If you can provide instructions to reproduce I can try it on my Mac too.
Unfortunately, I have no stable minimal reproducing example. This error occurs when I add a dependency from our internal Java library into the dependencies of the https://github.com/datahub-project/datahub project
As far as I could observe, this dependency (and its' transitive ones) does not bring any native code related library, so I just tried luck here 😅
Hi! I'm trying to slightly modify DataHub project. But when I'm trying to start it up, I'm getting SIGSEGV with following log. Is this problem within jnr-posix?
The text was updated successfully, but these errors were encountered: