Great Job Mark!!!

Dream * Excel * Explore * Inspire
Jon McAlexander
Infrastructure Engineer
Asst Vice President

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.

> -----Original Message-----
> From: Mark Thomas <ma...@apache.org>
> Sent: Tuesday, November 9, 2021 2:02 PM
> To: dev@tomcat.apache.org
> Subject: Re: APR crashes when running tests on Windows
> 
> On 09/11/2021 18:33, Mark Thomas wrote:
> > On 09/11/2021 10:28, Michael Osipov wrote:
> >> Am 2021-11-09 um 10:40 schrieb Mark Thomas:
> >>> All,
> >>>
> >>> I am seeing some fairly consistent crashes when running the APR
> >>> tests on Windows for 10.0.x. I'm going to spend some time trying to
> >>> track down the root cause before I tag the next 10.0.x release.
> >>
> >> That's surprising, all of a sudden?
> >
> > Yes, but it seems related to me switching to a new, clean built
> > Windows VM for pre-release testing and release building. The VM is on
> > different
> > (slower) hardware so I suspect I have just uncovered a timing issue.
> >
> >> Can you share the dump/backtrace of the crash while you are analyzing
> >> the issue?
> >
> > I have various dump files but haven't got anything useful out of them
> > (I suspect my lack of knowledge is the primary factor here).
> >
> > I have managed to make progress though. It looks like the Connector
> > fails to initialise, we don't handle that properly and when it tries
> > to continue with a null socket, APR gets a tad upset.
> >
> > I'm hopeful I'll get to the bottom of this later today.
> 
> Fixed it. The short version is:
> 
> - default time wait delay and ephemeral port range on Windows meant unit
>    tests were running out of ports
> 
> - APR wasn't handling the init() failure and carrying on with an invalid
>    socket
> 
> - as soon as any code tried to use the invalid socket, the JVM crashed
> 
> 
> I've fixed the init() failure handling so we now see test failures rather than
> JVM crashes.
> 
> I've adjusted the OS settings for the VM where I run the tests so the time
> wait delay is shorter so the test process doesn't run out of ports.
> 
> The 10.0.x tag should follow later today.
> 
> Mark
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional
> commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to