"An unexpected error has been detected by HotSpot Virtual Machine"

Last edited on

Symptoms

You may be getting the following error message while starting the Squish IDE:

# # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xa10dacdb, pid=16042, tid=3076662976 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_22-b03 mixed mode) # Problematic frame: # C [libxul.so+0xdbbcdb] # # An error report file with more information is saved as hs_err_pidXYZ.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp

For this article to apply, the referenced error report file (“hs_err_pidXYZ.log”) MUST contain an entry like “org.eclipse.swt.browser.Mozilla.create”, like in this example:

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)

j org.eclipse.swt.internal.mozilla.XPCOM._NS_NewLocalFile(II[I)I+0

j org.eclipse.swt.internal.mozilla.XPCOM.NS_NewLocalFile(II[I)I+10

j org.eclipse.swt.browser.Mozilla.create(Lorg/eclipse/swt/widgets/Composite;I)V+1282

This indicates an incompatibility between the Eclipse Browser widget and the installed version of Firefox.

The Eclipse version used in the Squish IDE currently expects Firefox 3.6.

However, it is possible to workaround this by appending the following line at the end of the file <SQUISH_DIR>/bin/ide/squishide.ini:

[...]

-Dorg.eclipse.swt.browser.XULRunnerPath=/dev/null
squishide.ini