当前位置:   article > 正文

arthas openjdk8 alpine docker profile Aborted (core dumped)_openjdk:8u212-jdk-alpine arthas

openjdk:8u212-jdk-alpine arthas

故障

  1. [INFO] Attach process 13 success.
  2. [INFO] arthas-client connect 127.0.0.1 3658
  3. ,---. ,------. ,--------.,--. ,--. ,---. ,---.
  4. / O \ | .--. ''--. .--'| '--' | / O \ ' .-'
  5. | .-. || '--'.' | | | .--. || .-. |`. `-.
  6. | | | || |\ \ | | | | | || | | |.-' |
  7. `--' `--'`--' '--' `--' `--' `--'`--' `--'`-----'
  8. wiki https://arthas.aliyun.com/doc
  9. tutorials https://arthas.aliyun.com/doc/arthas-tutorials.html
  10. version 3.5.6
  11. main_class
  12. pid 13
  13. time 2022-03-08 13:35:55
  14. [arthas@13]$
  15. [arthas@13]$
  16. [arthas@13]$ profiler start
  17. [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

  1. #
  2. # A fatal error has been detected by the Java Runtime Environment:
  3. #
  4. # SIGSEGV (0xb) at pc=0x0000000000003cc0, pid=13, tid=0x0000ffff837cfaa0
  5. #
  6. # JRE version: OpenJDK Runtime Environment (8.0_242-b08) (build 1.8.0_242-b08)
  7. # Java VM: OpenJDK 64-Bit Server VM (25.242-b08 mixed mode linux-aarch64 compressed oops)
  8. # Derivative: IcedTea 3.15.0
  9. # Distribution: Custom build (Wed Jan 29 10:52:45 UTC 2020)
  10. # Problematic frame:
  11. # C 0x0000000000003cc0
  12. #
  13. # Core dump written. Default location: /root/core or core.13
  14. #
  15. # If you would like to submit a bug report, please include
  16. # instructions on how to reproduce the bug and visit:
  17. # https://icedtea.classpath.org/bugzilla
  18. # The crash happened outside the Java Virtual Machine in native code.
  19. # See problematic frame for where to report the bug.
  20. #
  21. Stack: [0x0000ffff835c0000,0x0000ffff837cfaa0], sp=0x0000ffff837cd2d0, free space=2100k
  22. Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
  23. C 0x0000000000003cc0
  24. C [ArthasJniLibrary1509820126444391406.tmp+0x1ec18] JfrMetadata::JfrMetadata()+0x7c
  25. C [ArthasJniLibrary1509820126444391406.tmp+0x4d6c] _GLOBAL__sub_I_+0xe4
  26. C [ld-musl-aarch64.so.1+0x5f048]
  27. C [ld-musl-aarch64.so.1+0x60b7c] dlopen+0x414
  28. V [libjvm.so+0x4fa994]
  29. V [libjvm.so+0x4faa2c]
  30. V [libjvm.so+0x400650] JVM_LoadLibrary+0xb4
  31. C [libjava.so+0xeadc] Java_java_lang_ClassLoader_00024NativeLibrary_load+0x13c
  32. j java.lang.ClassLoader$NativeLibrary.load(Ljava/lang/String;Z)V+0
  33. j java.lang.ClassLoader.loadLibrary0(Ljava/lang/Class;Ljava/io/File;)Z+328
  34. j java.lang.ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V+70
  35. j java.lang.Runtime.load0(Ljava/lang/Class;Ljava/lang/String;)V+57
  36. j java.lang.System.load(Ljava/lang/String;)V+7
  37. j one.profiler.AsyncProfiler.getInstance(Ljava/lang/String;)Lone/profiler/AsyncProfiler;+23
  38. j com.taobao.arthas.core.command.monitor200.ProfilerCommand.profilerInstance()Lone/profiler/AsyncProfiler;+158
  39. j com.taobao.arthas.core.command.monitor200.ProfilerCommand.process(Lcom/taobao/arthas/core/shell/command/CommandProcess;)V+43
  40. j com.taobao.arthas.core.shell.command.impl.AnnotatedCommandImpl.process(Lcom/taobao/arthas/core/shell/command/CommandProcess;)V+34
  41. 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
  42. j com.taobao.arthas.core.shell.command.impl.AnnotatedCommandImpl$ProcessHandler.handle(Lcom/taobao/arthas/core/shell/command/CommandProcess;)V+5
  43. j com.taobao.arthas.core.shell.command.impl.AnnotatedCommandImpl$ProcessHandler.handle(Ljava/lang/Object;)V+5
  44. j com.taobao.arthas.core.shell.system.impl.ProcessImpl$CommandProcessTask.run()V+11
  45. j java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object;+4
  46. j java.util.concurrent.FutureTask.run()V+42
  47. j java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Ljava/util/concurrent/ScheduledThreadPoolExecutor$ScheduledFutureTask;)V+1
  48. j java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V+30
  49. j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95
  50. j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
  51. j java.lang.Thread.run()V+11
  52. v ~StubRoutines::call_stub
  53. V [libjvm.so+0x3d702c]
  54. V [libjvm.so+0x3d656c]
  55. V [libjvm.so+0x3d6604]
  56. V [libjvm.so+0x3fe920]
  57. V [libjvm.so+0x59f5b0]
  58. V [libjvm.so+0x59f6e0]
  59. V [libjvm.so+0x4fbc84]
  60. C [ld-musl-aarch64.so.1+0x57670]
  61. C [ld-musl-aarch64.so.1+0x5600c] __clone+0x30

解决:改用centos镜像重新制作容器镜像

Dockerfile

  1. FROM centos:7.9.2009
  2. RUN yum install -y java-1.8.0-openjdk-devel
  3. RUN yum clean all \
  4. && rm /var/lib/rpm/* -fr \
  5. && rm /var/log/* -rf \
  6. && rm /var/cache/yum/* -fr
  7. ENV TZ=Asia/Shanghai

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/繁依Fanyi0/article/detail/827288
推荐阅读
相关标签
  

闽ICP备14008679号