[jboss-as7-dev] core dump when debugging?

Brian Stansberry brian.stansberry at redhat.com
Mon Mar 21 10:33:13 EDT 2011


On 3/21/11 9:29 AM, Darran Lofthouse wrote:
> There may be a word missing in your response ;-)
>

Yes, there was, thanks. :-)

> I was able to attach using JDB but both Eclipse and InteliJ would cause
> the same process to core dump.
>
> Regards,
> Darran Lofthouse.
>
>
>
> On 03/21/2011 02:26 PM, Brian Stansberry wrote:
>> I have no problem attaching the eclipse debugger on OSX to a standalone
>> server.
>>
>> Attaching to a host controller process kills the process with an Illegal
>> memory access logged. Darran Lofthouse was able to attach using though.
>>
>> On 3/20/11 5:51 PM, Scott Stark wrote:
>>> I'm seeing the server vm core dump under both rhel and osx when I
>>> connect a debugger to the server. Under osx I'm not finding the error
>>> file, and the -XX:ErrorFile option is either not working, or the vm is
>>> crashing so badly it is not creating an error file. Anyone else seeing
>>> this currently?
>>>
>>> [258](ironmaiden:bin)> ./standalone.sh
>>> =========================================================================
>>>
>>>
>>> JBoss Bootstrap Environment
>>>
>>> JBOSS_HOME: /home/git/JBossAS/jboss-as/build/target/jboss-7.0.0.Beta2
>>>
>>> JAVA:
>>> /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java
>>>
>>> JAVA_OPTS: -Xms64m -Xmx512m -XX:MaxPermSize=256m
>>> -Dorg.jboss.resolver.warning=true
>>> -Dsun.rmi.dgc.client.gcInterval=3600000
>>> -Dsun.rmi.dgc.server.gcInterval=3600000
>>> -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y
>>> -XX:ErrorFile=/tmp/hs_err_pid.log
>>>
>>> =========================================================================
>>>
>>>
>>> Listening for transport dt_socket at address: 8787
>>> 15:42:42,537 INFO [org.jboss.modules] JBoss Modules version 1.0.0.Beta16
>>> ./standalone.sh: line 139: 46448 Segmentation fault
>>> "/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java"
>>> -Xms64m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true
>>> -Dsun.rmi.dgc.client.gcInterval=3600000
>>> -Dsun.rmi.dgc.server.gcInterval=3600000
>>> -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y
>>> -XX:ErrorFile=/tmp/hs_err_pid.log
>>> "-Dorg.jboss.boot.log.file=/srv/web-apps/817468314962368366457975751090375370/app/data/logs/jboss/boot.log"
>>>
>>> "-Dlogging.configuration=file:/home/git/JBossAS/jboss-as/build/target/jboss-7.0.0.Beta2/standalone/configuration/logging.properties"
>>>
>>> -jar
>>> "/home/git/JBossAS/jboss-as/build/target/jboss-7.0.0.Beta2/jboss-modules.jar"
>>>
>>> -mp "/home/git/JBossAS/jboss-as/build/target/jboss-7.0.0.Beta2/modules"
>>> -logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider
>>> org.jboss.as.standalone
>>> -Djboss.home.dir="/home/git/JBossAS/jboss-as/build/target/jboss-7.0.0.Beta2"
>>>
>>>
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> jboss-as7-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>
>>
>


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat



More information about the jboss-as7-dev mailing list