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 51905] New: Infinite loop when shutting down AprEndpoint
Date Wed, 28 Sep 2011 09:20:16 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51905

             Bug #: 51905
           Summary: Infinite loop when shutting down AprEndpoint
           Product: Tomcat 6
           Version: 6.0.33
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: knst.kolinko@gmail.com
    Classification: Unclassified


If unlocking the acceptor during AprEndpoint shutdown fails, it enters an
infinite loop, printing endpoint.warn.unlockAcceptorFailed message
(Acceptor thread [{0}] failed to unlock. Forcing hard socket shutdown.)

It was reported on users@ mailing lists,
http://tomcat.markmail.org/thread/xo2jolyr44ijuu34

It might be caused by a firewall preventing Tomcat from connecting to its own
HTTP port.

I can reproduce it if I turn the unlockAccept() method in endpoint into an noop
(e.g. by adding "if(true){ return; }"), both in 6.0 and in trunk. In 6.0 this
bug was introduced in r1065945 and affects 6.0.32 and 6.0.33.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message