tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49595] Tomcat crashes in tcnative-1.dll frequently
Date Fri, 12 Aug 2011 07:11:32 GMT

--- Comment #7 from Hiroshi Shirosaki <> 2011-08-12 07:11:32 UTC
Created attachment 27380
fix a issue of destroying a same socket more than one

While my ajax web application was accessed by two browsers at the same time,
tomcat sometimes crashed.

When tomcat crashes at apr_pollset_remove(), fd->desc.s is NULL in do_remove()
function of tomcat-native poll.c.
It seems that a socket has been already destroyed.

I checked which method calls destorySocket() of AprEndpoint.
At line 1261 destroySocket(addS[i]), a same socket was destroyed within a

I commented out line 1261, tomcat works fine.

Before line 1261, Poll.add return value was APR_EBADF(= 9).

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message