Unable to start YourKit 2024.3 with Docker apline

Questions about YourKit Java Profiler
Locked
dpishchukhin
Posts: 3
Joined: Sat May 11, 2024 9:51 am

Unable to start YourKit 2024.3 with Docker apline

Post by dpishchukhin »

Dockerfile

Code: Select all

FROM bellsoft/liberica-openjre-alpine:21.0.3

COPY libyjpagent.so /usr/local/lib/libyjpagent.so
COPY HelloWorld.class /usr/src/app/HelloWorld.class

WORKDIR /usr/src/app

EXPOSE 10001

CMD ["java", "-agentpath:/usr/local/lib/libyjpagent.so=port=10001,listen=all", "HelloWorld"]
Error

Code: Select all

/usr/src/app # java -agentpath:/usr/local/lib/libyjpagent.so=port=10001,listen=all HelloWorld
[YourKit Java Profiler 2024.3-b152] Log file: /root/.yjp/log/HelloWorld-7.log
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000ffffaff3d3bc, pid=7, tid=8
#
# JRE version:  (21.0.3+10) (build )
# Java VM: OpenJDK 64-Bit Server VM (21.0.3+10-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# C  [libc.musl-aarch64.so.1+0x603bc]  __tls_get_addr+0xc
#
# 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:
# /usr/src/app/hs_err_pid7.log
hs_err_pid7.log

Code: Select all

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000ffffaff3d3bc, pid=7, tid=8
#
# JRE version:  (21.0.3+10) (build )
# Java VM: OpenJDK 64-Bit Server VM (21.0.3+10-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# C  [libc.musl-aarch64.so.1+0x603bc]  __tls_get_addr+0xc
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
#

---------------  S U M M A R Y ------------

Command Line: -agentpath:/usr/local/lib/libyjpagent.so=port=10001,listen=all HelloWorld

Host: AArch64, 8 cores, 31G, Alpine Linux v3.19
Time: Sat May 11 10:07:10 2024 UTC elapsed time: 0.013856 seconds (0d 0h 0m 0s)

---------------  T H R E A D  ---------------

Current thread is native thread

Stack: [0x0000ffffaeb2e000,0x0000ffffaed2c000],  sp=0x0000ffffaed29010,  free space=2028k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.musl-aarch64.so.1+0x603bc]  __tls_get_addr+0xc
C  [libyjpagent.so+0x766d28]
C  [libyjpagent.so+0x7b36e0]
C  [libyjpagent.so+0x11dd40]
C  [libyjpagent.so+0x1231e4]
C  [libyjpagent.so+0x20d670]
C  [libyjpagent.so+0x20fe34]  Agent_OnLoad+0x204
V  [libjvm.so+0x79efa0]  invoke_Agent_OnLoad(JvmtiAgent*) [clone .lto_priv.0]+0x70
V  [libjvm.so+0x70e6a0]  JNI_CreateJavaVM+0xf80
C  [libjli.so+0x44f8]  JavaMain+0x78
C  [libjli.so+0x7c1c]  ThreadJavaMain+0xc
C  [libpthread.so.0+0x77e4]

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000020

Registers:
R0=0x0000000000000040
R1=0x0000000000000000
R2=0x0000000000000004
R3=0x0000000000000004
R4=0x0000ffffaed2b8e0
R5=0x0000ffffa80f5205
R6=0x454d414e54534f48
R7=0x323962323261353d
R8=0x0000000000000000
R9=0x0000ffffaed2b8e0
R10=0x0000000000000040
R11=0x0000000000000000
R12=0x323261353d454d41
R13=0x3131653834323962
R14=0x0000000000000014
R15=0x0000000000000001
R16=0x0000ffffb01d5018
R17=0x0000ffffaff3d3b0
R18=0x000000000000000f
R19=0x0000000000000000
R20=0x0000ffffa80f51c0
R21=0x0000ffffaed294c8
R22=0x0000ffffa80e1290
R23=0x0000000000000028
R24=0x0000ffffaed294f0
R25=0x0000ffffaed29508
R26=0x0000000000000001
R27=0x0000ffffaed294f8
R28=0x0000ffffa80e12c0
R29=0x0000ffffaed29210
R30=0x0000ffffb01ba2b4


Top of Stack: (sp=0x0000ffffaed29010)
0x0000ffffaed29010:   0000000000000000 0000000000000000
0x0000ffffaed29020:   0000000000000000 0000000000000000
0x0000ffffaed29030:   000000000a372d30 0000000000000000
0x0000ffffaed29040:   0000000000000000 0000000000000000
0x0000ffffaed29050:   0000000040000000 0000000000000000
0x0000ffffaed29060:   4010040140100401 4010040140100401
0x0000ffffaed29070:   0000004000000000 0000004000000000
0x0000ffffaed29080:   8020080280200802 8020080280200802
0x0000ffffaed29090:   0000ffffb015cc10 0000000000000000
0x0000ffffaed290a0:   0000ffffd9c94ef0 0000000000000000
0x0000ffffaed290b0:   0000000000000000 0000000000000000
0x0000ffffaed290c0:   0000000000000000 0000000000000000
0x0000ffffaed290d0:   0000000000000000 0000000000000000
0x0000ffffaed290e0:   0000000000000000 0000000000000000
0x0000ffffaed290f0:   0000000000000000 0000000000000000
0x0000ffffaed29100:   0000000000000000 0000000000000000
0x0000ffffaed29110:   4010040140100401 4010040140100401
0x0000ffffaed29120:   0040000090000000 0000400000000000
0x0000ffffaed29130:   0000000000000000 0000000040000000
0x0000ffffaed29140:   00ca209e4a7a1c55 675fd07558980525
0x0000ffffaed29150:   e0c2a1f5631fc628 c257a169a171c5a4
0x0000ffffaed29160:   6feb0e326f212eac 502cdb6237730b17
0x0000ffffaed29170:   298e1644c94cb7b1 4aa8728988ffd3e0
0x0000ffffaed29180:   d6086039b9e36e0b b157b04ce17b6b2e
0x0000ffffaed29190:   76be7de8ac55fd09 285469e90c29f30a
0x0000ffffaed291a0:   0000000000000000 0000000000030000
0x0000ffffaed291b0:   0000000000000000 0000000000003000
0x0000ffffaed291c0:   76be7de8ac55fd09 285469e90c29f30a
0x0000ffffaed291d0:   0000000000000000 0000000000000030
0x0000ffffaed291e0:   0000000000000000 0000000000000003
0x0000ffffaed291f0:   0003000000000000 0000000000000000
0x0000ffffaed29200:   0000300000000000 0000000000000000

