Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D5B41007D for ; Sat, 28 Sep 2013 10:57:38 +0000 (UTC) Received: (qmail 55129 invoked by uid 500); 28 Sep 2013 10:57:28 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 55000 invoked by uid 500); 28 Sep 2013 10:57:28 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 54991 invoked by uid 99); 28 Sep 2013 10:57:26 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Sep 2013 10:57:26 +0000 Received: from localhost (HELO fc19x74v0.jboss.hr) (127.0.0.1) (smtp-auth username mturk, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Sep 2013 10:57:26 +0000 Message-ID: <5246B613.6010504@apache.org> Date: Sat, 28 Sep 2013 12:57:23 +0200 From: Mladen Turk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 MIME-Version: 1.0 To: dev@tomcat.apache.org Subject: Re: Recent tcnative null-dereference with 8.0.0-RC3 and 7.0.45 [tcnative-1.dll+0x7e23] References: <5246199A.70000@christopherschultz.net> <5246AEB6.5050509@kippdata.de> In-Reply-To: <5246AEB6.5050509@kippdata.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit On 09/28/2013 12:25 PM, Rainer Jung wrote: > >> I can't seem to reproduce the problem using an APR connector on Linux: >> reports seems to indicate that trivially accessing Tomcat via an HTTP >> APR connector will cause a crash, and I was able to run the following >> command without bringing down my instance: >> >> $ ab -n 10000 -c 50 http://localhost:28215/my-webapp/index.html > > > Still the whole poll stuff is platform dependent, so it might be you > will not be able to reproduce the Windows crash even when the test > scenario is exactly the same as there. > Almost every APR crash error is related to reusing closed object/descriptor/pointer. Eg, crashing inside poll can be caused by closing the socket that is inside poller. The fact that it doesn't crash on linux might be just because of "close" order. Even on the same OS it doesn't have to crash all the time. Anyhow, I'll try to check the 8-RC3 with the latest native on windows. Seems there are some conceptual problem used inside TC8 probably with async sockets and double close. Regards -- ^TM --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org