jvolkman / intellij-protobuf-editor

Protocol Buffers for IntelliJ-based IDEs
Apache License 2.0
122 stars 15 forks source link

IntelliJ IDEA crashing MacOS BigSur in GCTaskThread #66

Closed vprovodin closed 3 years ago

vprovodin commented 3 years ago

IntelliJ IDEA is crashing on MacOS BigSur OS with a JAVA error.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000111c1b0ed, pid=68391, tid=38147
#
# JRE version: OpenJDK Runtime Environment JBR-11.0.9.1.11-1145.77-jcef (11.0.9.1+11) (build 11.0.9.1+11-b1145.77)
# Java VM: OpenJDK 64-Bit Server VM JBR-11.0.9.1.11-1145.77-jcef (11.0.9.1+11-b1145.77, mixed mode, tiered, compressed oops, concurrent mark sweep gc, bsd-amd64)
# Problematic frame:
# V  [libjvm.dylib+0x2490ed]  _ZN13PromotionInfo21promoted_oops_iterateI28ParScanWithoutBarrierClosureEEvPT_+0x7d
#
# 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
#

---------------  S U M M A R Y ------------

Command Line: -Xms128m -Xmx2048m -XX:ReservedCodeCacheSize=512m -XX:+UseConcMarkSweepGC -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/ramanvi/java_error_in_idea_%p.log -XX:HeapDumpPath=/Users/ramanvi/java_error_in_idea.hprof -Djb.vmOptionsFile=/Users/ramanvi/Library/Application Support/JetBrains/IntelliJIdea2020.3/idea.vmoptions -Didea.paths.selector=IntelliJIdea2020.3 -Didea.executable=idea -Didea.home.path=/Applications/IntelliJ IDEA.app/Contents -Didea.vendor.name=JetBrains 

Host: MacBookPro14,3 x86_64 2800 MHz, 8 cores, 16G, Darwin 20.2.0
Time: Thu Feb  4 20:21:36 2021 IST elapsed time: 45.978572 seconds (0d 0h 0m 45s)

---------------  T H R E A D  ---------------

Current thread (0x00007fb98290b000):  GCTaskThread "GC Thread#3" [stack: 0x0000700007862000,0x0000700007962000] [id=38147]

Stack: [0x0000700007862000,0x0000700007962000],  sp=0x0000700007961de0,  free space=1023k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.dylib+0x2490ed]  _ZN13PromotionInfo21promoted_oops_iterateI28ParScanWithoutBarrierClosureEEvPT_+0x7d
V  [libjvm.dylib+0x249061]  _ZN29ConcurrentMarkSweepGeneration37par_oop_since_save_marks_iterate_doneEi+0x23
V  [libjvm.dylib+0x623c46]  _ZN13ParNewGenTask4workEj+0x11a
V  [libjvm.dylib+0x77dd83]  _ZN10GangWorker4loopEv+0x43
V  [libjvm.dylib+0x70b9ac]  _ZN6Thread8call_runEv+0x68
V  [libjvm.dylib+0x610a53]  _ZL19thread_native_entryP6Thread+0x139
C  [libsystem_pthread.dylib+0x6950]  _pthread_start+0xe0
C  [libsystem_pthread.dylib+0x247b]  thread_start+0xf

There are Golang plugin and Protobuf plugin installed. After disabling the "Protocol Buffer Editor (2.2.0)" plugin the crash went away.

see https://youtrack.jetbrains.com/issue/JBR-3078

jvolkman commented 3 years ago

I haven't seen other reports of this, and I know folks are using this plugin on Big Sur. Not sure I can do anything without more info.