IBM Support

Eclipse based product stops with "Exit code=160"

Troubleshooting


Problem

Attempt to open the workbench in IBM Rational product based on Eclipse causes closing immediately or does not starting at all with following error: " JVM terminated. Exit code=160"

Symptom

An Eclipse window displays the following message: JVM terminated. Exit code=160


After you close the Eclipse message window, a javacore file (for example, javacore.20120613.102137.20388.0002.txt) is created in the installation directory.

Cause

Your XULRunner library version is not compatible with Eclipse version used in product.
Eclipse SWT is only compatible with a range of XULRunner library versions that are installed with Firefox.

  • Eclipse 3.4.x: Mozilla 1.4 GTK2 - 1.7.x GTK2, XULRunner 1.8.x - 1.9.0.x.

  • Eclipse 3.6.x: Mozilla 1.4 GTK2 - 1.7.x GTK2, XULRunner 1.8.x - 1.9.x and 3.6.x (but not 2.x), WebKitGTK+ 1.2.x

Diagnosing The Problem

Steps:

  1. Open the javacore file in the product installation directory in a text editor.

  2. Search for the Module that caused the Java Virtual Machine to crash.

    If you have this problem, it will report: srctext="codesnippet">/usr/lib/xulrunner-2/libxul.so.

    0SECTION       TITLE subcomponent dump routine
    NULL           ===============================
    1TICHARSET     UTF-8
    1TISIGINFO     Dump Event "gpf" (00002000) received
    1TIDATETIME    Date:                 2012/06/13 at 10:21:38
    1TIFILENAME    Javacore filename:    /opt/IBM/RAD85/0529_GM/javacore.20120613.102137.20388.0002.txt
    1TIREQFLAGS    Request Flags: 0x81 (exclusive+preempt)
    1TIPREPSTATE   Prep State: 0x100 (trace_disabled)
    1TIPREPINFO    Exclusive VM access not taken: data may not be consistent across javacore sections
    NULL           ------------------------------------------------------------------------
    0SECTION       GPINFO subcomponent dump routine
    NULL           ================================
    2XHOSLEVEL     OS Level         : Linux 2.6.18-308.4.1.el5
    2XHCPUS        Processors -
    3XHCPUARCH       Architecture   : x86
    3XHNUMCPUS       How Many       : 2
    3XHNUMASUP       NUMA is either not supported or has been disabled by user
    NULL          
    1XHEXCPCODE    J9Generic_Signal_Number: 00000004
    1XHEXCPCODE    Signal_Number: 0000000B
    1XHEXCPCODE    Error_Value: 00000000
    1XHEXCPCODE    Signal_Code: 00000001
    1XHEXCPCODE    Handler1: 00125A1A
    1XHEXCPCODE    Handler2: 001CCA67
    1XHEXCPCODE    InaccessibleAddress: 00D5F000
    NULL          
    1XHEXCPMODULE  Module: /usr/lib/xulrunner-2/libxul.so

  3. Navigate to the directory that contains the library.

  4. Use following commands to determine your XULRunner version.


    [root@rhel5 ~]# cd /usr/lib/xulrunner-2
    [root@rhel5  xulrunner-2]# xulrunner -version
    Mozilla XULRunner
    10.0.3 - 20120402170143

Resolving The Problem

Procedure:

  1. Download and install a 32 or 64 bit XULRunner in the supported range 1.8.1.3 - 3.6.x for your architecture.

  2. Locate the -vmargs section in the eclipse.ini file that is included in the product installation. Note that some IBM Worklight Studio installations use JRE arguments from the Worklight.sh script instead of from the eclipse.ini file. If a Worklight.sh file is present in the same product directory as the eclipse.ini file, add your updates to the -vmargs sections of both files.

  3. Locate the list of -vmargs arguments and add java system property org.eclipse.swt.browser.XULRunnerPath to point to the XULRunner's path. For example:
    -vmargs -Dsdp.driver=RADO85-I20120529_2348 ... -Dorg.eclipse.swt.browser.XULRunnerPath=/home/xulrunner/1.8.1.3/xulrunner

  4. Restart the product.


For alternative mechanisms to specify which XULRunner installation gets used see also Q: Can I specify which XULRunner installation gets used?

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Eclipse","Platform":[{"code":"PF016","label":"Linux"}],"Version":"7.5;7.5.1;7.5.2;7.5.3;7.5.4;7.5.5;7.5.5.1;7.5.5.2;7.5.5.3;7.5.5.4;7.5.5.5;8.0;8.0.1;8.0.2;8.0.3;8.0.4;8.0.4.1;8.0.4.2;8.0.4.3;8.5;8.5.1;8.5.5;8.5.5.1;9.0;9.0.1;9.1;9.1.0.1;9.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSHR6W","label":"WebSphere Application Server Developer Tools for Eclipse"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation","Platform":[{"code":"PF016","label":"Linux"}],"Version":"8.0.4;8.5;8.5.1;8.5.5","Edition":"All Editions","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation","Platform":[{"code":"","label":""}],"Version":"5.0.5;5.0.0.3;5.0.0.1;5.0","Edition":"Consumer;Enterprise","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SS4HGH","label":"IBM Mobile Foundation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation","Platform":[{"code":"PF016","label":"Linux"}],"Version":"5.0.5;5.0.0.3;5.0.0.2;5.0.0.1;5.0","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}},{"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation","Platform":[{"code":"PF016","label":"Linux"}],"Version":"8.0;8.0.1;8.0.2;8.0.3;8.0.4;8.0.4.1;8.0.4.2;8.5;8.5.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SS4JCV","label":"Rational Software Architect for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation","Platform":[{"code":"PF016","label":"Linux"}],"Version":"7.5;7.5.1;7.5.2;7.5.3;7.5.4;7.5.5;7.5.5.1;7.5.5.2;7.5.5.3;7.5.5.4;7.5.5.5;8.0;8.0.1;8.0.2;8.0.3;8.0.4;8.0.4.1;8.0.4.2;8.5;8.5.1","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}},{"Product":{"code":"SS4JE2","label":"Rational Software Architect Standard Edition"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation","Platform":[{"code":"PF016","label":"Linux"}],"Version":"7.5;7.5.1;7.5.2;7.5.3;7.5.4;7.5.5;7.5.5.1;7.5.5.2;7.5.5.3;7.5.5.4;7.5.5.5","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
10 September 2020

UID

swg21598554