在macOS Catalina上打开PhpStorm后崩溃

时间:2019-07-07 19:24:35

标签: java macos kernel phpstorm

将macOS Catalina从Beta 2更新到Beta 3之后,我无法打开PhpStorm或Android Studio(我认为应用程序使用JAVA)。

那将是崩溃,下面是该崩溃的报告:

Path:                  /Applications/PhpStorm.app/Contents/MacOS/phpstorm
Identifier:            com.jetbrains.PhpStorm
Version:               2019.1.3 (PS-191.7479.51)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           phpstorm [3410]
User ID:               501

Date/Time:             2019-07-07 21:16:49.226 +0200
OS Version:            Mac OS X 10.15 (19A501i)
Report Version:        12
Anonymous UUID:        2BB851C3-640F-AFB5-CF9A-1E889C101F0A


Time Awake Since Boot: 7000 seconds

System Integrity Protection: disabled

Crashed Thread:        35  Java: AWT-EventQueue-0

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0:
--> 
    __TEXT                 0000000105c31000-0000000105c36000 [   20K] r-x/rwx SM=COW  /Applications/PhpStorm.app/Contents/MacOS/phpstorm

Application Specific Information:
CGDataProviderCreateWithData: 0x0 0

abort() called

Thread 0:: AppKit Thread  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff711ff396 mach_msg_trap + 10
.
.
.

Full logs at here

请帮助我如何解决此问题,而不是降级macOS。

2 个答案:

答案 0 :(得分:1)

在Google上搜索大约2个小时后,我发现了以下解决方案,它将解决PhpStorm问题。

  

将-Dsun.font.layoutengine = icu添加到“帮助” |编辑自定义VM选项,然后   重新启动IDE。

来源:https://youtrack.jetbrains.com/issue/JBR-1639

答案 1 :(得分:0)

谢谢@ mohammadreza-yektamaram,我能够解决问题。以我为例,Material主题无法支持新的Catalina OS。因此,我必须手动卸载插件和设置才能进行整理。以下是我遵循的步骤: (参考:https://intellij-support.jetbrains.com/hc/en-us/articles/206544519

删除所有这些目录:请注意,这将删除所有首选项,设置等

  • 配置(idea.config.path):~/Library/Preferences/<PRODUCT><VERSION>
  • 缓存(idea.system.path):~/Library/Caches/<PRODUCT><VERSION>
  • 插件(idea.plugins.path):~/Library/Application Support/<PRODUCT><VERSION>
  • 日志(idea.log.path):~/Library/Logs/<PRODUCT><VERSION>

立即启动phpStorm,它应该可以正常工作。然后,您可以应用上面给出的解决方法。

  

将-Dsun.font.layoutengine = icu添加到“帮助” |编辑自定义VM选项,然后   重新启动IDE。