Instructions: (pc=0x0000ffffaff3d3bc)
0x0000ffffaff3d2bc:   f3 53 41 a9 f5 5b 42 a9 f7 63 43 a9 fd 7b c5 a8
0x0000ffffaff3d2cc:   c0 03 5f d6 18 07 00 91 00 04 00 d1 21 00 18 8b
0x0000ffffaff3d2dc:   e0 07 04 a9 e1 ff ff 17 c0 0d 80 52 f5 ff ff 17
0x0000ffffaff3d2ec:   17 00 80 d2 de ff ff 17 e1 03 15 aa e4 03 17 aa
0x0000ffffaff3d2fc:   e3 03 14 aa 06 00 80 d2 05 00 80 d2 02 00 80 d2
0x0000ffffaff3d30c:   40 0c 80 d2 ba ff ff 97 e1 03 00 2a e1 ff ff 17
0x0000ffffaff3d31c:   3f 10 00 31 21 fe ff 54 00 03 00 d0 00 a4 4e b9
0x0000ffffaff3d32c:   1f 00 00 71 e0 07 9f 1a 00 74 1e 53 e1 ff ff 17
0x0000ffffaff3d33c:   fd 7b bb a9 fd 03 00 91 f3 53 01 a9 f3 03 00 aa
0x0000ffffaff3d34c:   f4 03 01 2a 20 00 80 52 e1 33 01 91 f5 5b 02 a9
0x0000ffffaff3d35c:   f5 03 02 2a f6 03 03 aa f7 1b 00 f9 f7 03 04 2a
0x0000ffffaff3d36c:   1f 0e 00 94 e4 03 17 2a e3 03 16 aa e2 03 15 2a
0x0000ffffaff3d37c:   e1 03 14 2a e0 03 13 aa 9e ff ff 97 f3 03 00 2a
0x0000ffffaff3d38c:   e0 4f 40 b9 01 00 80 d2 15 0e 00 94 f5 5b 42 a9
0x0000ffffaff3d39c:   e0 03 13 2a f3 53 41 a9 f7 1b 40 f9 fd 7b c5 a8
0x0000ffffaff3d3ac:   c0 03 5f d6 02 00 40 a9 41 d0 3b d5 21 80 5f f8
0x0000ffffaff3d3bc:   21 78 62 f8 20 00 00 8b c0 03 5f d6 e6 03 00 aa
0x0000ffffaff3d3cc:   e5 03 01 aa e7 03 02 2a a4 0c 80 52 05 00 00 14
0x0000ffffaff3d3dc:   c0 00 40 b9 1f 00 07 6b a1 04 00 54 bf 3b 03 d5
0x0000ffffaff3d3ec:   84 04 00 71 60 03 00 54 45 ff ff b4 a0 00 40 b9
0x0000ffffaff3d3fc:   00 ff ff 34 a0 fc 5f 88 00 04 00 11 a0 fc 01 88
0x0000ffffaff3d40c:   a1 ff ff 35 7f 00 00 71 ea 7c 40 93 e9 07 9f 1a
0x0000ffffaff3d41c:   29 01 79 d3 c4 00 40 b9 e0 03 06 aa e1 03 09 aa
0x0000ffffaff3d42c:   e2 03 0a aa 48 0c 80 d2 03 00 80 d2 9f 00 07 6b
0x0000ffffaff3d43c:   41 01 00 54 01 00 00 d4 1f 98 00 b1 c1 fe ff 54
0x0000ffffaff3d44c:   e0 03 06 aa 01 00 80 d2 01 00 00 d4 f2 ff ff 17
0x0000ffffaff3d45c:   a5 fd ff b4 e8 ff ff 17 a5 00 00 b4 a0 fc 5f 88
0x0000ffffaff3d46c:   00 04 00 51 a0 fc 01 88 a1 ff ff 35 c0 03 5f d6
0x0000ffffaff3d47c:   40 d0 1b d5 00 00 80 52 c0 03 5f d6 e8 1a 80 d2
0x0000ffffaff3d48c:   01 00 00 d4 a8 0b 80 d2 01 00 00 d4 21 ec 7c 92
0x0000ffffaff3d49c:   20 0c bf a9 e0 03 02 2a e2 03 04 aa e3 03 05 aa
0x0000ffffaff3d4ac:   e4 03 06 aa 88 1b 80 d2 01 00 00 d4 40 00 00 b4



---------------  P R O C E S S  ---------------

VM state: not at safepoint (not fully initialized)

VM Mutex/Monitor currently owned by a thread: None

Heap address: 0x0000000000000000, size: 0 MB, Compressed Oops mode: 32-bit

CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 1.
Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0

GC Precious Log:
<Not initialized>


