赞
踩
故障
- [INFO] Attach process 13 success.
- [INFO] arthas-client connect 127.0.0.1 3658
- ,---. ,------. ,--------.,--. ,--. ,---. ,---.
- / O \ | .--. ''--. .--'| '--' | / O \ ' .-'
- | .-. || '--'.' | | | .--. || .-. |`. `-.
- | | | || |\ \ | | | | | || | | |.-' |
- `--' `--'`--' '--' `--' `--' `--'`--' `--'`-----'
-
- wiki https://arthas.aliyun.com/doc
- tutorials https://arthas.aliyun.com/doc/arthas-tutorials.html
- version 3.5.6
- main_class
- pid 13
- time 2022-03-08 13:35:55
-
- [arthas@13]$
- [arthas@13]$
- [arthas@13]$ profiler start
- [1]+ Aborted (core dumped) /usr/lib/jvm/java-1.8-openjdk/bin/java -jar demo-0.0.1-SNAPSHOT.jar 1>demo.log 2>&1
hs_error.log
- #
- # A fatal error has been detected by the Java Runtime Environment:
- #
- # SIGSEGV (0xb) at pc=0x0000000000003cc0, pid=13, tid=0x0000ffff837cfaa0
- #
- # JRE version: OpenJDK Runtime Environment (8.0_242-b08) (build 1.8.0_242-b08)
- # Java VM: OpenJDK 64-Bit Server VM (25.242-b08 mixed mode linux-aarch64 compressed oops)
- # Derivative: IcedTea 3.15.0
- # Distribution: Custom build (Wed Jan 29 10:52:45 UTC 2020)
- # Problematic frame:
- # C 0x0000000000003cc0
- #
- # Core dump written. Default location: /root/core or core.13
- #
- # If you would like to submit a bug report, please include
- # instructions on how to reproduce the bug and visit:
- # https://icedtea.classpath.org/bugzilla
- # The crash happened outside the Java Virtual Machine in native code.
- # See problematic frame for where to report the bug.
- #
-
-
-
-
- Stack: [0x0000ffff835c0000,0x0000ffff837cfaa0], sp=0x0000ffff837cd2d0, free space=2100k
- Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
- C 0x0000000000003cc0
- C [ArthasJniLibrary1509820126444391406.tmp+0x1ec18] JfrMetadata::JfrMetadata()+0x7c
- C [ArthasJniLibrary1509820126444391406.tmp+0x4d6c] _GLOBAL__sub_I_+0xe4
- C [ld-musl-aarch64.so.1+0x5f048]
- C [ld-musl-aarch64.so.1+0x60b7c] dlopen+0x414
- V [libjvm.so+0x4fa994]
- V [libjvm.so+0x4faa2c]
- V [libjvm.so+0x400650] JVM_LoadLibrary+0xb4
- C [libjava.so+0xeadc] Java_java_lang_ClassLoader_00024NativeLibrary_load+0x13c
- j java.lang.ClassLoader$NativeLibrary.load(Ljava/lang/String;Z)V+0
- j java.lang.ClassLoader.loadLibrary0(Ljava/lang/Class;Ljava/io/File;)Z+328
- j java.lang.ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V+70
- j java.lang.Runtime.load0(Ljava/lang/Class;Ljava/lang/String;)V+57
- j java.lang.System.load(Ljava/lang/String;)V+7
- j one.profiler.AsyncProfiler.getInstance(Ljava/lang/String;)Lone/profiler/AsyncProfiler;+23
- j com.taobao.arthas.core.command.monitor200.ProfilerCommand.profilerInstance()Lone/profiler/AsyncProfiler;+158
- j com.taobao.arthas.core.command.monitor200.ProfilerCommand.process(Lcom/taobao/arthas/core/shell/command/CommandProcess;)V+43
- j com.taobao.arthas.core.shell.command.impl.AnnotatedCommandImpl.process(Lcom/taobao/arthas/core/shell/command/CommandProcess;)V+34
- j com.taobao.arthas.core.shell.command.impl.AnnotatedCommandImpl.access$100(Lcom/taobao/arthas/core/shell/command/impl/AnnotatedCommandImpl;Lcom/taobao/arthas/core/shell/command/CommandProcess;)V+2
- j com.taobao.arthas.core.shell.command.impl.AnnotatedCommandImpl$ProcessHandler.handle(Lcom/taobao/arthas/core/shell/command/CommandProcess;)V+5
- j com.taobao.arthas.core.shell.command.impl.AnnotatedCommandImpl$ProcessHandler.handle(Ljava/lang/Object;)V+5
- j com.taobao.arthas.core.shell.system.impl.ProcessImpl$CommandProcessTask.run()V+11
- j java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object;+4
- j java.util.concurrent.FutureTask.run()V+42
- j java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Ljava/util/concurrent/ScheduledThreadPoolExecutor$ScheduledFutureTask;)V+1
- j java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V+30
- j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95
- j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
- j java.lang.Thread.run()V+11
- v ~StubRoutines::call_stub
- V [libjvm.so+0x3d702c]
- V [libjvm.so+0x3d656c]
- V [libjvm.so+0x3d6604]
- V [libjvm.so+0x3fe920]
- V [libjvm.so+0x59f5b0]
- V [libjvm.so+0x59f6e0]
- V [libjvm.so+0x4fbc84]
- C [ld-musl-aarch64.so.1+0x57670]
- C [ld-musl-aarch64.so.1+0x5600c] __clone+0x30
-
解决:改用centos镜像重新制作容器镜像
Dockerfile
- FROM centos:7.9.2009
-
- RUN yum install -y java-1.8.0-openjdk-devel
- RUN yum clean all \
- && rm /var/lib/rpm/* -fr \
- && rm /var/log/* -rf \
- && rm /var/cache/yum/* -fr
-
- ENV TZ=Asia/Shanghai
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。