-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a Java11 JVM Crash #317
Comments
@zhuyixiang Is there any clue that this JVM crash is related with this JVM crash report has little info about |
no clue. use java11 our app running well. when add ttl agent param, after spring boot loading, the app crash suddenly |
not a Java11 JVM, our company many app use jvm 11 crash. |
Does this crash happen every time? @zhuyixiang From the command line info of crash report, Does crash happen in normal mode(no debug mode, and without idea Command Line:
-agentlib:jdwp=transport=dt_socket,address=127.0.0.1:51656,suspend=y,server=n # DEBUG MODE
--add-exports=java.base/jdk.internal.loader=ALL-UNNAMED
--add-exports=java.base/jdk.internal.module=ALL-UNNAMED
--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED
-Xbootclasspath/a:$JAVA_HOME/lib/tools.jar
-javaagent:takin2/LinkAgent/deploy/simulator-agent/simulator-launcher-instrument.jar
-javaagent:takin2/LinkAgent/deploy/simulator-agent/bootstrap/transmittable-thread-local-2.12.1.jar
-Dsimulator.delay=10
-Dsimulator.unit=SECONDS
-Dpradar.project.name=binance-gateway
-Djdk.attach.allowAttachSelf=true
-Dtro.web.url=http://127.0.0.5:10008/takin-web
-XX:TieredStopAtLevel=1
-Xverify:none
-Dspring.output.ansi.enabled=always
-javaagent:/Users/user/Library/Caches/JetBrains/IntelliJIdea2021.1/groovyHotSwap/gragent.jar
-javaagent:/Users/user/Library/Caches/JetBrains/IntelliJIdea2021.1/captureAgent/debugger-agent.jar # RUN with IDEA
-Dcom.sun.management.jmxremote
... |
yes, it crash everytime. this log is from idea. it also crash in command line mode. |
this is the startup log with class loading info. [60.784s][info][class,load] java.sql.ShardingKey source: jrt:/java.sql
[60.786s][info][class,load] com.sun.proxy.$Proxy174 source: __JVM_DefineClass__
[60.788s][info][class,load] org.springframework.boot.jdbc.DatabaseDriver source: file:/Users/user/.m2/repository/org/springframework/boot/spring-boot/2.1.6.RELEASE/spring-boot-2.1.6.RELEASE.jar
[60.789s][info][class,load] org.springframework.boot.jdbc.DatabaseDriver$1 source: file:/Users/user/.m2/repository/org/springframework/boot/spring-boot/2.1.6.RELEASE/spring-boot-2.1.6.RELEASE.jar
[60.790s][info][class,load] org.springframework.boot.jdbc.DatabaseDriver$2 source: file:/Users/user/.m2/repository/org/springframework/boot/spring-boot/2.1.6.RELEASE/spring-boot-2.1.6.RELEASE.jar
[60.791s][info][class,load] org.springframework.boot.jdbc.DatabaseDriver$3 source: file:/Users/user/.m2/repository/org/springframework/boot/spring-boot/2.1.6.RELEASE/spring-boot-2.1.6.RELEASE.jar
[60.792s][info][class,load] org.springframework.boot.jdbc.DatabaseDriver$4 source: file:/Users/user/.m2/repository/org/springframework/boot/spring-boot/2.1.6.RELEASE/spring-boot-2.1.6.RELEASE.jar
[60.793s][info][class,load] org.springframework.boot.jdbc.DatabaseDriver$5 source: file:/Users/user/.m2/repository/org/springframework/boot/spring-boot/2.1.6.RELEASE/spring-boot-2.1.6.RELEASE.jar
[60.794s][info][class,load] org.springframework.boot.jdbc.DatabaseDriver$6 source: file:/Users/user/.m2/repository/org/springframework/boot/spring-boot/2.1.6.RELEASE/spring-boot-2.1.6.RELEASE.jar
[60.795s][info][class,load] org.springframework.boot.jdbc.DatabaseDriver$7 source: file:/Users/user/.m2/repository/org/springframework/boot/spring-boot/2.1.6.RELEASE/spring-boot-2.1.6.RELEASE.jar
[60.796s][info][class,load] org.springframework.boot.actuate.jdbc.DataSourceHealthIndicator$SingleColumnRowMapper source: file:/Users/user/.m2/repository/org/springframework/boot/spring-boot-actuator/2.1.6.RELEASE/spring-boot-actuator-2.1.6.RELEASE.jar
[60.797s][info][class,load] org.springframework.jdbc.core.RowMapperResultSetExtractor source: file:/Users/user/.m2/repository/org/springframework/spring-jdbc/5.1.14.RELEASE/spring-jdbc-5.1.14.RELEASE.jar
[60.797s][info][class,load] org.springframework.jdbc.core.SqlProvider source: file:/Users/user/.m2/repository/org/springframework/spring-jdbc/5.1.14.RELEASE/spring-jdbc-5.1.14.RELEASE.jar
[60.797s][info][class,load] org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback source: file:/Users/user/.m2/repository/org/springframework/spring-jdbc/5.1.14.RELEASE/spring-jdbc-5.1.14.RELEASE.jar
[60.798s][info][class,load] com.mysql.cj.SimpleQuery source: file:/Users/user/.m2/repository/mysql/mysql-connector-java/8.0.16/mysql-connector-java-8.0.16.jar
[60.834s][info][class,load] com.fasterxml.jackson.core.type.TypeReference source: file:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.10/jackson-core-2.9.10.jar
[60.834s][info][class,load] com.binance.filter.helper.SysConfigHelper$2 source: file:/Users/user/source/binance/tesla/tesla-filter-binance/target/classes/
[60.835s][info][class,load] com.binance.master.models.APIResponse source: file:/Users/user/.m2/repository/com/binance/master/api-base/2.0.0-SNAPSHOT/api-base-2.0.0-SNAPSHOT.jar
[60.839s][info][class,load] com.fasterxml.jackson.core.json.ReaderBasedJsonParser source: file:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.10/jackson-core-2.9.10.jar
[60.840s][info][class,load] com.binance.master.models.APIResponse$Status source: file:/Users/user/.m2/repository/com/binance/master/api-base/2.0.0-SNAPSHOT/api-base-2.0.0-SNAPSHOT.jar
[60.840s][info][class,load] com.binance.master.models.APIResponse$Type source: file:/Users/user/.m2/repository/com/binance/master/api-base/2.0.0-SNAPSHOT/api-base-2.0.0-SNAPSHOT.jar
[60.846s][info][class,load] com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer source: file:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.10.3/jackson-databind-2.9.10.3.jar
[60.849s][info][class,load] com.fasterxml.jackson.databind.deser.std.NumberDeserializers$NumberDeserializer source: file:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.10.3/jackson-databind-2.9.10.3.jar
[60.851s][info][class,load] com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla source: file:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.10.3/jackson-databind-2.9.10.3.jar
[60.853s][info][class,load] jdk.internal.reflect.GeneratedConstructorAccessor78 source: __JVM_DefineClass__
[60.854s][info][class,load] jdk.internal.reflect.GeneratedMethodAccessor148 source: __JVM_DefineClass__
[60.854s][info][class,load] jdk.internal.reflect.GeneratedMethodAccessor149 source: __JVM_DefineClass__
[60.854s][info][class,load] jdk.internal.reflect.GeneratedMethodAccessor150 source: __JVM_DefineClass__
[60.855s][info][class,load] jdk.internal.reflect.GeneratedMethodAccessor151 source: __JVM_DefineClass__
[60.863s][info][class,load] com.binance.filter.helper.SysConfigHelper$$Lambda$874/0x0000000800a56440 source: com.binance.filter.helper.SysConfigHelper
[60.888s][info][class,load] org.springframework.jdbc.support.JdbcUtils source: file:/Users/user/.m2/repository/org/springframework/spring-jdbc/5.1.14.RELEASE/spring-jdbc-5.1.14.RELEASE.jar
[60.889s][info][class,load] com.mysql.cj.jdbc.result.ResultSetImpl$1 source: file:/Users/user/.m2/repository/mysql/mysql-connector-java/8.0.16/mysql-connector-java-8.0.16.jar
[60.889s][info][class,load] com.mysql.cj.protocol.result.AbstractResultsetRow$1 source: file:/Users/user/.m2/repository/mysql/mysql-connector-java/8.0.16/mysql-connector-java-8.0.16.jar
[60.890s][info][class,load] org.springframework.dao.support.DataAccessUtils source: file:/Users/user/.m2/repository/org/springframework/spring-tx/5.1.14.RELEASE/spring-tx-5.1.14.RELEASE.jar
[60.890s][info][class,load] org.springframework.boot.actuate.health.AbstractHealthAggregator$$Lambda$875/0x0000000800a55840 source: org.springframework.boot.actuate.health.AbstractHealthAggregator
[60.891s][info][class,load] org.springframework.boot.actuate.health.OrderedHealthAggregator$StatusComparator source: file:/Users/user/.m2/repository/org/springframework/boot/spring-boot-actuator/2.1.6.RELEASE/spring-boot-actuator-2.1.6.RELEASE.jar
[INFO] [2021.10.12 20:57:58.288] [192.168.2.72] [] [RMI TCP Connection(3)-192.168.2.72] [com.binance.platform.monitor.health.HealthCheckAspect()] - *****health check result is: UP {diskSpace=UP {total=499963174912, free=341191626752, threshold=10485760}, redis=UP {cluster_size=2, slots_up=16384, slots_fail=0}, db=UP {database=MySQL, hello=1}}*****
[60.892s][info][class,load] com.fasterxml.jackson.databind.util.TokenBuffer$Segment source: file:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.10.3/jackson-databind-2.9.10.3.jar
[60.893s][info][class,load] com.sun.proxy.$Proxy175 source: __JVM_DefineClass__
[60.895s][info][class,load] com.sun.proxy.$Proxy176 source: __JVM_DefineClass__
[60.895s][info][class,load] org.springframework.boot.actuate.health.Health$1 source: file:/Users/user/.m2/repository/org/springframework/boot/spring-boot-actuator/2.1.6.RELEASE/spring-boot-actuator-2.1.6.RELEASE.jar
[60.896s][info][class,load] com.fasterxml.jackson.databind.util.NameTransformer source: file:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.10.3/jackson-databind-2.9.10.3.jar
[60.897s][info][class,load] com.fasterxml.jackson.databind.util.NameTransformer$NopTransformer source: file:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.10.3/jackson-databind-2.9.10.3.jar
[60.900s][info][class,load] com.fasterxml.jackson.databind.ser.impl.UnwrappingBeanPropertyWriter source: file:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.10.3/jackson-databind-2.9.10.3.jar
[60.904s][info][class,load] com.fasterxml.jackson.databind.ser.impl.UnwrappingBeanSerializer source: file:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.10.3/jackson-databind-2.9.10.3.jar
[60.906s][info][class,load] com.fasterxml.jackson.databind.type.PlaceholderForType source: file:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.10.3/jackson-databind-2.9.10.3.jar
[60.909s][info][class,load] com.fasterxml.jackson.databind.ser.impl.PropertySerializerMap$Double source: file:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.10.3/jackson-databind-2.9.10.3.jar
[60.910s][info][class,load] com.fasterxml.jackson.databind.ser.impl.PropertySerializerMap$TypeAndSerializer source: file:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.10.3/jackson-databind-2.9.10.3.jar
[60.911s][info][class,load] com.fasterxml.jackson.databind.ser.impl.PropertySerializerMap$Multi source: file:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.10.3/jackson-databind-2.9.10.3.jar
[60.913s][info][class,load] com.fasterxml.jackson.databind.util.TokenBuffer$Parser source: file:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.10.3/jackson-databind-2.9.10.3.jar
[60.917s][info][class,load] com.fasterxml.jackson.databind.util.TokenBufferReadContext source: file:/Users/user/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.10.3/jackson-databind-2.9.10.3.jar
[60.920s][info][class,load] jdk.internal.reflect.GeneratedSerializationConstructorAccessor23 source: __JVM_DefineClass__
[60.921s][info][class,load] jdk.internal.reflect.GeneratedSerializationConstructorAccessor24 source: __JVM_DefineClass__
[60.923s][info][class,load] jdk.internal.reflect.GeneratedSerializationConstructorAccessor25 source: __JVM_DefineClass__
[60.924s][info][class,load] jdk.internal.reflect.GeneratedSerializationConstructorAccessor26 source: __JVM_DefineClass__
[61.699s][info][class,load] jdk.internal.reflect.GeneratedMethodAccessor152 source: __JVM_DefineClass__
[62.104s][info][class,load] jdk.internal.reflect.GeneratedMethodAccessor153 source: __JVM_DefineClass__
[62.310s][info][class,load] jdk.internal.reflect.GeneratedMethodAccessor154 source: __JVM_DefineClass__
[62.648s][info][class,load] com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$7 source: file:/Users/user/.m2/repository/com/netflix/eureka/eureka-client/1.9.8/eureka-client-1.9.8.jar
[62.984s][info][class,load] com.netflix.discovery.shared.Applications$$Lambda$876/0x0000000800a53840 source: com.netflix.discovery.shared.Applications
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000111919f97, pid=30591, tid=77827
#
# JRE version: Java(TM) SE Runtime Environment 18.9 (11.0.8+10) (build 11.0.8+10-LTS)
# Java VM: Java HotSpot(TM) 64-Bit Server VM 18.9 (11.0.8+10-LTS, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
# Problematic frame:
# V [libjvm.dylib+0x519f97] _ZNK5Klass12class_loaderEv+0xb
# |
JVM crash is hard to troubleshoot for me. 😅 It would be great and appreciated if you could make/separate
So I and others can run and reproduce the JVM crash on local computer, |
close issue first; |
The text was updated successfully, but these errors were encountered: