Keil Logo

DS-MDK: Segmentation fault on Eclipse launch


Information in this knowledgebase article applies to:

  • DS-MDK_v5.27.0
  • Ubuntu 14.04, Ubuntu 16.04, 17.0.4
  • RedHat6, RedHat7

SYMPTOM

When Eclipse is started, the OS reports a segmentation fault, and the IDE does not appear.

CAUSE

The Java Virtual Machine (JVM) launched during startup is not successful. As of this writing (June 2017), the issue occurs on the above updates to Ubuntu and Redhat, and a subset of the underlying linux kernel versions.

RESOLUTION

Modify the configuration of the Eclipse launch.

  1. In the installation of DS-MDK, the following, default path contains an initialization file:
    ...v5.27.0/sw/eclipse/eclipse.ini
    
    Run a text editor with admin privileges, then open the file, "eclipse.ini"
  2. Observe either of the following segments:
    -vm
    ../java/lib/amd64/server/libjvm.so
    //or
    -vm
    ../java/bin/server/jvm.dll
    
  3. At this point, users may want to backup the original version of "eclipse.ini". The file may require admin privileges to edit. Replace the text with the following:
    -vm
    ../java/bin
    
  4. Save "eclipse.ini", then try re-launching Eclipse for DS-MDK.

STATUS

Update the operating system to a newer version. A development version of Ubuntu 14.04 with a later distribution (5001242) was tested, and issue could not be reproduced. RedHatv7 has reported a fix in kernel-3.10.0-690.el7. See the related bug reports to better understand the issue, and find fix versions.

MORE INFORMATION

SEE ALSO

Last Reviewed: Thursday, January 14, 2021


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.