环境 容器镜像: anolisos-8.6-x86_64 jdk8u45 node操作系统: anolisos-8.6-x86_64(ANCK内核),docker版本18.09.2 问题 java应用使用anolisos-8.6-x86_64 jdk8u45的容器镜像运行在centos7.6是正常的,运行在anolisos-8.6-x86_64(ANCK内核)的节点上就会报错 2022-09-14 12:52:48,792 [main] INFO [com.zhongan.app.balance.billing.dao.message.kafka.BaseKafkaProducer] [BaseKafkaProducer.java:36] - 创建kafkaProducer成功, topic:newbee-reconciliation-result-20220831114759 terminate called after throwing an instance of 'std::bad_alloc' # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f2b0d621ee1, pid=1, tid=139822902839040 # # JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [libc.so.6+0x21ee1] abort+0x203 # # Core dump written. Default location: /root/startup/core or core.1 # # An error report file with more information is saved as: # /tmp/hs_err_pid1.log what(): std::bad_alloc # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. #
是依赖的内部库导致,不是系统问题