Repeated Crashes
I have been getting random crashes over the past 6 monthes. I have noticed it is for one particular project it happens with. See crash dump below, any help is appreciated.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007ff803b0401f, pid=7701, tid=259
#
# JRE version: OpenJDK Runtime Environment JBR-11.0.14.1.1-2043.25-jcef (11.0.14.1+1) (build 11.0.14.1+1-b2043.25)
# Java VM: OpenJDK 64-Bit Server VM JBR-11.0.14.1.1-2043.25-jcef (11.0.14.1+1-b2043.25, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
# Problematic frame:
# C [libobjc.A.dylib+0x901f] objc_release+0x1f
#
# No core dump will be written. 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:
# https://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.
#
--------------- S U M M A R Y ------------
Command Line: -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=512m -XX:+IgnoreUnrecognizedVMOptions -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB=50 -XX:CICompilerCount=2 -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -ea -Dsun.io.useCanonCaches=false -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -XX:ErrorFile=/Users/pmckenna/java_error_in_idea_%p.log -XX:HeapDumpPath=/Users/pmckenna/java_error_in_idea.hprof -Xmx2048m -Djb.vmOptionsFile=/Users/pmckenna/Library/Application Support/JetBrains/IdeaIC2022.1/idea.vmoptions -Dsplash=true -Didea.strict.classpath=true -Didea.jre.check=true -Didea.executable=idea -Didea.home.path=/Applications/IntelliJ IDEA CE.app/Contents -Djava.system.class.loader=com.intellij.util.lang.PathClassLoader -Didea.platform.prefix=Idea -Didea.paths.selector=IdeaIC2022.1 -Didea.vendor.name=JetBrains
Host: MacBookPro16,1 x86_64 2300 MHz, 16 cores, 32G, Darwin 21.6.0
Time: Sun Feb 19 13:22:59 2023 GMT elapsed time: 105776.121450 seconds (1d 5h 22m 56s)
--------------- T H R E A D ---------------
Current thread (0x00007fccdb8c1800): JavaThread "AWT-AppKit" daemon [_thread_in_native, id=259, stack(0x00007ff7b8613000,0x00007ff7b8e13000)]
Stack: [0x00007ff7b8613000,0x00007ff7b8e13000], sp=0x00007ff7b8e10298, free space=8180k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libobjc.A.dylib+0x901f] objc_release+0x1f
C [libsystem_blocks.dylib+0x1654] _Block_release+0x82
C [Foundation+0x818c5] -[_NSThreadPerformInfo dealloc]+0x31
C [Foundation+0x81545] __NSThreadPerformPerform+0xd1
C [CoreFoundation+0x8017b] __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__+0x11
C [CoreFoundation+0x800e3] __CFRunLoopDoSource0+0xb4
C [CoreFoundation+0x7fe5d] __CFRunLoopDoSources0+0xf2
C [CoreFoundation+0x7e878] __CFRunLoopRun+0x37c
C [CoreFoundation+0x7de3c] CFRunLoopRunSpecific+0x232
C [HIToolbox+0x2e5e6] RunCurrentEventLoopInMode+0x124
C [HIToolbox+0x2e34a] ReceiveNextEventCommon+0x252
C [HIToolbox+0x2e0e5] _BlockUntilNextEventMatchingListInModeWithFilter+0x46
C [AppKit+0x3efad] _DPSNextEvent+0x39f
C [AppKit+0x3d66a] -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]+0x572
C [libosxapp.dylib+0x3f48] -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:]+0x79
C [AppKit+0x2fd19] -[NSApplication run]+0x24a
C [libosxapp.dylib+0x3d2d] +[NSApplicationAWT runAWTLoopWithApp:]+0xa5
C [libawt_lwawt.dylib+0x7ac7d] +[AWTStarter starter:headless:]+0x1f0
C [libosxapp.dylib+0x5af7] +[ThreadUtilities invokeBlockCopy:]+0xf
C [Foundation+0x81527] __NSThreadPerformPerform+0xb3
C [CoreFoundation+0x8017b] __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__+0x11
C [CoreFoundation+0x800e3] __CFRunLoopDoSource0+0xb4
C [CoreFoundation+0x7fe5d] __CFRunLoopDoSources0+0xf2
C [CoreFoundation+0x7e878] __CFRunLoopRun+0x37c
C [CoreFoundation+0x7de3c] CFRunLoopRunSpecific+0x232
C [idea+0x3f22] main+0x172
C 0x000000010c4c652e
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000100000308
Register to memory mapping:
RAX=0x00000001000002ef is an unknown value
RBX=0x0000600007f5b980 points into unknown readable memory: 0x00007ff8453c0ba0 | a0 0b 3c 45 f8 7f 00 00
RCX=0x00000001000002e8 is an unknown value
RDX=0x00000000c3000001 is an unknown value
RSP=0x00007ff7b8e10298 is pointing into the stack for thread: 0x00007fccdb8c1800
RBP=0x00007ff7b8e102b0 is pointing into the stack for thread: 0x00007fccdb8c1800
RSI=0x0000000000000003 is an unknown value
RDI=0x000070000fb91070 is pointing into the stack for thread: 0x00007fcca9176000
R8 =0x0000000000000100 is an unknown value
R9 =0x0000000000000100 is an unknown value
R10=0x00007ff8453c0ba0: _NSConcreteMallocBlock+0 in /usr/lib/system/libsystem_blocks.dylib at 0x00007ff80399f000
R11=0x00007ff8039a0716: -[__NSMallocBlock__ release]+0 in /usr/lib/system/libsystem_blocks.dylib at 0x00007ff80399f000
R12=0x00007fccd880c1b0 points into unknown readable memory: 0x0000000000000000 | 00 00 00 00 00 00 00 00
R13=0x0 is NULL
R14=0x00007ff803b04000: objc_release+0 in /usr/lib/libobjc.A.dylib at 0x00007ff803afb000
R15=0x0 is NULL
Registers:
RAX=0x00000001000002ef, RBX=0x0000600007f5b980, RCX=0x00000001000002e8, RDX=0x00000000c3000001
RSP=0x00007ff7b8e10298, RBP=0x00007ff7b8e102b0, RSI=0x0000000000000003, RDI=0x000070000fb91070
R8 =0x0000000000000100, R9 =0x0000000000000100, R10=0x00007ff8453c0ba0, R11=0x00007ff8039a0716
R12=0x00007fccd880c1b0, R13=0x0000000000000000, R14=0x00007ff803b04000, R15=0x0000000000000000
RIP=0x00007ff803b0401f, EFLAGS=0x0000000000010206, ERR=0x0000000000000004
TRAPNO=0x000000000000000e
Top of Stack: (sp=0x00007ff7b8e10298)
0x00007ff7b8e10298: 00000001559463af 0000000155946398
0x00007ff7b8e102a8: 0000600007f5b980 00007ff7b8e102d0
0x00007ff7b8e102b8: 00007ff8039a0654 00007ff8453c0ba0
0x00007ff7b8e102c8: 0000600007f5a340 00007ff7b8e10310
0x00007ff7b8e102d8: 00007ff804bb28c5 00007ff7b8e10310
0x00007ff7b8e102e8: 00007ff804d4953f 00007fcca8706ad9
0x00007ff7b8e102f8: 580d7ec27deb008d 00006000027d30b0
0x00007ff7b8e10308: 0000600007f5a340 00007ff7b8e10360
0x00007ff7b8e10318: 00007ff804bb2545 00007ff81e089208
0x00007ff7b8e10328: 00007ff81e0dbf96 00006000030c4480
0x00007ff7b8e10338: 00006000010ca700 00007ff804bb2474
0x00007ff7b8e10348: 0000000000000000 00006000027d30b0
0x00007ff7b8e10358: 0000000000000000 00007ff7b8e10370
0x00007ff7b8e10368: 00007ff803d3517b 00007ff7b8e103a0
0x00007ff7b8e10378: 00007ff803d350e3 00006000019d4000
0x00007ff7b8e10388: 0000600001edc000 00006000019d4000
0x00007ff7b8e10398: 00007ff7b8e103d8 00007ff7b8e10410
0x00007ff7b8e103a8: 00007ff803d34e5d 0000600001edc000
0x00007ff7b8e103b8: 0000000000000001 0000600001edc010
0x00007ff7b8e103c8: 00006000019d4010 0000000100000004
0x00007ff7b8e103d8: 00006000010ca700 580d7ec27deb008d
0x00007ff7b8e103e8: 0000000000000001 0000000000001c03
0x00007ff7b8e103f8: 0000000000000000 00006000019d4000
0x00007ff7b8e10408: 0000600001edc000 00007ff7b8e11140
0x00007ff7b8e10418: 00007ff803d33878 0000000000000000
0x00007ff7b8e10428: 0000000000001d03 0000600001edc0b8
0x00007ff7b8e10438: 00007ff8467d2d70 0000000000002103
0x00007ff7b8e10448: 0000000000000000 422d107eca99a100
0x00007ff7b8e10458: ffffffffffffffff 0000600001edc010
0x00007ff7b8e10468: 00006000019d4010 0000000100001d03
0x00007ff7b8e10478: 0000000000000000 0000000000002103
0x00007ff7b8e10488: 0000000000000000 0000000000000000
Instructions: (pc=0x00007ff803b0401f)
0x00007ff803b03f1f: 8b 0d 33 d2 8d 41 48 89 4a 18 48 8b 0d 30 d2 8d
0x00007ff803b03f2f: 41 48 89 4a 20 b9 05 00 00 00 48 89 df 48 89 c6
0x00007ff803b03f3f: e8 9d 9b 01 00 84 c0 75 23 66 f0 41 81 4e 1c 00
0x00007ff803b03f4f: 80 48 8b 05 d9 6f e6 3f 48 8b 00 48 3b 45 e0 75
0x00007ff803b03f5f: 2c 48 83 c4 48 5b 41 5e 41 5f 5d c3 31 c0 80 3d
0x00007ff803b03f6f: 4c e4 8d 41 00 74 da 0f b6 d0 4c 89 f7 be 02 00
0x00007ff803b03f7f: 00 00 e8 18 e5 01 00 eb c8 b0 01 eb e1 e8 c9 ef
0x00007ff803b03f8f: 01 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x00007ff803b03f9f: e9 04 00 00 00 90 90 90 90 40 f6 c7 01 75 4e 48
0x00007ff803b03faf: 8b 07 a8 01 74 34 48 b9 00 00 00 00 00 00 00 01
0x00007ff803b03fbf: 48 89 c2 48 c1 ea 37 74 34 48 89 c2 48 01 ca 72
0x00007ff803b03fcf: 12 f0 48 0f b1 17 74 25 a8 01 75 e4 31 f6 e9 38
0x00007ff803b03fdf: d1 01 00 31 f6 e9 37 83 00 00 48 b9 f8 ff ff ff
0x00007ff803b03fef: ff 7f 00 00 48 21 c8 f6 40 1c 01 74 df 48 89 f8
0x00007ff803b03fff: c3 48 85 ff 74 76 89 f8 83 e0 01 48 85 c0 75 6c
0x00007ff803b0400f: 48 8b 07 48 b9 f8 ff ff ff ff 7f 00 00 48 21 c1
0x00007ff803b0401f: 48 8b 51 20 f6 c2 04 74 54 a8 01 74 72 48 b9 00
0x00007ff803b0402f: 00 00 00 00 00 80 00 48 ba 00 00 00 00 00 00 00
0x00007ff803b0403f: 01 48 39 c8 72 36 48 89 c6 48 29 d6 72 17 f0 48
0x00007ff803b0404f: 0f b1 37 74 22 a8 01 75 e8 31 f6 ba 01 00 00 00
0x00007ff803b0405f: e9 46 cd 01 00 48 85 c8 75 3d 48 8b 35 18 d1 8d
0x00007ff803b0406f: 41 ff 25 da 70 e6 3f 48 39 ce 72 ee c3 66 83 79
0x00007ff803b0407f: 1c 00 79 0e 83 e2 02 48 85 d2 74 06 f6 41 28 02
0x00007ff803b0408f: 75 1f 48 8b 35 40 d0 8d 41 ff 25 b2 70 e6 3f f6
0x00007ff803b0409f: 41 1c 01 74 b4 eb d5 be 01 00 00 00 e9 4c a3 00
0x00007ff803b040af: 00 48 8b 05 41 8c 89 41 ff e0 90 90 90 90 90 90
0x00007ff803b040bf: 90 90 90 90 90 90 90 e9 04 00 00 00 90 90 90 90
0x00007ff803b040cf: 55 48 89 e5 53 50 48 89 fb f6 c3 01 75 21 48 b8
0x00007ff803b040df: 07 00 00 00 00 00 a0 00 48 23 03 48 83 f8 01 75
0x00007ff803b040ef: 15 48 89 df 48 83 c4 08 5b 5d e9 34 ef 01 00 48
0x00007ff803b040ff: 83 c4 08 5b 5d c3 48 89 df e8 0b 00 00 00 eb e1
0x00007ff803b0410f: 90 90 90 90 90 90 90 90 90 55 48 89 e5 41 56 53
Stack slot to memory mapping:
stack at sp + 0 slots: 0x00000001559463af: __destroy_helper_block_e8_32o40o+0x17 in /Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/Home/lib/libosxapp.dylib at 0x0000000155941000
stack at sp + 1 slots: 0x0000000155946398: __destroy_helper_block_e8_32o40o+0 in /Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/Home/lib/libosxapp.dylib at 0x0000000155941000
stack at sp + 2 slots: 0x0000600007f5b980 points into unknown readable memory: 0x00007ff8453c0ba0 | a0 0b 3c 45 f8 7f 00 00
stack at sp + 3 slots: 0x00007ff7b8e102d0 is pointing into the stack for thread: 0x00007fccdb8c1800
stack at sp + 4 slots: 0x00007ff8039a0654: _Block_release+0x82 in /usr/lib/system/libsystem_blocks.dylib at 0x00007ff80399f000
stack at sp + 5 slots: 0x00007ff8453c0ba0: _NSConcreteMallocBlock+0 in /usr/lib/system/libsystem_blocks.dylib at 0x00007ff80399f000
stack at sp + 6 slots: 0x0000600007f5a340 points into unknown readable memory: 0x001dfff8452529c1 | c1 29 25 45 f8 ff 1d 00
stack at sp + 7 slots: 0x00007ff7b8e10310 is pointing into the stack for thread: 0x00007fccdb8c1800
com.intellij.diagnostic.JBRCrash
请先登录再写评论。
It seems to be a JetBrains Runtime known issue: https://youtrack.jetbrains.com/issue/JBR-4355
It was fixed in the 2022.1.1 (IC-221.5591.52) version of IntelliJ IDEA. Could you update to the latest version?
Or download the 2022.1.1 which introduced the fix in the runtime build?