[jbosstools-issues] [JBoss JIRA] (JBIDE-11410) Crash in Eclipse when running JBoss Server

Rich Lucente (JIRA) issues at jboss.org
Sat May 24 00:41:56 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-11410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970290#comment-12970290 ] 

Rich Lucente commented on JBIDE-11410:
--------------------------------------

I was able to reproduce this error while attempting to run JBDS remotely in a browser (see https://github.com/rlucente-se-jboss/jbds-via-html5).  The problem stems from mismatched native libraries where those installed with RHEL conflicted with those installed with JBDS.  When the SunPKCS11 provider is enabled which relies on the mozilla NSS libraries, the version of those libraries installed with JBDS are older than what's installed with RHEL, causing a SIGSEGV to occur.  Every time I clicked on the link in JBoss Central to create a Java EE web app, a TLS connection to github is established and the library mismatch causes a SIGSEGV.

One workaround is to disable the SunPKCS11 provider in /usr/lib/jvm/java-xxx-openjdk.x86_64/jre/lib/security/java.security.  The other workaround is to set the LD_LIBRARY_PATH to use the jbdevstudio libraries before the RHEL installed ones.  In my startup script, I use:

# start JBDS with an overridden LD_LIBRARY_PATH to avoid SIGSEGV issues
# with native library mismatches

for libdir in `find ${JBDS_INSTALL_DIR} -type f -name '*.so' -exec dirname {} \; | sort -u`
do
  LD_LIBRARY_PATH=${libdir}:${LD_LIBRARY_PATH}
done

LD_LIBRARY_PATH=${LD_LIBRARY_PATH} jbdevstudio/jbdevstudio -nosplash -data $HOME/workspace &

> Crash in Eclipse when running JBoss Server
> ------------------------------------------
>
>                 Key: JBIDE-11410
>                 URL: https://issues.jboss.org/browse/JBIDE-11410
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server, upstream
>    Affects Versions: 3.3.0.Beta1
>         Environment: JRE version: 7.0_147-b147
> Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode linux-amd64 compressed oops)
> Derivative: IcedTea7 2.0
> Distribution: Ubuntu 11.10, package 7~b147-2.0-0ubuntu0.11.10.
> Eclipse 3.7.2 64 bit
>            Reporter: Muh Khairul Lukman W.
>            Assignee: Len DiMaggio
>             Fix For: 3.3.2.Final, 4.0.0.Beta2
>
>         Attachments: eclipse-jboss-crashing-jdk6.txt, hs_err_pid25114.log, hs_err_pid25648.log
>
>
> {code}
> Mar 27, 2012 2:14:48 PM org.xnio.Xnio <clinit>
> INFO: XNIO Version 3.0.3.GA
> Mar 27, 2012 2:14:48 PM org.xnio.nio.NioXnio <clinit>
> INFO: XNIO NIO Implementation Version 3.0.3.GA
> Mar 27, 2012 2:14:48 PM org.jboss.remoting3.EndpointImpl <clinit>
> INFO: JBoss Remoting version 3.2.2.GA
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x00007f6542da4697, pid=25114, tid=140073270568704
> #
> # JRE version: 7.0_147-b147
> # Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode linux-amd64 compressed oops)
> # Derivative: IcedTea7 2.0
> # Distribution: Ubuntu 11.10, package 7~b147-2.0-0ubuntu0.11.10.1
> # Problematic frame:
> # C  [libplds4.so+0x1697]  PL_HashTableLookupConst+0x17
> #
> # 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:
> # /home/rully/eclipse_jee/hs_err_pid25114.log
> #
> # If you would like to submit a bug report, please include
> # instructions on how to reproduce the bug and visit:
> #   https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
> # The crash happened outside the Java Virtual Machine in native code.
> # See problematic frame for where to report the bug.
> {code}
> When i start to run JBoss server in eclipse, it start to crash and shut down.. JBoss service server won't running on my desktop.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list