据我所知,这与我们自己的代码无关,而与JVM /环境有关。这是相当罕见的情况,但与此同时,我们不确定是否会产生全部影响。有人可以告诉我这与我们的代码有关,还是与外部问题有关?我们正在使用Java 1.8.171,由于各种原因,现在不能退出它,因此建议不要进行更新。
编辑:我们不使用OpenJDK,而是使用Oracle的本机jre。
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f26c906a1fa, pid=7265, tid=0x00007f26589d8700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_171-b11) (build 1.8.0_171-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.171-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# v ~BufferBlob::jni_fast_GetLongField
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# 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.
#
--------------- T H R E A D ---------------
Current thread (0x00007f26d8372000): JavaThread "AWT-XAWT" daemon [_thread_in_native, id=7334, stack(0x00007f26588d8000,0x00007f26589d9000)]
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000000
Registers:
RAX=0x00007f26de5ec4c0, RBX=0x00007f26d83721f8, RCX=0x00007f26df0542c0, RDX=0x0000000000000042
RSP=0x00007f26589d7538, RBP=0x00007f26589d7560, RSI=0x0000000000000000, RDI=0x00007f26d83721f8
R8 =0x00000000000001f4, R9 =0x0000000000000000, R10=0x0000000000002664, R11=0x00007f26c9826628
R12=0x00007f253013abe0, R13=0x0000000000000000, R14=0x00007f2661800820, R15=0x00007f26d8372000
RIP=0x00007f26c906a1fa, EFLAGS=0x0000000000010246, CSGSFS=0x002b000000000033, ERR=0x0000000000000004
TRAPNO=0x000000000000000e
Top of Stack: (sp=0x00007f26589d7538)
0x00007f26589d7538: 00007f26615df001 00007f2673e4ebc8
0x00007f26589d7548: 00007f253013abe0 00007f26589d7610
0x00007f26589d7558: 00007f26589d75e0 0000000000000000
0x00007f26589d7568: 00007f26610c0420 00007f2673e4ebc8
0x00007f26589d7578: 00007f26589d75a0 0000000000000000
0x00007f26589d7588: 00007f26610b7ff3 00007f26589d7610
0x00007f26589d7598: 00007f26615d823f 00007f26589d75f0
0x00007f26589d75a8: 00007f26c98266c6 0000000000000000
0x00007f26589d75b8: 00007f26c954b486 00007f26589d7610
0x00007f26589d75c8: 00007f26c934783c 0000000080257d38
0x00007f26589d75d8: 00000000802f14a8 00000000802005a8
0x00007f26589d75e8: 00000000802f14a8 00007f26589d7670
0x00007f26589d75f8: 00007f26c9007b10 00007f26589d7670
0x00007f26589d7608: 00007f26c9007b10 0000000000000000
0x00007f26589d7618: 00007f26c9007e50 00007f2538000e30
0x00007f26589d7628: 0000000080257d38 00007f26589d7630
0x00007f26589d7638: 00007f2673e1b0cc 00007f26589d76b8
0x00007f26589d7648: 00007f2673e32e60 00007f2651b218f0
0x00007f26589d7658: 00007f2673e1b208 00007f26589d7610
0x00007f26589d7668: 00007f26589d76b0 00007f26589d7700
0x00007f26589d7678: 00007f26c9008361 0000000000000000
0x00007f26589d7688: 0000000000000000 0000000000000000
0x00007f26589d7698: 0000000000000000 0000000000000000
0x00007f26589d76a8: 0000000080257d38 deaddeaf00000000
0x00007f26589d76b8: 0000000080257ce0 00007f26589d76c0
0x00007f26589d76c8: 00007f2673e1af0d 00007f26589d7710
0x00007f26589d76d8: 00007f2673e32e60 0000000000000000
0x00007f26589d76e8: 00007f2673e1af18 00007f26589d76b0
0x00007f26589d76f8: 00007f26589d7710 00007f26589d7758
0x00007f26589d7708: 00007f26c90083a6 0000000080257ce0
0x00007f26589d7718: 00007f26589d7718 00007f267382e53b
0x00007f26589d7728: 00007f26589d7768 00007f26738b5f88
Instructions: (pc=0x00007f26c906a1fa)
0x00007f26c906a1da: 00 00 00 00 00 00 44 8b 15 01 1e 5c 15 4c 8b ce
0x00007f26c906a1ea: 41 f6 c2 01 0f 85 2e 00 00 00 4d 33 ca 4d 33 ca
0x00007f26c906a1fa: 4d 8b 09 4c 8b da 49 c1 eb 02 4b 8b 04 19 49 bb
0x00007f26c906a20a: e8 bf 62 de 26 7f 00 00 4c 33 d8 4c 33 d8 45 3b
Register to memory mapping:
RAX=0x00007f26de5ec4c0: <offset 0xf914c0> in /usr/lib/jvm/jre1.8.0_171/lib/amd64/server/libjvm.so at 0x00007f26dd65b000
RBX=0x00007f26d83721f8 is an unknown value
RCX=0x00007f26df0542c0: <offset 0x2182c0> in /lib/x86_64-linux-gnu/libpthread.so.0 at 0x00007f26dee3c000
RDX=0x0000000000000042 is an unknown value
RSP=0x00007f26589d7538 is pointing into the stack for thread: 0x00007f26d8372000
RBP=0x00007f26589d7560 is pointing into the stack for thread: 0x00007f26d8372000
RSI=0x0000000000000000 is an unknown value
RDI=0x00007f26d83721f8 is an unknown value
R8 =0x00000000000001f4 is an unknown value
R9 =0x0000000000000000 is an unknown value
R10=0x0000000000002664 is an unknown value
R11=0x00007f26c9826628 is at entry_point+40 in (nmethod*)0x00007f26c9826490
R12=0x00007f253013abe0 is an unknown value
R13=0x0000000000000000 is an unknown value
R14=0x00007f2661800820: <offset 0x258820> in /usr/lib/jvm/jre1.8.0_171/lib/amd64/libawt_xawt.so at 0x00007f26615a8000
R15=0x00007f26d8372000 is a thread
Stack: [0x00007f26588d8000,0x00007f26589d9000], sp=0x00007f26589d7538, free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
v ~BufferBlob::jni_fast_GetLongField
C [libX11.so.6+0x64420] _XimServerDestroy+0x70
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 1691 sun.awt.X11.XlibWrapper.XFilterEvent(JJ)Z (0 bytes) @ 0x00007f26c9826654 [0x00007f26c9826600+0x54]
j sun.awt.X11.XToolkit.run(Z)V+300
j sun.awt.X11.XToolkit.run()V+5
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x00007f254002a000 JavaThread "Thread-77" [_thread_in_native, id=34775, stack(0x00007f2651957000,0x00007f2651a58000)]
0x00007f2540029000 JavaThread "Thread-76" [_thread_in_native, id=34754, stack(0x00007f2652763000,0x00007f2652864000)]
0x00007f2540028800 JavaThread "Thread-75" [_thread_in_native, id=34725, stack(0x00007f265306c000,0x00007f265316d000)]
0x00007f2540027800 JavaThread "Thread-74" [_thread_in_native, id=34712, stack(0x00007f2652d69000,0x00007f2652e6a000)]
0x00007f2540026800 JavaThread "Thread-73" [_thread_in_native, id=34667, stack(0x00007f2652561000,0x00007f2652662000)]
0x00007f254000b000 JavaThread "Thread-72" [_thread_in_native, id=34619, stack(0x00007f2652e6a000,0x00007f2652f6b000)]
0x00007f2540013800 JavaThread "Thread-71" [_thread_in_native, id=34567, stack(0x00007f2652662000,0x00007f2652763000)]
0x00007f2540018800 JavaThread "Thread-70" [_thread_in_native, id=34428, stack(0x00007f2651e5a000,0x00007f2651f5b000)]
0x00007f254000e000 JavaThread "Thread-69" [_thread_in_native, id=34225, stack(0x00007f2651d59000,0x00007f2651e5a000)]
0x00007f254001f800 JavaThread "Thread-68" [_thread_in_native, id=33694, stack(0x00007f265336d000,0x00007f265346e000)]
0x00007f2540024800 JavaThread "Thread-67" [_thread_in_native, id=32817, stack(0x00007f265225e000,0x00007f265235f000)]
0x00007f2540009000 JavaThread "Thread-66" [_thread_in_native, id=31969, stack(0x00007f2651f5b000,0x00007f265205c000)]
0x00007f2540004000 JavaThread "Thread-65" [_thread_in_native, id=31061, stack(0x00007f2652f6b000,0x00007f265306c000)]
0x00007f254001a800 JavaThread "Thread-64" [_thread_in_native, id=30196, stack(0x00007f265235f000,0x00007f2652460000)]
0x00007f2540021000 JavaThread "Thread-63" [_thread_in_native, id=29367, stack(0x00007f2652460000,0x00007f2652561000)]
0x00007f254001c000 JavaThread "Thread-62" [_thread_in_native, id=28472, stack(0x00007f2652b67000,0x00007f2652c68000)]
0x00007f2540005800 JavaThread "Thread-61" [_thread_in_native, id=27610, stack(0x00007f2651c58000,0x00007f2651d59000)]
0x00007f2540011800 JavaThread "Thread-60" [_thread_in_native, id=26707, stack(0x00007f2652864000,0x00007f2652965000)]
0x00007f2540003000 JavaThread "Thread-59" [_thread_in_native, id=25833, stack(0x00007f2652965000,0x00007f2652a66000)]
0x00007f2540007800 JavaThread "Thread-58" [_thread_in_native, id=24955, stack(0x00007f2652c68000,0x00007f2652d69000)]
0x00007f2540015000 JavaThread "Thread-57" [_thread_in_native, id=24144, stack(0x00007f265215d000,0x00007f265225e000)]
0x00007f24cc001000 JavaThread "Thread-56" [_thread_in_native, id=48772, stack(0x00007f265205c000,0x00007f265215d000)]
0x00007f2524005800 JavaThread "process reaper" daemon [_thread_in_native, id=54014, stack(0x00007f265809b000,0x00007f26580d4000)]
0x00007f250c00b800 JavaThread "process reaper" daemon [_thread_in_native, id=54001, stack(0x00007f265356f000,0x00007f26535a8000)]
0x00007f2530155000 JavaThread "TimerQueue" daemon [_thread_blocked, id=40358, stack(0x00007f265361a000,0x00007f265371b000)]
0x00007f26d800b000 JavaThread "DestroyJavaVM" [_thread_blocked, id=7270, stack(0x00007f26df157000,0x00007f26df258000)]
0x00007f26d837c800 JavaThread "ScenarioModelThread" [_thread_blocked, id=7338, stack(0x00007f26584d4000,0x00007f26585d5000)]
0x00007f26d837b000 JavaThread "pool-1-thread-1" [_thread_blocked, id=7337, stack(0x00007f26585d5000,0x00007f26586d6000)]
0x00007f26d8378000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=7336, stack(0x00007f26586d6000,0x00007f26587d7000)]
0x00007f26d8376800 JavaThread "AWT-Shutdown" [_thread_blocked, id=7335, stack(0x00007f26587d7000,0x00007f26588d8000)]
=>0x00007f26d8372000 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=7334, stack(0x00007f26588d8000,0x00007f26589d9000)]
0x00007f26d834e000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=7333, stack(0x00007f2660096000,0x00007f2660197000)]
0x00007f26d82e9800 JavaThread "Thread-4" [_thread_in_native, id=7332, stack(0x00007f2661ad3000,0x00007f2661bd4000)]
0x00007f26d82e7000 JavaThread "Thread-3" [_thread_in_native, id=7331, stack(0x00007f2661bd4000,0x00007f2661cd5000)]
0x00007f26d82dd000 JavaThread "Thread-2" [_thread_in_native, id=7330, stack(0x00007f2661cd5000,0x00007f2661dd6000)]
0x00007f26d813a800 JavaThread "Service Thread" daemon [_thread_blocked, id=7328, stack(0x00007f266232e000,0x00007f266242f000)]
0x00007f26d8125800 JavaThread "C1 CompilerThread14" daemon [_thread_blocked, id=7327, stack(0x00007f266242f000,0x00007f2662530000)]
0x00007f26d8123000 JavaThread "C1 CompilerThread13" daemon [_thread_blocked, id=7326, stack(0x00007f2662530000,0x00007f2662631000)]
0x00007f26d8121000 JavaThread "C1 CompilerThread12" daemon [_thread_blocked, id=7325, stack(0x00007f2662631000,0x00007f2662732000)]
0x00007f26d811f000 JavaThread "C1 CompilerThread11" daemon [_thread_blocked, id=7324, stack(0x00007f2662732000,0x00007f2662833000)]
0x00007f26d811c800 JavaThread "C1 CompilerThread10" daemon [_thread_blocked, id=7323, stack(0x00007f2662833000,0x00007f2662934000)]
0x00007f26d811a800 JavaThread "C2 CompilerThread9" daemon [_thread_blocked, id=7322, stack(0x00007f2662934000,0x00007f2662a35000)]
0x00007f26d8118800 JavaThread "C2 CompilerThread8" daemon [_thread_blocked, id=7321, stack(0x00007f2662a35000,0x00007f2662b36000)]
0x00007f26d8116800 JavaThread "C2 CompilerThread7" daemon [_thread_blocked, id=7320, stack(0x00007f2662b36000,0x00007f2662c37000)]
0x00007f26d8114000 JavaThread "C2 CompilerThread6" daemon [_thread_blocked, id=7319, stack(0x00007f2662c37000,0x00007f2662d38000)]
0x00007f26d8112000 JavaThread "C2 CompilerThread5" daemon [_thread_blocked, id=7318, stack(0x00007f2662d38000,0x00007f2662e39000)]
0x00007f26d8108000 JavaThread "C2 CompilerThread4" daemon [_thread_blocked, id=7317, stack(0x00007f2662e39000,0x00007f2662f3a000)]
0x00007f26d8105800 JavaThread "C2 CompilerThread3" daemon [_thread_blocked, id=7316, stack(0x00007f2662f3a000,0x00007f266303b000)]
0x00007f26d8103800 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=7315, stack(0x00007f266303b000,0x00007f266313c000)]
0x00007f26d8101800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=7314, stack(0x00007f266313c000,0x00007f266323d000)]
0x00007f26d80ff000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=7313, stack(0x00007f266323d000,0x00007f266333e000)]
0x00007f26d80fd800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7312, stack(0x00007f266333e000,0x00007f266343f000)]
0x00007f26d80ca800 JavaThread "Finalizer" daemon [_thread_blocked, id=7311, stack(0x00007f2663dfe000,0x00007f2663eff000)]
0x00007f26d80c6000 JavaThread "Reference Handler" daemon [_thread_blocked, id=7310, stack(0x00007f2663eff000,0x00007f2664000000)]
Other Threads:
0x00007f26d80be800 VMThread [stack: 0x00007f2668050000,0x00007f2668151000] [id=7309]
0x00007f26d813f800 WatcherThread [stack: 0x00007f266222d000,0x00007f266232e000] [id=7329]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None