google / guava

Google core libraries for Java
Apache License 2.0
50.23k stars 10.91k forks source link

LocalLoadingCahce getUnchecked caused jvm crash in guava version 18 #3665

Open soocold opened 5 years ago

soocold commented 5 years ago

guava version is 18 java code, single instance

private LoadingCache<Long, String> cached =
    CacheBuilder.newBuilder().maximumSize(2000).build(new CacheLoader<Long, String>() {
        @Override
        public String load(Long key) throws Exception {
            return formatByLocalDateTime(key);
        }
    });

private String formatByLocalDateTime(long timestamp) {
    Instant instant = Instant.ofEpochMilli(timestamp);
    LocalDateTime dateTime = LocalDateTime.ofInstant(instant, ZoneId.of("GMT+8"));
    return dateTime.format(FORMAT_PATTERN);
}

java version:oracle jdk8-191 run in docker

java stack from core dump file

Thread 55: (state = IN_VM)
 - com.google.common.cache.LocalCache.connectAccessOrder(com.google.common.cache.LocalCache$ReferenceEntry, com.google.common.cache.LocalCache$ReferenceEntry) @bci=9, line=1924 (Compiled frame)
 - com.google.common.cache.LocalCache$AccessQueue.remove(java.lang.Object) @bci=23, line=3804 (Compiled frame)
 - com.google.common.cache.LocalCache$Segment.removeValueFromChain(com.google.common.cache.LocalCache$ReferenceEntry, com.google.common.cache.LocalCache$ReferenceEntry, java.lang.Object, int, com.google.common.cache.LocalCache$ValueReference, com.google.common.cache.RemovalCause) @bci=27, line=3253 (Compiled frame)
 - com.google.common.cache.LocalCache$Segment.removeEntry(com.google.common.cache.LocalCache$ReferenceEntry, int, com.google.common.cache.RemovalCause) @bci=83, line=3399 (Compiled frame)
 - com.google.common.cache.LocalCache$Segment.evictEntries() @bci=43, line=2669 (Compiled frame)
 - com.google.common.cache.LocalCache$Segment.storeLoadedValue(java.lang.Object, int, com.google.common.cache.LocalCache$LoadingValueReference, java.lang.Object) @bci=230, line=3147 (Compiled frame)
 - com.google.common.cache.LocalCache$Segment.getAndRecordStats(java.lang.Object, int, com.google.common.cache.LocalCache$LoadingValueReference, com.google.common.util.concurrent.ListenableFuture) @bci=84, line=2353 (Compiled frame)
 - com.google.common.cache.LocalCache$Segment.loadSync(java.lang.Object, int, com.google.common.cache.LocalCache$LoadingValueReference, com.google.common.cache.CacheLoader) @bci=15, line=2320 (Compiled frame)
 - com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(java.lang.Object, int, com.google.common.cache.CacheLoader) @bci=379, line=2282 (Compiled frame)
 - com.google.common.cache.LocalCache$Segment.get(java.lang.Object, int, com.google.common.cache.CacheLoader) @bci=138, line=2197 (Compiled frame)
 - com.google.common.cache.LocalCache.get(java.lang.Object, com.google.common.cache.CacheLoader) @bci=17, line=3937 (Compiled frame)
 - com.google.common.cache.LocalCache.getOrLoad(java.lang.Object) @bci=6, line=3941 (Compiled frame)
 - com.google.common.cache.LocalCache$LocalLoadingCache.get(java.lang.Object) @bci=5, line=4824 (Compiled frame)
 - com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(java.lang.Object) @bci=2, line=4830 (Compiled frame)

native stack from core dump file

0x00007f14fb3d2196      __GI_abort + 0x2d6
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae857b9      _ZN7VMError14report_and_dieEv + 0x659
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85533      _ZN7VMError14report_and_dieEv + 0x3d3
0x00007f14fae85dc8      _ZL13crash_handleriP7siginfoPv + 0x68
0x00007f14fbb92390              ????????
0x00007f14fae85703      _ZN7VMError14report_and_dieEv + 0x5a3
0x00007f14faccba05      JVM_handle_linux_signal + 0x1a5
0x00007f14facbecd8      _Z13signalHandleriP7siginfoPv + 0x38
0x00007f14fbb92390              ????????
0x00007f14fab8d963      _ZN12LinkResolver23resolve_invokeinterfaceER8CallInfo6Handle18constantPoolHandleiP6Thread + 0x563
0x00007f14fab8f1eb      _ZN12LinkResolver14resolve_invokeER8CallInfo6Handle18constantPoolHandleiN9Bytecodes4CodeEP6Thread + 0x6b
0x00007f14fad75273      _ZN13SharedRuntime23find_callee_info_helperEP10JavaThreadR12vframeStreamRN9Bytecodes4CodeER8CallInfoP6Thread + 0x343
0x00007f14fad7a913      _ZN13SharedRuntime21handle_ic_miss_helperEP10JavaThreadP6Thread + 0x233
0x00007f14fad7bc3d      _ZN13SharedRuntime27handle_wrong_method_ic_missEP10JavaThread + 0x2d
0x00007f14e5045c1a      <RuntimeStub>
Locked ownable synchronizers:
    - <0x00000006ab93f558>, (a java/util/concurrent/locks/ReentrantLock$NonfairSync)
cgdecker commented 5 years ago

Not sure what we can do here, but: does this happen consistently? And does it happen with newer versions of Java, or other versions of the JVM?

soocold commented 5 years ago

Not sure what we can do here, but: does this happen consistently? And does it happen with newer versions of Java, or other versions of the JVM?

it happened occasionally, once time it happened 2 times in a same machine with same error in 2 hour. We have nearly 800 docker containers in production environment, it all has same JVM versions, and it happened about once a week generally. I‘m not sure is caused by machine problem or JVM bug,but every time the error is same, I'm very confused.

et365 commented 4 years ago

we also met the similar issue.The jvm will be crashed when throw the NPE. Is it resolved?