在 macOS Catalina 上打开 PhpStorm 后崩溃
Crash after opening PhpStorm on macOS Catalina
将 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
.
.
.
请帮我解决这个问题,而不是降级 macOS。
在 Google 上搜索大约 2 小时后,我找到了以下解决方案,它将解决 PhpStorm 问题。
Add -Dsun.font.layoutengine=icu into Help | Edit Custom VM Options and
restart IDE.
谢谢@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,它应该可以正常工作。然后您可以应用上面给出的解决方法。
Add -Dsun.font.layoutengine=icu into Help | Edit Custom VM Options and
restart IDE.
将 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
.
.
.
请帮我解决这个问题,而不是降级 macOS。
在 Google 上搜索大约 2 小时后,我找到了以下解决方案,它将解决 PhpStorm 问题。
Add -Dsun.font.layoutengine=icu into Help | Edit Custom VM Options and restart IDE.
谢谢@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,它应该可以正常工作。然后您可以应用上面给出的解决方法。
Add -Dsun.font.layoutengine=icu into Help | Edit Custom VM Options and restart IDE.