You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BugRat Mail System <to...@cortexity.com> on 2001/01/09 15:24:16 UTC

BugRat Report #725 has been filed.

Bug report #725 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/725>

REPORT #725 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: low
Severity: critical
Confidence: public
Environment: 
   Release: 3.2.1
   JVM Release: jre1.3.0 (linux)
   Operating System: Linux Debian
   OS Release: 2.2
   Platform: PC (i386)

Synopsis: 
segmentation violation at first http request

Description:
I have observed the following strange behaviour with both Tomcat 3.1 and 3.2.1.
We have several machines on our network all running Debian Linux. On some of
them, tomcat works fine. On others it crashes after the first http request. The
error it produces in such cases is listed at the end of this email. The
machines where it works are all machines which have public IP addresses whereas
those where it doesn't are not visible to the internet as a whole. I don't see
why that should matter but it might help figure out what the problem is. 
Another difference I have noted is that the starting of the Tcp seems to take a
very long time in the cases where it fails compared to the time taken on the
machines where it works. 
Any idea if this is a bug? 

Guillaume Barreau


Error reported:
****************


SIGSEGV   11*  segmentation violation
    si_signo [11]: SIGSEGV   11*  segmentation violation
    si_errno [0]: Success
    si_code [0]: SI_USER [pid: 0, uid: 0]
	stackpointer=0x4475bcd8

Full thread dump Classic VM (1.2.2-L, green threads):
    "Thread-22" (TID:0x40eb6de0, sys_thread_t:0x88645e8, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at org.apache.tomcat.util.ThreadPool$MonitorRunnable.run(ThreadPool.java:390)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-21" (TID:0x40eb6d68, sys_thread_t:0x8863058, state:R) prio=5
	at java.net.PlainSocketImpl.socketAccept(Native Method)
	at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:402)
	at java.net.ServerSocket.implAccept(ServerSocket.java:236)
	at java.net.ServerSocket.accept(ServerSocket.java:220)
	at org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:286)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:402)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:475)
   "Thread-20" (TID:0x40eb6d08, sys_thread_t:0x8861ac8, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-19" (TID:0x40eb6cb0, sys_thread_t:0x8860538, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-18" (TID:0x40eb6f38, sys_thread_t:0x885efa8, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-17" (TID:0x40eb6ed8, sys_thread_t:0x885da18, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-16" (TID:0x40eb6e80, sys_thread_t:0x885c488, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-15" (TID:0x40eb6e20, sys_thread_t:0x885aef8, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-14" (TID:0x40eb7088, sys_thread_t:0x8859968, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-13" (TID:0x40eb7030, sys_thread_t:0x88583d8, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-12" (TID:0x40eb6fd8, sys_thread_t:0x8856e48, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-11" (TID:0x40eb7ef8, sys_thread_t:0x8853e80, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at org.apache.tomcat.util.ThreadPool$MonitorRunnable.run(ThreadPool.java:390)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-10" (TID:0x40eb8368, sys_thread_t:0x88528f0, state:R) prio=5
	at java.net.PlainSocketImpl.socketAvailable(Native Method)
	at java.net.PlainSocketImpl.available(PlainSocketImpl.java:425)
	at java.net.SocketInputStream.available(SocketInputStream.java:137)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:214)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-9" (TID:0x40eb82b0, sys_thread_t:0x8851360, state:R) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-8" (TID:0x40eb8720, sys_thread_t:0x884fdd0, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-7" (TID:0x40eb8690, sys_thread_t:0x884e840, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
   "Thread-6" (TID:0x40eb85e8, sys_thread_t:0x8844c30, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-5" (TID:0x40eb8538, sys_thread_t:0x8844658, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-4" (TID:0x40eb8978, sys_thread_t:0x8835328, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-3" (TID:0x40eb88d8, sys_thread_t:0x8836c10, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-2" (TID:0x40eb8838, sys_thread_t:0x883cbe8, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-1" (TID:0x40eb8c58, sys_thread_t:0x883c610, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:477)
	at java.lang.Thread.run(Thread.java:475)
    "StandardManager" (TID:0x40ec0aa0, sys_thread_t:0x882f768, state:CW) prio=5
	at java.lang.Thread.sleep(Native Method)
	at org.apache.tomcat.session.StandardManager.threadSleep(StandardManager.java:490)
	at org.apache.tomcat.session.StandardManager.run(StandardManager.java:547)
	at java.lang.Thread.run(Thread.java:475)
    "StandardManager" (TID:0x40ef5590, sys_thread_t:0x87f5998, state:CW) prio=5
	at java.lang.Thread.sleep(Native Method)
	at org.apache.tomcat.session.StandardManager.threadSleep(StandardManager.java:490)
	at org.apache.tomcat.session.StandardManager.run(StandardManager.java:547)
	at java.lang.Thread.run(Thread.java:475)
    "StandardManager" (TID:0x40ea6990, sys_thread_t:0x880e988, state:R) prio=5
	at java.lang.Thread.sleep(Native Method)
	at org.apache.tomcat.session.StandardManager.threadSleep(StandardManager.java:490)
	at org.apache.tomcat.session.StandardManager.run(StandardManager.java:547)
	at java.lang.Thread.run(Thread.java:475)
    "StandardManager" (TID:0x40ef9010, sys_thread_t:0x87c7d40, state:R) prio=5
	at java.lang.Thread.sleep(Native Method)
	at org.apache.tomcat.session.StandardManager.threadSleep(StandardManager.java:490)
	at org.apache.tomcat.session.StandardManager.run(StandardManager.java:547)
	at java.lang.Thread.run(Thread.java:475)
    "Thread-0" (TID:0x40ed1d88, sys_thread_t:0x85b46c8, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at org.apache.tomcat.util.Queue.pull(Queue.java:89)
	at org.apache.tomcat.logging.LogDaemon$1.run(TomcatLogger.java:238)
	at org.apache.tomcat.logging.LogDaemon.run(TomcatLogger.java:254)
    "Finalizer" (TID:0x40f16320, sys_thread_t:0x81078e0, state:CW) prio=8
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:170)
    "Reference Handler" (TID:0x40f163b0, sys_thread_t:0x8102b90, state:CW) prio=10
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
    "Signal dispatcher" (TID:0x40f163e0, sys_thread_t:0x8100cd8, state:CW) prio=5
    "Thread-23" (TID:0x40eb6b00, sys_thread_t:0x804be80, state:CW) prio=5
Monitor Cache Dump:
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB7080/412ED010: <unowned>
	Waiting to be notified:
	    "Thread-14" (0x8859968)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB8C40/412E11C8: <unowned>
	Waiting to be notified:
	    "Thread-1" (0x883c610)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB6CA8/412EDD20: <unowned>
	Waiting to be notified:
	    "Thread-19" (0x8860538)
    java.net.PlainSocketImpl@40EB70E8/412EC958: owner "Thread-10" (0x88528f0) 1 entry
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB8810/412E12F0: <unowned>
	Waiting to be notified:
	    "Thread-2" (0x883cbe8)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB88D0/412E4160: <unowned>
	Waiting to be notified:
	    "Thread-3" (0x8836c10)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB7028/412ECEE8: <unowned>
	Waiting to be notified:
	    "Thread-13" (0x88583d8)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB8958/412E42D0: <unowned>
	Waiting to be notified:
	    "Thread-4" (0x8835328)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB8530/412E43F8: <unowned>
	Waiting to be notified:
	    "Thread-5" (0x8844658)
    org.apache.tomcat.util.ThreadPool$MonitorRunnable@40EB6DC8/412EE0A8: <unowned>
	Waiting to be notified:
	    "Thread-22" (0x88645e8)
    java.lang.ref.Reference$Lock@40F163C0/40F4B8A8: <unowned>
	Waiting to be notified:
	    "Reference Handler" (0x8102b90)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB6D00/412EDE48: <unowned>
	Waiting to be notified:
	    "Thread-20" (0x8861ac8)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB85E0/412E4530: <unowned>
	Waiting to be notified:
	    "Thread-6" (0x8844c30)
    java.lang.ref.ReferenceQueue$Lock@40F16338/40F4BD78: <unowned>
	Waiting to be notified:
	    "Finalizer" (0x81078e0)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB8270/412E48B8: owner "Thread-9" (0x8851360) 1 entry
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB6ED0/412ED3B0: <unowned>
	Waiting to be notified:
	    "Thread-17" (0x885da18)
    org.apache.tomcat.util.ThreadPool$MonitorRunnable@40EB7ED0/412E5D90: <unowned>
	Waiting to be notified:
	    "Thread-11" (0x8853e80)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB6E78/412ED288: <unowned>
	Waiting to be notified:
	    "Thread-16" (0x885c488)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB8688/412E4658: <unowned>
	Waiting to be notified:
	    "Thread-7" (0x884e840)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB6F80/412ED160: <unowned>
	Waiting to be notified:
	    "Thread-15" (0x885aef8)
    org.apache.tomcat.util.Queue@40ED25F8/4118A748: <unowned>
	Waiting to be notified:
	    "Thread-0" (0x85b46c8)
    java.net.PlainSocketImpl@40EB6FA8/412EBD48: owner "Thread-21" (0x8863058) 1 entry
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB6FD0/412ECDC0: <unowned>
	Waiting to be notified:
	    "Thread-12" (0x8856e48)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB8718/412E4780: <unowned>
	Waiting to be notified:
	    "Thread-8" (0x884fdd0)
    org.apache.tomcat.util.ThreadPool$ControlRunnable@40EB6F30/412ED4D8: <unowned>
	Waiting to be notified:
	    "Thread-18" (0x885efa8)

Registered Monitor Dump:
    utf8 hash table: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class linking lock: <unowned>
    System class loader lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Monitor cache lock: owner "Thread-10" (0x88528f0) 1 entry
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    User signal monitor: <unowned>
	Waiting to be notified:
	    "Signal dispatcher" (0x8100cd8)
    Child death monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
	Waiting to be notified:
	    <unknown thread> (0x80562e0)
    Thread queue lock: owner "Thread-10" (0x88528f0) 1 entry
	Waiting to be notified:
	    "Thread-23" (0x804be80)
    Monitor registry: owner "Thread-10" (0x88528f0) 1 entry