tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ðavîd Låndïs <dlan...@gmail.com>
Subject upgrade 7.0.16 -- 7.0.19 causes JVM crash due to apr?
Date Thu, 21 Jul 2011 19:55:00 GMT
I just upgraded from 7.0.16 to 7.0.19 on Ubuntu. Downloaded Tomcat
from main apache site. The JVM (jdk1.6.0_26) did not change.
Consistently the process is crashing on me after a couple minutes
using the server. Everything works fine in my apps for a few minutes
then crash. It is something to do the Tomcat Native. I recompiled the
native for Tomcat 7.0.19 after downloading it and set the
LD_LIBRARY_PATH. You'll see in the startup log below everything looks
good. Below that is part of the JVM crash log.

Does anyone have any ideas or has experienced it themselves?

Thanks
---------------------

$./catalina.sh version
Using CATALINA_BASE:   /usr/local/apache-tomcat-7.0.19
Using CATALINA_HOME:   /usr/local/apache-tomcat-7.0.19
Using CATALINA_TMPDIR: /usr/local/apache-tomcat-7.0.19/temp
Using JRE_HOME:        /usr/local/jdk1.6.0_26
Using CLASSPATH:
/usr/local/apache-tomcat-7.0.19/bin/bootstrap.jar:/usr/local/apache-tomcat-7.0.19/bin/tomcat-juli.jar
Server version: Apache Tomcat/7.0.19
Server built:   Jul 13 2011 11:32:28
Server number:  7.0.19.0
OS Name:        Linux
OS Version:     2.6.35-30-generic
Architecture:   i386
JVM Version:    1.6.0_26-b03
JVM Vendor:     Sun Microsystems Inc.

$./catalina.sh run
Using CATALINA_BASE:   /usr/local/apache-tomcat-7.0.19
Using CATALINA_HOME:   /usr/local/apache-tomcat-7.0.19
Using CATALINA_TMPDIR: /usr/local/apache-tomcat-7.0.19/temp
Using JRE_HOME:        /usr/local/jdk1.6.0_26
Using CLASSPATH:
/usr/local/apache-tomcat-7.0.19/bin/bootstrap.jar:/usr/local/apache-tomcat-7.0.19/bin/tomcat-juli.jar
Jul 21, 2011 3:20:39 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
Jul 21, 2011 3:20:39 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
Jul 21, 2011 3:20:40 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-8080"]
Jul 21, 2011 3:20:40 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 808 ms


hs_err_pid.log

Register to memory mapping:

EAX=0x2d4e5653 is an unknown value
EBX=0x6a12eff4: <offset 0x2bff4> in /usr/lib/libapr-1.so.0 at 0x6a103000
ECX=0x0935f120 is an unknown value
EDX=0x6bc757c0 is an oop
{constant pool cache}
 - klass: {other class}
ESP=0x57af88b0 is pointing into the stack for thread: 0x0935f000
EBP=0x57af88c8 is pointing into the stack for thread: 0x0935f000
ESI=0x6bc754e0 is an oop
{constMethod}
 - klass: {other class}
 - method:       0x6bc754e8 {method} 'get' '(IJ)J' in
'org/apache/tomcat/jni/Address'
 - exceptions:   0x6b5f1188
EDI=0x0935f000 is a thread


Stack: [0x578f9000,0x57afa000],  sp=0x57af88b0,  free space=2046k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libapr-1.so.0+0x1c5ea]  signed char+0x197
C  [libapr-1.so.0+0x1c8aa]  signed char+0x61
C  [libtcnative-1.so.0.1.20+0x11415]
Java_org_apache_tomcat_jni_Address_get+0x35
j  org.apache.tomcat.jni.Address.get(IJ)J+0
j  org.apache.coyote.http11.Http11AprProcessor.actionInternal(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V+68
j  org.apache.coyote.http11.AbstractHttp11Processor.action(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V+434
j  org.apache.coyote.Request.action(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V+56
j  org.apache.catalina.connector.Request.getRemoteAddr()Ljava/lang/String;+18
j  org.apache.catalina.connector.Request.getRemoteHost()Ljava/lang/String;+19
j  org.apache.catalina.valves.AccessLogValve$HostElement.addElement(Ljava/lang/StringBuilder;Ljava/util/Date;Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;J)V+47
j  org.apache.catalina.valves.AccessLogValve.log(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;J)V+106
j  org.apache.catalina.core.ContainerBase.logAccess(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;JZ)V+17
j  org.apache.catalina.core.ContainerBase.logAccess(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;JZ)V+54
j  org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+351
j  org.apache.coyote.http11.Http11AprProcessor.process(Lorg/apache/tomcat/util/net/SocketWrapper;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;+480
j  org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Lorg/apache/tomcat/util/net/SocketWrapper;Lorg/apache/tomcat/util/net/SocketStatus;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;+96
j  org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run()V+32
j  java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Ljava/lang/Runnable;)V+59
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+28
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
V  [libjvm.so+0x3dff01]  JavaCalls::call_helper(JavaValue*,
methodHandle*, JavaCallArguments*, Thread*)+0x1c1
V  [libjvm.so+0x5e1298]  os::os_exception_wrapper(void (*)(JavaValue*,
methodHandle*, JavaCallArguments*, Thread*), JavaValue*,
methodHandle*, JavaCallArguments*, Thread*)+0x18
V  [libjvm.so+0x3df775]  JavaCalls::call_virtual(JavaValue*,
KlassHandle, symbolHandle, symbolHandle, JavaCallArguments*,
Thread*)+0xc5
V  [libjvm.so+0x3df838]  JavaCalls::call_virtual(JavaValue*, Handle,
KlassHandle, symbolHandle, symbolHandle, Thread*)+0x58
V  [libjvm.so+0x4642d7]  thread_entry(JavaThread*, Thread*)+0xa7
V  [libjvm.so+0x6e16bf]  JavaThread::run()+0x11f
V  [libjvm.so+0x5e2aee]  java_start(Thread*)+0x14e
C  [libpthread.so.0+0x5cc9]  short+0xd9

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


Mime
View raw message