Troubleshooting a Crash When Loading Harmony on GNU/Linux
If Harmony crashes when opening a scene or proceeding to the offline welcome screen, returning the message "segmentation fault" to the terminal, this may be caused because Harmony is not compatible with later versions of OpenSSL. You can fix this by setting the OPENSSL_ia32cap environment variable to the value "~0x200000200000000". This can be done in three different ways:
-
Setting the environment variable in a terminal and launching Harmony from this terminal.
TIP You should attempt this first to make sure that setting this environment variable actually solves the problem. - Setting the environment variable for one user, and launching Harmony when logged in as this user.
- Setting the environment variable for the entire machine, allowing you to launch Harmony as any user. This requires an account with administrator privileges.
-
Open a terminal and enter the following command:
$ export OPENSSL_ia32cap="~0x200000200000000"
-
Launch Harmony from the same terminal:
$ /usr/local/ToonBoomAnimation/harmonyAdvanced_22/lnx86_64/bin/HarmonyAdvanced
-
Open a terminal and open your Bash shell login file:
$ vi ~/.profile
-
Add the following line at the end:
export OPENSSL_ia32cap="~0x200000200000000"
- Save and quit.
-
Open your C-shell login file:
$ vi ~/.login
-
Add the following line at the end:
setenv OPENSSL_ia32cap "~0x200000200000000"
- Save and quit.
- Log out, then log back in.
- Attempt to launch Harmony.
-
Create a new Bash boot script using the following command:
$ sudo vi /etc/profile.d/openssl.sh
-
In the script, type the following command:
export OPENSSL_ia32cap="~0x200000200000000"
- Save and quit.
-
Create a new C-shell boot script using the following command:
$ sudo vi /etc/profile.d/openssl.csh
-
In the script, type in the following command:
setenv OPENSSL_ia32cap "~0x200000200000000"
- Save and quit.
- Reboot the machine.
- Attempt to launch Harmony.