PhpStorm keep crashing since 2022.1 on a MacOS 12.3 Monterey

Hi, my PhpStorm IDE was working fine before the upgrade to 2022.1 (Build #PS-221.5080.224, built on April 13, 2022) recently. After this upgrade, the IDE has crashed several times while just editing source files. I have reported one of the crash with ID#9590710. This is very unpleasant because it will close the IDE immediately without saving. I will lose work. :(

The crash is cause by fatal error from the JRE. Here is the excerpt with details form the crash report:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ff8088e303f, pid=22859, 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+0xd03f]  objc_release+0x1f

Can someone from JET team please investigate and find out what's going on? This is unusable and have to revert to older version of the IDE.

8 comments
Comment actions Permalink

At the very first glance, it looks pretty similar to this report:
https://youtrack.jetbrains.com/issue/JBR-4351

Could you please participate in the discussion in the ticket's comments and share your set of log files there?

0
Comment actions Permalink

Hi Vasiliy, the link you give is on generic jet brains runtime? But I also have other product such as WebStorm and it has not issue with latest 2022.1though. The crash I see is only happening on the PhpStorm app only it seems.

I can try to help make my comment there if that helps.

0
Comment actions Permalink

FYI: I have filed a PhpStorm issue here: https://youtrack.jetbrains.com/issue/WI-66250/PhpStorm-keep-crashing-since-2022.1-on-a-MacOS-12.3-Monterey

Now that I resisted the issues tracker, there seems to be few similar reported issues now. This is bad. :(

0
Comment actions Permalink

I'm having a similar issue also on Intellij IDEA and DataGrip, however, it only happens after I put my mac in sleep mode.

0
Comment actions Permalink

Hi, Zemian Deng

Basically, there is a number (that keeps growing) of similar reports and all of them have the same pattern as in JBR-4351. If we take a look at the duplicating and related tickets, we may notice that not only the PhpStorm is affected but other IDE's that are built on the same runtime as well.

0
Comment actions Permalink

I also am experiencing multiple crashes with PhpStorm 20122.1 (Build #PS-221.5080.224) and macOS 12..3.1, on Intel MacBook.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ff8186a8429, pid=41647, 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+0xa429]  objc_msgSend+0x29
#
# 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/terrymorse/java_error_in_phpstorm_%p.log -XX:HeapDumpPath=/Users/terrymorse/java_error_in_phpstorm.hprof -Xmx2048m -Djava.net.preferIPv4Stack=true -Xbootclasspath/a:../lib/boot.jar -Djb.vmOptionsFile=/Users/terrymorse/Library/Application Support/JetBrains/PhpStorm2022.1/phpstorm.vmoptions -Dsplash=true -Didea.strict.classpath=true -Didea.home.path=/Applications/PhpStorm.app/Contents -Didea.executable=phpstorm -Djava.system.class.loader=com.intellij.util.lang.PathClassLoader -Didea.platform.prefix=PhpStorm -Didea.paths.selector=PhpStorm2022.1 -Didea.vendor.name=JetBrains 

Host: MacBookPro13,2 x86_64 2900 MHz, 4 cores, 16G, Darwin 21.4.0
Time: Wed Apr 20 11:10:56 2022 PDT elapsed time: 807.057628 seconds (0d 0h 13m 27s)

 

 

0
Comment actions Permalink

@Vasiliy Yur I take back that WebStorm is not affected. It actually also affected that it crashes as well. So yes you are right that it's more a common platform I guess.

To everyone else, please report and vote on the issue Vasiliy mentioned here https://youtrack.jetbrains.com/issue/JBR-4351 

 

1

Please sign in to leave a comment.