Dynamic libraries:
aaaacd240000-aaaacd241000 r-xp 00000000 fe:01 1704783                    /usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/bin/java
aaaacd251000-aaaacd252000 r--p 00001000 fe:01 1704783                    /usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/bin/java
aaaacd252000-aaaacd253000 rw-p 00002000 fe:01 1704783                    /usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/bin/java
aaaaf9b25000-aaaaf9b58000 rw-p 00000000 00:00 0                          [heap]
ffffa1fdb000-ffffa8000000 r--s 00000000 fe:01 1705299                    /usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/lib/modules
ffffa8000000-ffffa811f000 rw-p 00000000 00:00 0
ffffa811f000-ffffac000000 ---p 00000000 00:00 0
ffffac5fb000-ffffac955000 rw-p 00000000 00:00 0
ffffac955000-ffffac961000 r-xp 00000000 fe:01 1704567                    /usr/glibc/lib/libnss_files-2.28.so
ffffac961000-ffffac970000 ---p 0000c000 fe:01 1704567                    /usr/glibc/lib/libnss_files-2.28.so
ffffac970000-ffffac971000 r--p 0000b000 fe:01 1704567                    /usr/glibc/lib/libnss_files-2.28.so
ffffac971000-ffffac972000 rw-p 0000c000 fe:01 1704567                    /usr/glibc/lib/libnss_files-2.28.so
ffffac972000-ffffade4d000 rw-p 00000000 00:00 0
ffffade4d000-ffffaea54000 r-xp 00000000 fe:01 1705426                    /usr/local/lib/libyjpagent.so
ffffaea54000-ffffaea63000 ---p 00c07000 fe:01 1705426                    /usr/local/lib/libyjpagent.so
ffffaea63000-ffffaead8000 r--p 00c06000 fe:01 1705426                    /usr/local/lib/libyjpagent.so
ffffaead8000-ffffaeaea000 rw-p 00c7b000 fe:01 1705426                    /usr/local/lib/libyjpagent.so
ffffaeaea000-ffffaeb00000 rw-p 00000000 00:00 0
ffffaeb00000-ffffaeb1b000 r-xp 00000000 fe:01 1705262                    /usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/lib/libjimage.so
ffffaeb1b000-ffffaeb2b000 ---p 0001b000 fe:01 1705262                    /usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/lib/libjimage.so
ffffaeb2b000-ffffaeb2d000 r--p 0001b000 fe:01 1705262                    /usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/lib/libjimage.so
ffffaeb2d000-ffffaeb2e000 rw-p 0001d000 fe:01 1705262                    /usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/lib/libjimage.so
ffffaeb2e000-ffffaed2c000 rw-p 00000000 00:00 0
ffffaed2c000-ffffaedd8000 r-xp 00000000 fe:01 1704498                    /usr/glibc/lib/libm-2.28.so
ffffaedd8000-ffffaede7000 ---p 000ac000 fe:01 1704498                    /usr/glibc/lib/libm-2.28.so
ffffaede7000-ffffaede8000 r--p 000ab000 fe:01 1704498                    /usr/glibc/lib/libm-2.28.so
ffffaede8000-ffffaede9000 rw-p 000ac000 fe:01 1704498                    /usr/glibc/lib/libm-2.28.so
ffffaede9000-ffffaedf0000 r-xp 00000000 fe:01 1704664                    /usr/glibc/lib/librt-2.28.so
ffffaedf0000-ffffaedff000 ---p 00007000 fe:01 1704664                    /usr/glibc/lib/librt-2.28.so
ffffaedff000-ffffaee00000 r--p 00006000 fe:01 1704664                    /usr/glibc/lib/librt-2.28.so
ffffaee00000-ffffaee01000 rw-p 00007000 fe:01 1704664                    /usr/glibc/lib/librt-2.28.so
ffffaee01000-ffffafd51000 r-xp 00000000 fe:01 1705322                    /usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/lib/server/libjvm.so
ffffafd51000-ffffafd60000 ---p 00f50000 fe:01 1705322                    /usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/lib/server/libjvm.so
ffffafd60000-ffffafe2c000 r--p 00f4f000 fe:01 1705322                    /usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/lib/server/libjvm.so
ffffafe2c000-ffffafe5a000 rw-p 0101b000 fe:01 1705322                    /usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/lib/server/libjvm.so
ffffafe5a000-ffffafedd000 rw-p 00000000 00:00 0
ffffafedd000-ffffaff7f000 r-xp 00000000 fe:01 2492482                    /lib/ld-musl-aarch64.so.1
ffffaff7f000-ffffaff9c000 ---p 000a2000 fe:01 2492482                    /lib/ld-musl-aarch64.so.1
ffffaff9c000-ffffaff9d000 r--p 000af000 fe:01 2492482                    /lib/ld-musl-aarch64.so.1
ffffaff9d000-ffffaff9e000 rw-p 000b0000 fe:01 2492482                    /lib/ld-musl-aarch64.so.1
ffffaff9e000-ffffaffa0000 rw-p 00000000 00:00 0
ffffaffa0000-ffffb00f8000 r-xp 00000000 fe:01 1704446                    /usr/glibc/lib/libc-2.28.so
ffffb00f8000-ffffb0108000 ---p 00158000 fe:01 1704446                    /usr/glibc/lib/libc-2.28.so
ffffb0108000-ffffb010c000 r--p 00158000 fe:01 1704446                    /usr/glibc/lib/libc-2.28.so
ffffb010c000-ffffb010e000 rw-p 0015c000 fe:01 1704446                    /usr/glibc/lib/libc-2.28.so
ffffb010e000-ffffb0112000 rw-p 00000000 00:00 0
ffffb0112000-ffffb0115000 r-xp 00000000 fe:01 1704483                    /usr/glibc/lib/libdl-2.28.so
ffffb0115000-ffffb0124000 ---p 00003000 fe:01 1704483                    /usr/glibc/lib/libdl-2.28.so
ffffb0124000-ffffb0125000 r--p 00002000 fe:01 1704483                    /usr/glibc/lib/libdl-2.28.so
ffffb0125000-ffffb0126000 rw-p 00003000 fe:01 1704483                    /usr/glibc/lib/libdl-2.28.so
ffffb0126000-ffffb013f000 r-xp 00000000 fe:01 1704636                    /usr/glibc/lib/libpthread-2.28.so
ffffb013f000-ffffb014f000 ---p 00019000 fe:01 1704636                    /usr/glibc/lib/libpthread-2.28.so
ffffb014f000-ffffb0150000 r--p 00019000 fe:01 1704636                    /usr/glibc/lib/libpthread-2.28.so
ffffb0150000-ffffb0151000 rw-p 0001a000 fe:01 1704636                    /usr/glibc/lib/libpthread-2.28.so
ffffb0151000-ffffb0155000 rw-p 00000000 00:00 0
ffffb0155000-ffffb0164000 r-xp 00000000 fe:01 1705279                    /usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/lib/libjli.so
ffffb0164000-ffffb0173000 ---p 0000f000 fe:01 1705279                    /usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/lib/libjli.so
ffffb0173000-ffffb0174000 r--p 0000e000 fe:01 1705279                    /usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/lib/libjli.so
ffffb0174000-ffffb0175000 rw-p 0000f000 fe:01 1705279                    /usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/lib/libjli.so
ffffb0175000-ffffb018b000 r-xp 00000000 fe:01 2492488                    /lib/libz.so.1.3.1
ffffb018b000-ffffb01a4000 ---p 00016000 fe:01 2492488                    /lib/libz.so.1.3.1
ffffb01a4000-ffffb01a5000 r--p 0001f000 fe:01 2492488                    /lib/libz.so.1.3.1
ffffb01a5000-ffffb01a6000 rw-p 00020000 fe:01 2492488                    /lib/libz.so.1.3.1
ffffb01a6000-ffffb01c5000 r-xp 00000000 fe:01 1704391                    /usr/glibc/lib/ld-2.28.so
ffffb01ca000-ffffb01cb000 ---p 00000000 00:00 0
ffffb01cb000-ffffb01cc000 r--p 00000000 00:00 0
ffffb01cc000-ffffb01d0000 rw-p 00000000 00:00 0
ffffb01d0000-ffffb01d1000 ---p 00000000 00:00 0
ffffb01d1000-ffffb01d3000 r--p 00000000 00:00 0                          [vvar]
ffffb01d3000-ffffb01d4000 r-xp 00000000 00:00 0                          [vdso]
ffffb01d4000-ffffb01d5000 r--p 0001e000 fe:01 1704391                    /usr/glibc/lib/ld-2.28.so
ffffb01d5000-ffffb01d7000 rw-p 0001f000 fe:01 1704391                    /usr/glibc/lib/ld-2.28.so
ffffd9c79000-ffffd9c9a000 rw-p 00000000 00:00 0                          [stack]
Total number of mappings: 73


