tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15497] New: - deadlock in threadpool
Date Wed, 18 Dec 2002 19:09:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15497>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15497

deadlock in threadpool

           Summary: deadlock in threadpool
           Product: Tomcat 4
           Version: 4.1.12
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: alfred.bruckmann@siemens.com


I think I have found a possible deadlock in Tomcat 4.1.12 and 4.1.14 using JDk 
1.4.1
Here is the thread dump of the vm:

"Thread-15" daemon prio=5 tid=0x0AE6E520 nid=0x10c0 in Object.wait() 
[c71f000..c71fd88]
        at java.lang.Object.wait(Native Method)
        - waiting on <05289758> (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
        at java.lang.Object.wait(Object.java:426)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:512)
        - locked <05289758> (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
        at java.lang.Thread.run(Thread.java:536)

"Thread-14" daemon prio=5 tid=0x0AE72D90 nid=0x9f0 in Object.wait() 
[c6df000..c6dfd88]
        at java.lang.Object.wait(Native Method)
        - waiting on <052897C0> (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
        at java.lang.Object.wait(Object.java:426)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:512)
        - locked <052897C0> (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
        at java.lang.Thread.run(Thread.java:536)




"Thread-9" daemon prio=5 tid=0x0AEE38E8 nid=0x1134 in Object.wait() 
[c55f000..c55fd88]
        at java.lang.Object.wait(Native Method)
        - waiting on <039BF8B8> (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
        at java.lang.Object.wait(Object.java:426)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:512)
        - locked <039BF8B8> (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
        at java.lang.Thread.run(Thread.java:536)

"MonitorRunnable" daemon prio=5 tid=0x0B694950 nid=0xca8 in Object.wait() 
[c4df000..c4dfd88]
        at java.lang.Object.wait(Native Method)
        - waiting on <037A6708> (a 
org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable)
        at org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run
(ThreadPool.java:423)
        - locked <037A6708> (a 
org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable)
        at java.lang.Thread.run(Thread.java:536)

"Thread-6" daemon prio=5 tid=0x0B693DC0 nid=0x908 in Object.wait() 
[c49f000..c49fd88]
        at java.lang.Object.wait(Native Method)
        - waiting on <037B2880> (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
        at java.lang.Object.wait(Object.java:426)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:512)
        - locked <037B2880> (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
        at java.lang.Thread.run(Thread.java:536)

"Thread-5" daemon prio=5 tid=0x0B6933D0 nid=0xe4c in Object.wait() 
[c45f000..c45fd88]
        at java.lang.Object.wait(Native Method)
        - waiting on <037B28E8> (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
        at java.lang.Object.wait(Object.java:426)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:512)
        - locked <037B28E8> (a 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
        at java.lang.Thread.run(Thread.java:536)


"HostConfig[localhost]" daemon prio=5 tid=0x0B6923E8 nid=0x1044 waiting on 
condition [c39f000..c39fd88]
        at java.lang.Thread.sleep(Native Method)
        at org.apache.catalina.startup.HostConfig.threadSleep
(HostConfig.java:985)
        at org.apache.catalina.startup.HostConfig.run(HostConfig.java:1009)
        at java.lang.Thread.run(Thread.java:536)

"StandardManager[/webdav]" daemon prio=5 tid=0x0AE40E98 nid=0x9d4 waiting on 
condition [c35f000..c35fd88]
        at java.lang.Thread.sleep(Native Method)
        at org.apache.catalina.session.StandardManager.threadSleep
(StandardManager.java:780)
        at org.apache.catalina.session.StandardManager.run
(StandardManager.java:839)
        at java.lang.Thread.run(Thread.java:536)

"StandardManager[]" daemon prio=5 tid=0x0AE40200 nid=0x112c waiting on 
condition [c2df000..c2dfd88]
        at java.lang.Thread.sleep(Native Method)
        at org.apache.catalina.session.StandardManager.threadSleep
(StandardManager.java:780)
        at org.apache.catalina.session.StandardManager.run
(StandardManager.java:839)
        at java.lang.Thread.run(Thread.java:536)

"Thread-2" daemon prio=5 tid=0x0AD67230 nid=0x11b8 waiting on condition 
[c25f000..c25fd88]
        at java.lang.Thread.sleep(Native Method)
        at com.sap.mw.jco.JCO$PoolManager$TimeoutChecker.run(JCO.java:3001)

"StandardManager[/adstar]" daemon prio=5 tid=0x0AD84670 nid=0x1330 waiting on 
condition [bedf000..bedfd88]
        at java.lang.Thread.sleep(Native Method)
        at org.apache.catalina.session.StandardManager.threadSleep
(StandardManager.java:780)
        at org.apache.catalina.session.StandardManager.run
(StandardManager.java:839)
        at java.lang.Thread.run(Thread.java:536)

"StandardManager[/manager]" daemon prio=5 tid=0x0AC92CD0 nid=0x13ec waiting on 
condition [be9f000..be9fd88]
        at java.lang.Thread.sleep(Native Method)
        at org.apache.catalina.session.StandardManager.threadSleep
(StandardManager.java:780)
        at org.apache.catalina.session.StandardManager.run
(StandardManager.java:839)
        at java.lang.Thread.run(Thread.java:536)

"StandardManager[/admin]" daemon prio=5 tid=0x0B62BCA0 nid=0xdbc waiting on 
condition [be5f000..be5fd88]
        at java.lang.Thread.sleep(Native Method)
        at org.apache.catalina.session.StandardManager.threadSleep
(StandardManager.java:780)
        at org.apache.catalina.session.StandardManager.run
(StandardManager.java:839)
        at java.lang.Thread.run(Thread.java:536)

"Signal Dispatcher" daemon prio=10 tid=0x00848D60 nid=0x1038 waiting on 
condition [0..0]

"Finalizer" daemon prio=9 tid=0x0023FD28 nid=0xeec in Object.wait() 
[aa8f000..aa8fd88]
        at java.lang.Object.wait(Native Method)
        - waiting on <02E25148> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
        - locked <02E25148> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x0023E8A0 nid=0x10d8 in Object.wait() [a
a4f000..aa4fd88]
        at java.lang.Object.wait(Native Method)
        - waiting on <02E251B0> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:426)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:113)
        - locked <02E251B0> (a java.lang.ref.Reference$Lock)

"main" prio=5 tid=0x00235570 nid=0xa8c runnable [6f000..6fc3c]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
        - locked <03818C18> (a java.net.PlainSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:439)
        at java.net.ServerSocket.accept(ServerSocket.java:410)
        at org.apache.catalina.core.StandardServer.await
(StandardServer.java:526)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:521)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

"VM Thread" prio=5 tid=0x0023D668 nid=0x1274 runnable

"VM Periodic Task Thread" prio=10 tid=0x00847B68 nid=0x1388 waiting on condition

"Suspend Checker Thread" prio=10 tid=0x00848780 nid=0xdec runnable

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message