Skip to content

[Bug]: Flaky container crash using apache/kafka-native image #11777

@vpelikh

Description

@vpelikh

Module

Kafka

Testcontainers version

2.0.5

Using the latest Testcontainers version?

Yes

Host OS

Linux

Host Arch

amd64

Docker version

Client: Docker Engine - Community
 Version:           24.0.6
 API version:       1.43
 Go version:        go1.20.7
 Git commit:        ed223bc
 Built:             Mon Sep  4 12:32:10 2023
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          28.3.3
  API version:      1.51 (minimum version 1.24)
  Go version:       go1.24.5
  Git commit:       bea959c
  Built:            Fri Jul 25 11:33:59 2025
  OS/Arch:          linux/amd64
  Experimental:     true
 containerd:
  Version:          1.7.27
  GitCommit:        05044ec0a9a75232cad458027ca83437aae3f4da
 runc:
  Version:          1.2.5
  GitCommit:        v1.2.5-0-g59923ef
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

What happened?

Problem

When running the official Apache Kafka native image (apache/kafka-native:4.2.0) through Testcontainers, the container sometimes crashes with a segfault during JVM initialisation.

The crash is flaky – it happens in some CI runs but not others.

Key crash excerpt

SegfaultHandler caught a segfault … si_addr: 0x000000000000002c (null pointer dereference)
…
Stacktrace for the failing thread 0x00007f88470b38c0 (A=AOT compiled, J=JIT compiled, D=deoptimized, i=inlined): SP 0x00007ffc4c049370 IP 0x00007f88470f49fd IP is not within Java code. 
Trying frame anchor of last Java frame instead. i SP 0x00007ffc4c049480 IP 0x00000000009842d8 size=64 
com.oracle.svm.core.posix.headers.Pwd.getpwuid(Pwd.java) A SP 0x00007ffc4c049480 IP 0x00000000009842d8 size=64 
com.oracle.svm.core.posix.PosixSystemPropertiesSupport.userNameValue(PosixSystemPropertiesSupport.java:46) i SP 0x00007ffc4c0494c0 IP 0x000000000093925b size=32 
com.oracle.svm.core.jdk.SystemPropertiesSupport.userName(SystemPropertiesSupport.java:248) A SP 0x00007ffc4c0494c0 IP 0x000000000093925b size=32 
com.oracle.svm.core.jdk.SystemPropertiesSupport$$Lambda$8e7767a00a53b264267399ed784ec3d5778abb7c.get(Unknown Source) A SP 0x00007ffc4c0494e0 IP 0x0000000000939a57 size=48 
com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:235) A SP 0x00007ffc4c049510 IP 0x0000000000939745 size=64 
com.oracle.svm.core.jdk.SystemPropertiesSupport.ensureFullyInitialized(SystemPropertiesSupport.java:159) i SP 0x00007ffc4c049550 IP 0x0000000003c59f25 size=32 
com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperties(SystemPropertiesSupport.java:175) i SP 0x00007ffc4c049550 IP 0x0000000003c59f25 size=32 
java.lang.System.getProperties(System.java:467) A SP 0x00007ffc4c049550 IP 0x0000000003c59f25 size=32 
org.apache.logging.log4j.status.StatusLogger$PropertiesUtilsDouble.readAllAvailableProperties(StatusLogger.java:406) A SP 0x00007ffc4c049570 IP 0x0000000003c57ab8 size=32 
org.apache.logging.log4j.status.StatusLogger$Config.<init>(StatusLogger.java:264) A SP 0x00007ffc4c049590 IP 0x0000000003c579fa size=32 
org.apache.logging.log4j.status.StatusLogger$Config.<clinit>(StatusLogger.java:219) A SP 0x00007ffc4c0495b0 IP 0x000000000088b79b size=16
…

Root Cause

  • The container runs as uid=1000. The name appuser is shown by the id command, but that does not mean appuser is present in /etc/passwd.
  • During JVM startup, the GraalVM native image tries to resolve user.name by calling getpwuid(1000).
  • If the UID 1000 has no entry in the container's user database (/etc/passwd / NSS), the call returns NULL. The native code dereferences this null pointer and crashes.
  • The crash is flaky because the presence of the user record depends on the Docker environment:
    • In some CI setups the container's filesystem is writable and the entrypoint successfully adds the user → no crash.
    • In others the filesystem may be read-only, or the entrypoint script silently fails → user remains absent → segfault.
    • Running as root (uid=0) avoids the bug completely because root is always present.

Workaround

Set both user.name and user.home as JVM system properties so the native image never calls getpwuid.
Add the following environment variable to your container configuration:

kafkaContainer.withEnv("JAVA_TOOL_OPTIONS", 
    "-Duser.home=/home/appuser -Duser.name=appuser");

With this change the container starts reliably.

Suggested improvement for Testcontainers

While the root cause lies in the Apache Kafka native image, it would be helpful if the Testcontainers documentation or examples for the Kafka module mentioned this known issue and the simple JAVA_TOOL_OPTIONS workaround. This would save others from debugging the same flaky segfault.

Relevant log output