VM Arguments:
jvm_args: -agentpath:/usr/local/lib/libyjpagent.so=port=10001,listen=all
java_command: HelloWorld
java_class_path (initial): .
Launcher Type: SUN_STANDARD

[Global flags]
     uint ConcGCThreads                            = 2                                         {product} {ergonomic}
     uint G1ConcRefinementThreads                  = 8                                         {product} {ergonomic}
    uintx GCDrainStackTargetSize                   = 64                                        {product} {ergonomic}
   size_t InitialHeapSize                          = 525086848                                 {product} {ergonomic}
   size_t MarkStackSize                            = 4194304                                   {product} {ergonomic}
   size_t MaxHeapSize                              = 8401389568                                {product} {ergonomic}
   size_t MinHeapSize                              = 6815736                                   {product} {ergonomic}
    uintx ReservedCodeCacheSize                    = 251658240                              {pd product} {ergonomic}
     bool SegmentedCodeCache                       = true                                      {product} {ergonomic}
     bool UseCompressedOops                        = true                           {product lp64_product} {ergonomic}
     bool UseG1GC                                  = true                                      {product} {ergonomic}

Logging:
Log output configuration:
 #0: stdout all=warning uptime,level,tags foldmultilines=false
 #1: stderr all=off uptime,level,tags foldmultilines=false

