Monday, April 28, 2014

Apache Directory Studio "A fatal error has been detected by the Java Runtime Environment"

Ubuntu 14.04 64 bit
oracle-java7

Apache Directory Studio (ApacheDirectoryStudio-linux-x86_64-2.0.0.v20130628.tar.gz)

When I start the program from the command line (./ApacheDirectoryStudio), I get an error like this:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f518c1502a1, pid=18722, tid=139989739792128
#
# JRE version: Java(TM) SE Runtime Environment (7.0_55-b13) (build 1.7.0_55-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.55-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libsoup-2.4.so.1+0x6c2a1]  soup_session_feature_detach+0x11
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /opt/ApacheDirectoryStudio-linux-x86_64-2.0.0.v20130628/hs_err_pid18722.log
[thread 139988370728704 also had an error]
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#



To solve this issue, try to put this line

org.eclipse.swt.browser.DefaultType=mozilla

at the end of this file

configuration/config.ini

10 comments:

  1. Thanks for posting this fix. It worked for me.

    ReplyDelete
  2. Didn't fix my problem :(
    But I can run Directory Studio as root without any error ...

    ReplyDelete
  3. To Anonymous:

    Check permission of the files in the directory and make sure they are not owned by root. If you used sudo to unpackage the files that could be your issue.

    ReplyDelete
  4. Thanks for posting this fix. It worked for me too.

    ReplyDelete
  5. you are a life saver

    ReplyDelete
  6. YAY! I was pulling my hair ... THANK YOU!

    ReplyDelete
  7. Awesome Fix ! Worked fine for me. Once again thanks a lot.

    ReplyDelete
  8. it works! Thank you very much

    ReplyDelete
  9. Thanks for the help :D

    ReplyDelete
  10. Worked for me :)
    Thanks a lot!

    ReplyDelete