On 06.02.2009 02:37, Bill Davidson wrote:
I've submitted this to Sun a few times.  No response.  I was hoping
someone here might have an idea of what to look for.

Tomcat 6.0.18
RedHat 5.2Server
Sun JVM

#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00002b68e6a1db57, pid=10229, tid=1103006016
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0-b16 mixed mode
linux-amd64)
# Problematic frame:
# V [libjvm.so+0x564b57]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- T H R E A D ---------------

Current thread (0x000000004bfe5c00): JavaThread "CompilerThread0" daemon
[_thread_in_native, id=10244, stack(0x0000000041ae8000,0x0000000041be9000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
si_addr=0x0000000000000000

.....

Current CompileTask:
C2:2525
com.myCompany.servlets.sales.blah.some.method(Lcom/myCompany/servlets/someClass;Lcom/myCompany/servlets/otherClass;Lcom/oreilly/servlet/ParameterParser;)V
(425 bytes)

......

-------------

I'm wondering if that CompileTask is what's causing the problem.
I'm thinking that the JVM shouldn't be getting SIGSEGV's.

You can track compilation with -XX:+PrintCompilation.

Once you have an idea which class and method produces the crash, you can disable compilation for it with a file called .hotspot_compiler. It contains entries like

exclude com/myCompany/servlets/sales/blah/some method

and has to be put into the working directory of the JVM before starting it. If you want to use a different file with such command or a different place, you can use

-XX:CompileCommandFile=/my/hotspot/compiler/file

In case you only want to exclude few methods from compilation,

-XX:CompileCommand=exclude,com/myCompany/servlets/sales/blah/some,method

will do it.

See

http://futuretask.blogspot.com/2005/01/java-tip-7-use-hotspotcompiler-file-to.html

or

http://forums-beta.sun.com/thread.jspa?messageID=4273845

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to