Environment Variables:
JAVA_HOME=/usr/lib/jvm/jre-21.0.3-bellsoft-aarch64
PATH=/usr/lib/jvm/jre-21.0.3-bellsoft-aarch64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG=en_US.UTF-8
TERM=xterm

Active Locale:
LC_ALL=C
LC_COLLATE=C
LC_CTYPE=C
LC_MESSAGES=C
LC_MONETARY=C
LC_NUMERIC=C
LC_TIME=C

Signal Handlers:
   SIGSEGV: crash_handler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO, unblocked
    SIGBUS: crash_handler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO, unblocked
    SIGFPE: crash_handler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO, unblocked
   SIGPIPE: javaSignalHandler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO, blocked
   SIGXFSZ: javaSignalHandler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO, blocked
    SIGILL: crash_handler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO, unblocked
   SIGUSR2: SR_handler in libjvm.so, mask=00000000000000000000000000000000, flags=SA_RESTART|SA_SIGINFO, blocked
    SIGHUP: SIG_DFL, mask=00000000000000000000000000000000, flags=none, blocked
    SIGINT: SIG_DFL, mask=00000000000000000000000000000000, flags=none, blocked
   SIGTERM: SIG_DFL, mask=00000000000000000000000000000000, flags=none, blocked
   SIGQUIT: UserHandler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO, blocked
   SIGTRAP: crash_handler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO, unblocked


Periodic native trim disabled

---------------  S Y S T E M  ---------------

OS:
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.19.1
PRETTY_NAME="Alpine Linux v3.19"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
uname: Linux 6.6.26-linuxkit #1 SMP Sat Apr 27 04:13:19 UTC 2024 aarch64
OS uptime: 0 days 0:04 hours
libc: glibc 2.28 NPTL 2.28
rlimit (soft/hard): STACK 8192k/infinity , CORE 0k/infinity , NPROC infinity/infinity , NOFILE 1048576/1048576 , AS infinity/infinity , CPU infinity/infinity , DATA infinity/infinity , FSIZE infinity/infinity , MEMLOCK infinity/infinity
load average: 1.02 0.69 0.30

/proc/meminfo:
MemTotal:       32817928 kB
MemFree:        31939996 kB
MemAvailable:   32125108 kB
Buffers:           31536 kB
Cached:           452748 kB
SwapCached:            0 kB
Active:           476136 kB
Inactive:         244928 kB
Active(anon):     237512 kB
Inactive(anon):        0 kB
Active(file):     238624 kB
Inactive(file):   244928 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       1048572 kB
SwapFree:        1048572 kB
Zswap:                 0 kB
Zswapped:              0 kB
Dirty:               120 kB
Writeback:             0 kB
AnonPages:        233572 kB
Mapped:           183392 kB
Shmem:               728 kB
KReclaimable:      19136 kB
Slab:              57228 kB
SReclaimable:      19136 kB
SUnreclaim:        38092 kB
KernelStack:        4544 kB
PageTables:         2280 kB
SecPageTables:         0 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    17457536 kB
Committed_AS:     981656 kB
VmallocTotal:   133141626880 kB
VmallocUsed:        2480 kB
VmallocChunk:          0 kB
Percpu:             2368 kB
AnonHugePages:    182272 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB

/sys/kernel/mm/transparent_hugepage/enabled: [always] madvise never
/sys/kernel/mm/transparent_hugepage/hpage_pmd_size: 2097152
/sys/kernel/mm/transparent_hugepage/defrag (defrag/compaction efforts parameter): always defer defer+madvise [madvise] never

Process Memory:
Virtual Size: 225612K (peak: 225612K)
Resident Set Size: 31296K (peak: 31296K) (anon: 16064K, file: 15232K, shmem: 0K)
Swapped out: 0K
C-Heap outstanding allocations: 25802K, retained: 137K
glibc malloc tunables: (default)

/proc/sys/kernel/threads-max (system-wide limit on the number of threads): 256346
/proc/sys/vm/max_map_count (maximum number of memory map areas a process may have): 262144
/proc/sys/kernel/pid_max (system-wide limit on number of process identifiers): 99999

container (cgroup) information:
container_type: cgroupv2
cpu_cpuset_cpus: not supported
cpu_memory_nodes: not supported
active_processor_count: 8
cpu_quota: no quota
cpu_period: 100000
cpu_shares: no shares
memory_limit_in_bytes: unlimited
memory_and_swap_limit_in_bytes: unlimited
memory_soft_limit_in_bytes: unlimited
memory_usage_in_bytes: 18000 k
memory_max_usage_in_bytes: not supported
memory_swap_current_in_bytes: unlimited
memory_swap_max_limit_in_bytes: unlimited
maximum number of tasks: unlimited
current number of tasks: 3

Steal ticks since vm start: 0
Steal ticks percentage since vm start:  0.000

CPU: total 8 (initial active 8)
/proc/cpuinfo:
processor	: 0
BogoMIPS	: 48.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint
CPU implementer	: 0x61
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0x000
CPU revision	: 0

processor	: 1
BogoMIPS	: 48.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint
CPU implementer	: 0x61
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0x000
CPU revision	: 0

processor	: 2
BogoMIPS	: 48.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint
CPU implementer	: 0x61
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0x000
CPU revision	: 0

processor	: 3
BogoMIPS	: 48.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint
CPU implementer	: 0x61
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0x000
CPU revision	: 0

processor	: 4
BogoMIPS	: 48.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint
CPU implementer	: 0x61
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0x000
CPU revision	: 0

processor	: 5
BogoMIPS	: 48.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint
CPU implementer	: 0x61
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0x000
CPU revision	: 0

processor	: 6
BogoMIPS	: 48.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint
CPU implementer	: 0x61
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0x000
CPU revision	: 0

processor	: 7
BogoMIPS	: 48.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint
CPU implementer	: 0x61
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0x000
CPU revision	: 0


Online cpus: 0-7
Offline cpus:

Memory: 4k page, physical 32817928k(32124616k free), swap 1048572k(1048572k free)
Page Sizes: 4k

vm_info: OpenJDK 64-Bit Server VM (21.0.3+10-LTS) for linux-aarch64 JRE (21.0.3+10-LTS), built on 2024-04-10T09:56:15Z by "re" with gcc 10.2.1 20201103

END.
Vladimir Kondratyev
Posts: 1660
Joined: Tue Aug 10, 2004 7:52 pm

Re: Unable to start YourKit 2024.3 with Docker apline

Post by Vladimir Kondratyev »

Are you using musl or glibc version of libyjpagent.so? What is the output of "ldd -v libyjpagent.so" command inside your Docker container?

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
dpishchukhin
Posts: 3
Joined: Sat May 11, 2024 9:51 am

Re: Unable to start YourKit 2024.3 with Docker apline

Post by dpishchukhin »

Code: Select all

/usr/src/app # ldd -v /usr/local/lib/libyjpagent.so
/lib/ld-musl-aarch64.so.1: cannot load -v: No such file or directory
/usr/src/app # ldd --help
musl libc (aarch64)
Version 1.2.4_git20230717
Dynamic Program Loader
Usage: /lib/ld-musl-aarch64.so.1 [options] [--] pathname
/usr/src/app # ldd  /usr/local/lib/libyjpagent.so
	/lib/ld-musl-aarch64.so.1 (0xffff9b352000)
	libc.musl-aarch64.so.1 => /lib/ld-musl-aarch64.so.1 (0xffff9b352000)
Vladimir Kondratyev
Posts: 1660
Joined: Tue Aug 10, 2004 7:52 pm

Re: Unable to start YourKit 2024.3 with Docker apline

Post by Vladimir Kondratyev »

We have discovered that the liberica-openjre-alpine is compiled with the libc library, not musl. This means you cannot use the YourKit agent for musl Linux with this version. Please try to use the libc version of the YourKit agent instead.

In summary, we do not recommend using this version of Java. Please use a Java version that is natively compiled with the musl library.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
dpishchukhin
Posts: 3
Joined: Sat May 11, 2024 9:51 am

Re: Unable to start YourKit 2024.3 with Docker apline

Post by dpishchukhin »

I've found another Docker image that works fine:
bellsoft/liberica-openjre-alpine-musl
Thank you!
Locked