12:34:07      [33m[apache/kafka-native:4.2.0][m : Log output from the failed container:
12:34:07      ===> User
12:34:07      uid=1000(appuser) gid=1000(appuser) groups=1000(appuser)
12:34:07      ===> Setting default values of environment variables if not already set.
12:34:07      ===> Configuring ...
12:34:07      Running in KRaft mode...
12:34:07      ===> Launching ... 
12:34:07      [ [ SegfaultHandler caught a segfault in thread 0x00007f88470b38c0 ] ] siginfo: si_signo: 11, si_code: 1, si_addr: 0x000000000000002c (heapBase - 140223215828948) General purpose register values: RAX 0x000000000000002d is an unknown value RBX 0x00007f884716be60 is an unknown value RCX 0x00007f8847040932 is an unknown value RDX 0x0000000000000000 RBP 0x00007f884716a240 is an unknown value RSI 0x000000000000003a is an unknown value RDI 0x00007f88470405ec is an unknown value RSP 0x00007ffc4c049370 points into the stack for thread 0x00007f88470b38c0 R8 0x00007f884716cf90 is an unknown value R9 0x0000000000000001 is an unknown value R10 0x0000000000000020 is an unknown value R11 0x00007f884716cf94 is an unknown value R12 0x00007f8847040560 is an unknown value R13 0x00007f884716be58 is an unknown value R14 0x00007ffc4c049468 points into the stack for thread 0x00007f88470b38c0 R15 0x0000000000000000 EFL 0x0000000000010206 is an unknown value RIP 0x00007f88470f49fd is an unknown value Printing instructions (ip=0x00007f88470f49fd): 0x00007f88470f48fd: 0x00 0x0f 0x84 0x5a 0xff 0xff 0xff 0xe9 0x4b 0xff 0xff 0xff 0x31 0xed 0xe9 0x45 0x00007f88470f490d: 0xfe 0xff 0xff 0x66 0x2e 0x0f 0x1f 0x84 0x00 0x00 0x00 0x00 0x00 0x66 0x0f 0x1f 0x00007f88470f491d: 0x44 0x00 0x00 0x41 0x56 0x4d 0x89 0xc6 0x41 0x55 0x49 0x89 0xcd 0x41 0x54 0x49 0x00007f88470f492d: 0x89 0xfc 0xbf 0x01 0x00 0x00 0x00 0x55 0x48 0x89 0xf5 0x53 0x48 0x89 0xd3 0x48 0x00007f88470f493d: 0x83 0xec 0x10 0x48 0x8d 0x74 0x24 0x0c 0xe8 0x8b 0x9c 0x03 0x00 0xe9 0x8f 0x00 0x00007f88470f494d: 0x00 0x00 0x4c 0x89 0xe7 0xe8 0xcb 0x19 0x03 0x00 0x4c 0x8b 0x2b 0x85 0xc0 0x0f 0x00007f88470f495d: 0x84 0x7c 0x01 0x00 0x00 0xe8 0xa3 0x35 0x01 0x00 0x4c 0x89 0xef 0x8b 0x28 0x49 0x00007f88470f496d: 0x89 0xc4 0xe8 0xec 0x56 0xfe 0xff 0x48 0xc7 0x03 0x00 0x00 0x00 0x00 0x8b 0x7c 0x00007f88470f497d: 0x24 0x0c 0x31 0xf6 0xe8 0x4f 0x9c 0x03 0x00 0x49 0xc7 0x06 0x00 0x00 0x00 0x00 0x00007f88470f498d: 0x85 0xed 0x74 0x04 0x41 0x89 0x2c 0x24 0x48 0x83 0xc4 0x10 0x89 0xe8 0x5b 0x5d 0x00007f88470f499d: 0x41 0x5c 0x41 0x5d 0x41 0x5e 0xc3 0x66 0x0f 0x1f 0x44 0x00 0x00 0x66 0x66 0x2e 0x00007f88470f49ad: 0x0f 0x1f 0x84 0x00 0x00 0x00 0x00 0x00 0x66 0x66 0x2e 0x0f 0x1f 0x84 0x00 0x00 0x00007f88470f49bd: 0x00 0x00 0x00 0x8d 0x14 0x92 0x48 0x83 0xc0 0x01 0x8d 0x54 0x51 0xd0 0x0f 0xbe 0x00007f88470f49cd: 0x08 0x8d 0x71 0xd0 0x83 0xfe 0x09 0x76 0xea 0x89 0x55 0x10 0x80 0x38 0x3a 0x74 0x00007f88470f49dd: 0x61 0x4c 0x89 0xe2 0x4c 0x89 0xee 0x48 0x89 0xdf 0xe8 0xe4 0x3a 0x03 0x00 0x48 0x00007f88470f49ed: 0x85 0xc0 0x0f 0x88 0x5a 0xff 0xff 0xff 0x48 0x8b 0x13 0xbe 0x3a 0x00 0x00 0x00 > 0x00007f88470f49fd: 0xc6 0x44 0x02 0xff 0x00 0x48 0x8b 0x3b 0x48 0x89 0x7d 0x00 0x48 0x83 0xc7 0x01 0x00007f88470f4a0d: 0xe8 0x2a 0x66 0x03 0x00 0x48 0x85 0xc0 0x74 0xc7 0x48 0x8d 0x78 0x01 0xc6 0x00 0x00007f88470f4a1d: 0x00 0xbe 0x3a 0x00 0x00 0x00 0x48 0x89 0x7d 0x08 0xe8 0x10 0x66 0x03 0x00 0x48 0x00007f88470f4a2d: 0x89 0xc2 0x48 0x85 0xc0 0x74 0xaa 0xc6 0x02 0x00 0x48 0x8d 0x40 0x01 0x31 0xd2 0x00007f88470f4a3d: 0xeb 0x8c 0xc6 0x00 0x00 0x48 0x8d 0x50 0x01 0x31 0xc0 0xeb 0x21 0x66 0x66 0x2e 0x00007f88470f4a4d: 0x0f 0x1f 0x84 0x00 0x00 0x00 0x00 0x00 0x66 0x66 0x2e 0x0f 0x1f 0x84 0x00 0x00 0x00007f88470f4a5d: 0x00 0x00 0x00 0x8d 0x04 0x80 0x48 0x83 0xc2 0x01 0x8d 0x44 0x41 0xd0 0x0f 0xbe 0x00007f88470f4a6d: 0x0a 0x8d 0x71 0xd0 0x83 0xfe 0x09 0x76 0xea 0x89 0x45 0x14 0x80 0x3a 0x3a 0x0f 0x00007f88470f4a7d: 0x85 0x5c 0xff 0xff 0xff 0x48 0x8d 0x7a 0x01 0xc6 0x02 0x00 0xbe 0x3a 0x00 0x00 0x00007f88470f4a8d: 0x00 0x48 0x89 0x7d 0x18 0xe8 0xa5 0x65 0x03 0x00 0x48 0x85 0xc0 0x0f 0x84 0x3e 0x00007f88470f4a9d: 0xff 0xff 0xff 0x48 0x8d 0x78 0x01 0xc6 0x00 0x00 0xbe 0x3a 0x00 0x00 0x00 0x48 0x00007f88470f4aad: 0x89 0x7d 0x20 0xe8 0x87 0x65 0x03 0x00 0x48 0x85 0xc0 0x0f 0x84 0x20 0xff 0xff 0x00007f88470f4abd: 0xff 0xc6 0x00 0x00 0x48 0x83 0xc0 0x01 0x8b 0x7c 0x24 0x0c 0x31 0xf6 0x48 0x89 0x00007f88470f4acd: 0x45 0x28 0xe8 0x01 0x9b 0x03 0x00 0x49 0x89 0x2e 0x31 0xed 0xe9 0xb7 0xfe 0xff 0x00007f88470f4add: 0xff 0x4c 0x89 0xef 0x31 0xed 0xe8 0x78 0x55 0xfe 0xff 0x48 0xc7 0x03 0x00 0x00 0x00007f88470f4aed: 0x00 0x00 0x8b 0x7c 0x24 0x0c 0x31 0xf6 0xe8 0xdb 0x9a 0x03 0x00 0xeb 0xd8 0x0f Top of stack (sp=0x00007ffc4c049370): 0x00007ffc4c049350: 0x00007f884716be58 0x00007ffc4c049468 0x0000000000000000 0x00007f88470f49ec > 0x00007ffc4c049370: 0x0000000000080000 0x0000000147126f25 0x00007ffc4c049468 0x0000000000000000 0x00007ffc4c049390: 0x00007f8847040560 0x00007f884716a240 0x00007f884716be60 0x00007f88470e0e94 0x00007ffc4c0493b0: 0x00007f8842ead218 0x00007f884716be58 0x000003e800000000 0x000000000145c628 0x00007ffc4c0493d0: 0x6b66616b2f616b66 0x0000000000979560 0x0000000002537ab8 0x000000000097cdda 0x00007ffc4c0493f0: 0x00007f8842cc1f28 0x000000000097d75d 0x00007f8842ead278 0x000000000097e215 0x00007ffc4c049410: 0x00007f8842cc1f28 0x000000000097e425 0x0000000d43be0930 0x0000000001462970 0x00007ffc4c049430: 0x00007f88452e7730 0x00000000009842d8 0x00007ffc4c049490 0x00007f8842f80000 0x00007ffc4c049450: 0x00007f88470b38c0 0x00007f88471212f6 0x00007f8844c473b8 0x00007f884716a240 0x00007ffc4c049470: 0x00007f8843ec0bd0 0x00000000009842eb 0x0000000000f40bd0 0x000000000097cdda 0x00007ffc4c049490: 0x00000000009842d8 0x00007ffc4c049480 0x0000000000000000 0x00000000018b8ed1 0x00007ffc4c0494b0: 0x00007f88452e7730 0x000000000093925b 0x00007f88452e7850 0x00007f8843eaa510 0x00007ffc4c0494d0: 0x00007f8844d66148 0x0000000000939a57 0x000000004e800000 0x00007f8844ff6690 0x00007ffc4c0494f0: 0x00007f8844d665c0 0x00007f8843eaa510 0x00007f8844ff6648 0x0000000000939745 0x00007ffc4c049510: 0x0000000000f48710 0x0000000001472300 0x00000000015bb578 0x00007f8842ead040 0x00007ffc4c049530: 0x00007f8844d66148 0x00000000018aee70 0x00000000018ae4f0 0x0000000003c59f25 0x00007ffc4c049550: 0x0000000000000001 0x000000010000fd81 0x00007f8843ec8710 0x0000000003c57ab8 VM thread locals for the failing thread 0x00007f88470b38c0: 0 (8 bytes): JNIThreadLocalEnvironment.jniFunctions = (bytes) 0x00007f88470b38c0: 0x00007f88443ed010 8 (8 bytes): StackOverflowCheckImpl.stackBoundaryTL = (Word) 1 (0x0000000000000001) 16 (4 bytes): Safepoint.safepointRequested = (int) 2147436888 (0x7fff4958) 20 (4 bytes): StatusSupport.statusTL = (int) 1 (0x00000001) 24 (32 bytes): ThreadLocalAllocation.regularTLAB = (bytes) 0x00007f88470b38d8: 0x00007f8842e80000 0x00007f8842f00000 0x00007f88470b38e8: 0x00007f8842ead310 0x0000000000000000 56 (8 bytes): PlatformThreads.currentThread = (Object) java.lang.Thread (0x00007f8844c9db10) 64 (8 bytes): JavaFrameAnchors.lastAnchor = (Word) 140721583854736 (0x00007ffc4c049490) 72 (8 bytes): PlatformThreads.currentVThreadId = (long) 1 (0x0000000000000001) 80 (8 bytes): ExceptionUnwind.currentException = (Object) null 88 (8 bytes): IdentityHashCodeSupport.hashCodeGeneratorTL = (Object) null 96 (8 bytes): IsolatedCompileClient.currentClient = (Object) null 104 (8 bytes): IsolatedCompileContext.currentContext = (Object) null 112 (8 bytes): JNIObjectHandles.handles = (Object) com.oracle.svm.core.handles.ThreadLocalHandles (0x00007f8842e80cf0) 120 (8 bytes): JNIThreadLocalPendingException.pendingException = (Object) null 128 (8 bytes): JNIThreadLocalReferencedObjects.referencedObjectsListHead = (Object) null 136 (8 bytes): JNIThreadOwnedMonitors.ownedMonitors = (Object) null 144 (8 bytes): NoAllocationVerifier.openVerifiers = (Object) null 152 (8 bytes): ThreadingSupportImpl.activeTimer = (Object) null 160 (8 bytes): ActionOnExitSafepointSupport.returnIP = (Word) 0 (0x0000000000000000) 168 (8 bytes): ActionOnExitSafepointSupport.returnSP = (Word) 0 (0x0000000000000000) 176 (8 bytes): SubstrateDiagnostics.threadOnlyAttachedForCrashHandler = (bytes) 0x00007f88470b3970: 0x0000000000000000 184 (8 bytes): ThreadLocalAllocation.allocatedBytes = (Word) 0 (0x0000000000000000) 192 (8 bytes): VMThreads.IsolateTL = (Word) 140223215828992 (0x00007f8842f80000) 200 (8 bytes): VMThreads.OSThreadHandleTL = (Word) 140223284951848 (0x00007f884716bb28) 208 (8 bytes): VMThreads.OSThreadIdTL = (Word) 14 (0x000000000000000e) 216 (8 bytes): VMThreads.StackBase = (Word) 140721583861760 (0x00007ffc4c04b000) 224 (8 bytes): VMThreads.StackEnd = (Word) 140721583730688 (0x00007ffc4c02b000) 232 (8 bytes): VMThreads.StartedByCurrentIsolate = (bytes) 0x00007f88470b39a8: 0x0000000000000000 240 (8 bytes): VMThreads.nextTL = (Word) 0 (0x0000000000000000) 248 (8 bytes): VMThreads.unalignedIsolateThreadMemoryTL = (Word) 140223284197520 (0x00007f88470b3890) 256 (4 bytes): ActionOnExitSafepointSupport.actionTL = (int) 0 (0x00000000) 260 (4 bytes): ActionOnTransitionToJavaSupport.actionTL = (int) 0 (0x00000000) 264 (4 bytes): ImplicitExceptions.implicitExceptionsAreFatal = (int) 0 (0x00000000) 268 (4 bytes): StackOverflowCheckImpl.yellowZoneStateTL = (int) 2130640638 (0x7efefefe) 272 (4 bytes): StatusSupport.safepointBehaviorTL = (int) 1 (0x00000001) 276 (4 bytes): ThreadingSupportImpl.currentPauseDepth = (int) 0 (0x00000000) Java frame anchors for the failing thread 0x00007f88470b38c0: Anchor 0x00007ffc4c049490 LastJavaSP 0x00007ffc4c049480 LastJavaIP 0x00000000009842d8 Stacktrace for the failing thread 0x00007f88470b38c0 (A=AOT compiled, J=JIT compiled, D=deoptimized, i=inlined): SP 0x00007ffc4c049370 IP 0x00007f88470f49fd IP is not within Java code. Trying frame anchor of last Java frame instead. i SP 0x00007ffc4c049480 IP 0x00000000009842d8 size=64 com.oracle.svm.core.posix.headers.Pwd.getpwuid(Pwd.java) A SP 0x00007ffc4c049480 IP 0x00000000009842d8 size=64 com.oracle.svm.core.posix.PosixSystemPropertiesSupport.userNameValue(PosixSystemPropertiesSupport.java:46) i SP 0x00007ffc4c0494c0 IP 0x000000000093925b size=32 com.oracle.svm.core.jdk.SystemPropertiesSupport.userName(SystemPropertiesSupport.java:248) A SP 0x00007ffc4c0494c0 IP 0x000000000093925b size=32 com.oracle.svm.core.jdk.SystemPropertiesSupport$$Lambda$8e7767a00a53b264267399ed784ec3d5778abb7c.get(Unknown Source) A SP 0x00007ffc4c0494e0 IP 0x0000000000939a57 size=48 com.oracle.svm.core.jdk.SystemPropertiesSupport.initializeLazyValue(SystemPropertiesSupport.java:235) A SP 0x00007ffc4c049510 IP 0x0000000000939745 size=64 com.oracle.svm.core.jdk.SystemPropertiesSupport.ensureFullyInitialized(SystemPropertiesSupport.java:159) i SP 0x00007ffc4c049550 IP 0x0000000003c59f25 size=32 com.oracle.svm.core.jdk.SystemPropertiesSupport.getProperties(SystemPropertiesSupport.java:175) i SP 0x00007ffc4c049550 IP 0x0000000003c59f25 size=32 java.lang.System.getProperties(System.java:467) A SP 0x00007ffc4c049550 IP 0x0000000003c59f25 size=32 org.apache.logging.log4j.status.StatusLogger$PropertiesUtilsDouble.readAllAvailableProperties(StatusLogger.java:406) A SP 0x00007ffc4c049570 IP 0x0000000003c57ab8 size=32 org.apache.logging.log4j.status.StatusLogger$Config.<init>(StatusLogger.java:264) A SP 0x00007ffc4c049590 IP 0x0000000003c579fa size=32 org.apache.logging.log4j.status.StatusLogger$Config.<clinit>(StatusLogger.java:219) A SP 0x00007ffc4c0495b0 IP 0x000000000088b79b size=16 com.oracle.svm.core.classinitialization.ClassInitializationInfo.invokeClassInitializer(ClassInitializationInfo.java:407) A SP 0x00007ffc4c0495c0 IP 0x000000000088a185 size=64 com.oracle.svm.core.classinitialization.ClassInitializationInfo.doInitialize(ClassInitializationInfo.java:323) A SP 0x00007ffc4c049600 IP 0x000000000088a727 size=448 com.oracle.svm.core.classinitialization.ClassInitializationInfo.initialize(ClassInitializationInfo.java:272) A SP 0x00007ffc4c0497c0 IP 0x0000000003c5b1c5 size=64 org.apache.logging.log4j.status.StatusLogger.<init>(StatusLogger.java:533) A SP 0x00007ffc4c049800 IP 0x0000000003c597cf size=32 org.apache.logging.log4j.status.StatusLogger$InstanceHolder.<clinit>(StatusLogger.java:506) A SP 0x00007ffc4c049820 IP 0x000000000088b79b size=16 com.oracle.svm.core.classinitialization.ClassInitializationInfo.invokeClassInitializer(ClassInitializationInfo.java:407) A SP 0x00007ffc4c049830 IP 0x000000000088a185 size=64 com.oracle.svm.core.classinitialization.ClassInitializationInfo.doInitialize(ClassInitializationInfo.java:323) A SP 0x00007ffc4c049870 IP 0x000000000088a727 size=448 com.oracle.svm.core.classinitialization.ClassInitializationInfo.initialize(ClassInitializationInfo.java:272) i SP 0x00007ffc4c049a30 IP 0x0000000003c7ab5b size=16 org.apache.logging.log4j.status.StatusLogger.getLogger(StatusLogger.java:565) A SP 0x00007ffc4c049a30 IP 0x0000000003c7ab5b size=16 org.apache.logging.slf4j.Log4jLoggerFactory.<clinit>(Log4jLoggerFactory.java:34) A SP 0x00007ffc4c049a40 IP 0x000000000088b79b size=16 com.oracle.svm.core.classinitialization.ClassInitializationInfo.invokeClassInitializer(ClassInitializationInfo.java:407) A SP 0x00007ffc4c049a50 IP 0x000000000088a185 size=64 com.oracle.svm.core.classinitialization.ClassInitializationInfo.doInitialize(ClassInitializationInfo.java:323) A SP 0x00007ffc4c049a90 IP 0x000000000088a727 size=448 com.oracle.svm.core.classinitialization.ClassInitializationInfo.initialize(ClassInitializationInfo.java:272) A SP 0x00007ffc4c049c50 IP 0x0000000003dc1ad3 size=48 org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:54) A SP 0x00007ffc4c049c80 IP 0x0000000003dc15e9 size=32 org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:42) A SP 0x00007ffc4c049ca0 IP 0x000000000088b79b size=16 com.oracle.svm.core.classinitialization.ClassInitializationInfo.invokeClassInitializer(ClassInitializationInfo.java:407) A SP 0x00007ffc4c049cb0 IP 0x000000000088a185 size=64 com.oracle.svm.core.classinitialization.ClassInitializationInfo.doInitialize(ClassInitializationInfo.java:323) A SP 0x00007ffc4c049cf0 IP 0x000000000088a727 size=448 com.oracle.svm.core.classinitialization.ClassInitializationInfo.initialize(ClassInitializationInfo.java:272) A SP 0x00007ffc4c049eb0 IP 0x0000000003db1215 size=48 org.slf4j.LoggerFactory.bind(LoggerFactory.java:150) A SP 0x00007ffc4c049ee0 IP 0x0000000003db2d43 size=16 org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124) A SP 0x00007ffc4c049ef0 IP 0x0000000003db2448 size=48 org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:417) A SP 0x00007ffc4c049f20 IP 0x0000000003db2b48 size=32 org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362) A SP 0x00007ffc4c049f40 IP 0x00000000012bcf7b size=32 com.typesafe.scalalogging.Logger$.apply(Logger.scala:31) A SP 0x00007ffc4c049f60 IP 0x0000000002336ede size=32 kafka.utils.Log4jControllerRegistration$.<clinit>(Logging.scala:25) A SP 0x00007ffc4c049f80 IP 0x000000000088b79b size=16 com.oracle.svm.core.classinitialization.ClassInitializationInfo.invokeClassInitializer(ClassInitializationInfo.java:407) A SP 0x00007ffc4c049f90 IP 0x000000000088a185 size=64 com.oracle.svm.core.classinitialization.ClassInitializationInfo.doInitialize(ClassInitializationInfo.java:323) A SP 0x00007ffc4c049fd0 IP 0x000000000088a727 size=448 com.oracle.svm.core.classinitialization.ClassInitializationInfo.initialize(ClassInitializationInfo.java:272) A SP 0x00007ffc4c04a190 IP 0x0000000001f66ade size=16 kafka.docker.KafkaDockerWrapper$.<clinit>(KafkaDockerWrapper.scala:37) A SP 0x00007ffc4c04a1a0 IP 0x000000000088b79b size=16 com.oracle.svm.core.classinitialization.ClassInitializationInfo.invokeClassInitializer(ClassInitializationInfo.java:407) A SP 0x00007ffc4c04a1b0 IP 0x000000000088a185 size=64 com.oracle.svm.core.classinitialization.ClassInitializationInfo.doInitialize(ClassInitializationInfo.java:323) A SP 0x00007ffc4c04a1f0 IP 0x000000000088a727 size=448 com.oracle.svm.core.classinitialization.ClassInitializationInfo.initialize(ClassInitializationInfo.java:272) i SP 0x00007ffc4c04a3b0 IP 0x0000000000877d10 size=16 kafka.docker.KafkaDockerWrapper.main(KafkaDockerWrapper.scala) i SP 0x00007ffc4c04a3b0 IP 0x0000000000877d10 size=16 java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH) i SP 0x00007ffc4c04a3b0 IP 0x0000000000877d10 size=16 com.oracle.svm.core.JavaMainWrapper.invokeMain(JavaMainWrapper.java:181) A SP 0x00007ffc4c04a3b0 IP 0x0000000000877d10 size=16 com.oracle.svm.core.JavaMainWrapper.runCore0(JavaMainWrapper.java:237) i SP 0x00007ffc4c04a3c0 IP 0x00000000008779f0 size=48 com.oracle.svm.core.JavaMainWrapper.runCore(JavaMainWrapper.java:204) A SP 0x00007ffc4c04a3c0 IP 0x00000000008779f0 size=48 com.oracle.svm.core.JavaMainWrapper.doRun(JavaMainWrapper.java:293) i SP 0x00007ffc4c04a3f0 IP 0x00000000008f0edb size=96 com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:279) A SP 0x00007ffc4c04a3f0 IP 0x00000000008f0edb size=96 com.oracle.svm.core.code.IsolateEnterStub.JavaMainWrapper_run_5087f5482cc9a6abc971913ece43acb471d2631b(IsolateEnterStub.java:0) Threads: 0x00007f8847098a80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "Signal Dispatcher" - 0x00007f8842ea2748, daemon, stack(0x00007f8842f61000,0x00007f8842f7fb20) 0x00007f88470988c0 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "Performance data" - 0x00007f8844c9c050, daemon, stack(0x00007f884704d000,0x00007f884706bb20) 0x00007f88470b3a80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "Reference Handler" - 0x00007f8844c9dbd0, daemon, stack(0x00007f8847070000,0x00007f884708eb20) 0x00007f88470b38c0 STATUS_IN_JAVA (PREVENT_VM_FROM_REACHING_SAFEPOINT) "main" - 0x00007f8844c9db10, stack(0x00007ffc4c02b000,0x00007ffc4c04b000) No VMOperation in progress The 30 most recent VM operation status changes: VM mutexes: mutex "RealLog.backTracePrinterMutex" is unlocked. mutex "mainVMOperationControlWorkQueue" is unlocked. mutex "perfDataInitialization" is unlocked. mutex "referencePendingList" is unlocked. mutex "thread" is unlocked. General information: VM version: 21.0.2+13, linux/amd64 Current timestamp: 1779183178559 VM uptime: 0.007s AOT compiled code: 0x0000000000408000 - 0x000000000473395f CPU features used for AOT compiled code: CX8, CMOV, FXSR, MMX, SSE, SSE2 Command line: 'setup' '--default-configs-dir' '/etc/kafka/docker' '--mounted-configs-dir' '/mnt/shared/config' '--final-configs-dir' '/opt/kafka/config' Heap settings and statistics: Supports isolates: true Heap base: 0x00007f8842f80000 Object reference size: 8 Aligned chunk size: 524288 Large array threshold: 131072 Incremental collections: 0 Complete collections: 0 Heap usage: Eden: 2.00M (0.00M in 0 aligned chunks, 0.00M in 0 unaligned chunks) Old: 0.00M (0.00M in 0 aligned chunks, 0.00M in 0 unaligned chunks) Native image heap boundaries: ReadOnly Primitives: 0x00007f8843000830 - 0x00007f8843d377e0 ReadOnly References: 0x00007f8843d377e0 - 0x00007f88443ecc70 ReadOnly Relocatables: 0x00007f88443ed000 - 0x00007f8844961448 Writable Primitives: 0x00007f8844962000 - 0x00007f8844ade5d0 Writable References: 0x00007f8844ade5d0 - 0x00007f884554f748 Writable Huge: 0x00007f8845580038 - 0x00007f8845736b78 ReadOnly Huge: 0x00007f8845737038 - 0x00007f884702a0d8 Heap chunks: E=eden, S=survivor, O=old, F=free; A=aligned chunk, U=unaligned chunk; T=to space Segfault detected, aborting process. Use '-XX:-InstallSegfaultHandler' to disable the segfault handler at run time and create a core dump instead. Rebuild with '-R:-InstallSegfaultHandler' to disable the handler permanently at build time.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions