You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/09/28 11:20:16 UTC

DO NOT REPLY [Bug 51905] New: Infinite loop when shutting down AprEndpoint

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


[Bug 51905] Infinite loop when shutting down AprEndpoint

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51905

--- Comment #3 from Jackie Rosen <ja...@hushmail.com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.

-- 
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


DO NOT REPLY [Bug 51905] Infinite loop when shutting down AprEndpoint

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51905

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> 2011-09-28 10:06:17 UTC ---
Fixed in trunk and 7.0, will be in 7.0.23. Proposed for 6.0.

-- 
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


DO NOT REPLY [Bug 51905] Infinite loop when shutting down AprEndpoint

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51905

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Mark Thomas <ma...@apache.org> 2011-10-19 17:09:17 UTC ---
Fixed in 6.0.x and will be included in 6.0.34 onwards (r1186001).

-- 
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