MacOS 10.15 Catalina is installed.
PhpStorm or any other IDE crashes with the following error in
# Problematic frame:
# C [CoreGraphics+0x195930]
HarfBuzz library is used by JDK in text layout. The library is interacting with Cocoa API in a way which is causing the crash on MacOS 10.15 Catalina.
Replace JBR with the patched one using the switcher:
If the IDE could not be started use the following method to change JBR (this example is for IntelliJ IDEA):
sudo tar -C /Library/Java/JavaVirtualMachines/ -xvf jbrsdk-8u212-osx-x64-b1596.tar.gz
echo /Library/Java/JavaVirtualMachines/jdk > ~/Library/Preferences/IntelliJIdea2019.1/idea.jdk
See this document for more details about overriding the default runtime via the "<product>.jdk" file.
Examples for PyCharm, RubyMine, PhpStorm and WebStorm products (2019.1.x version):
echo /Library/Java/JavaVirtualMachines/jdk > ~/Library/Preferences/PyCharm2019.1/pycharm.jdk
echo /Library/Java/JavaVirtualMachines/jdk > ~/Library/Preferences/RubyMine2019.1/rubymine.jdk
echo /Library/Java/JavaVirtualMachines/jdk > ~/Library/Preferences/PhpStorm2019.1/phpstorm.jdk
echo /Library/Java/JavaVirtualMachines/jdk > ~/Library/Preferences/WebStorm2019.1/webstorm.jdk
Additional details regarding the problem are described in the scope of this YouTrack ticket.