Jetbrains系列软件高版本闪退问题解决

奚和光
2023-12-01

问题描述

在安装了高版本的Jetbrains系列软件后,出现了闪退的情况,排查日志发现如下错误

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffb30db99ac, pid=1948, tid=15720
#
# JRE version: OpenJDK Runtime Environment JBR-11.0.12.7-1504.28-jcef (11.0.12+7) (build 11.0.12+7-b1504.28)
# Java VM: OpenJDK 64-Bit Server VM JBR-11.0.12.7-1504.28-jcef (11.0.12+7-b1504.28, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C  [SrjdDll64.dll+0x299ac]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# 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: exit -Xmx750m -Xms128m -XX:ReservedCodeCacheSize=512m -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 -Djb.vmOptionsFile=D:\JetBrains\PhpStorm 2021.2.2\bin\phpstorm64.exe.vmoptions -Djava.system.class.loader=com.intellij.util.lang.PathClassLoader -Didea.vendor.name=JetBrains -Didea.paths.selector=PhpStorm2021.2 -Didea.platform.prefix=PhpStorm -Dsplash=true -Dide.native.launcher=true -XX:ErrorFile=C:\Users\cuixiaogang\java_error_in_phpstorm64_%p.log -XX:HeapDumpPath=C:\Users\cuixiaogang\java_error_in_phpstorm64.hprof 

Host: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 8 cores, 15G,  Windows 10 , 64 bit Build 19041 (10.0.19041.1348)
Time: Tue Jan 11 18:02:42 2022 中国标准时间 elapsed time: 45.609199 seconds (0d 0h 0m 45s)

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

Current thread (0x000000003cd45000):  JavaThread "ApplicationImpl pooled thread 1" [_thread_in_native, id=15720, stack(0x0000000053a10000,0x0000000053b10000)]

Stack: [0x0000000053a10000,0x0000000053b10000],  sp=0x0000000053b0bb20,  free space=1006k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [SrjdDll64.dll+0x299ac]

...
后面的太多了,就不粘贴了

搜索问题解决方案

通过百度发现有部分用户也遇到的相同的问题,大部分用户通过安装低版本解决了

  • https://blog.csdn.net/xuwang777/article/details/118524477
  • https://blog.csdn.net/weixin_45672746/article/details/110404288

解决方案

  • 百度推荐卸载DLP,不推荐
  • 软件降级,可以是可以,但是因为我在用WSL2,低版本的Jetbrains支持性不是很好,所以也不推荐
  • 先安装低版本,然后再安装高版本,安装时,需要卸载旧版本的软件,在最下面有一个uninstall silently(settings and configuration from old versions will not be deleted)的选项,勾选上,继续安装,接下来没有任何区别,问题完美解决

后续处理

经后续测试,即使按照这个方法,安装成功了,也会在使用中经常闪退。还是建议使用低版本或者卸载DLP

 类似资料: