tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: svn commit: r1198553 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/tomcat/util/net/AbstractEndpoint.java test/org/apache/catalina/startup/TomcatBaseTest.java webapps/docs/changelog.xml webapps/docs/config/ajp.xml webapps/docs/config/http.xml
Date Fri, 18 Nov 2011 11:07:01 GMT
On 17.11.2011 08:36, Mark Thomas wrote:
> On 17/11/2011 00:39, Konstantin Kolinko wrote:
>> 2011/11/17 Mark Thomas<markt@apache.org>:
>>> On 06/11/2011 20:52, kkolinko@apache.org wrote:
>>>> Author: kkolinko
>>>> Date: Sun Nov  6 20:52:33 2011
>>>> New Revision: 1198553
>>>>
>>>> URL: http://svn.apache.org/viewvc?rev=1198553&view=rev
>>>> Log:
>>>> Merged revisions r1197158, r1198552 from tomcat/trunk:
>>>> Add new attribute to AbstractEndpoint and use it to speed up Tomcat tests.
>>>> If the attribute "fastShutdown" is set on the endpoint,
>>>> the usual wait of 1 sec during pause() is skipped.
>>>
>>> I'm seeing unit test failures (with a JVM crash) on 64-bit Ubuntu Linux
>>> with this patch that go away if I disable the fast shut-down. I only
>>> have a single result that shows this. I need to do multiple tests to
>>> confirm the result.
>>>
>>
>> What connector that is?
>
> Sorry, HTTP APR.
>
>> Rainer wrote about APR/TCnative 1.1.22 with APR 1.4.5.
>> Java VM: Java HotSpot(TM) Server VM (20.4-b02 mixed mode solaris-sparc ):
>>
>> http://tomcat.markmail.org/thread/a5quoui2soe6qb33
>>
>>
>> There is also a user report
>> that sounds as reproducible, though may not be related to this specific issue:
>>
>> https://issues.apache.org/bugzilla/show_bug.cgi?id=52153
>> "periodic JVM crash (access violation) on buffer flush"
>
> It happens on connector shut down so I think it is a different issue.

My crashes were also happening during shutdown and not always for the 
same test cases. They occurred, because a linked pointer list in APR was 
garbled which was traversed during the final pool cleanups. most of the 
cases an invalid pointer was hit - crash - sometimes the linked list was 
circular leading to an unterminated loop.

I have no idea, when or why the list was corrupt.

Regards,

Rainer


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


Mime
View raw message