Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 34504 invoked from network); 14 Oct 2009 17:05:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Oct 2009 17:05:18 -0000 Received: (qmail 63036 invoked by uid 500); 14 Oct 2009 17:05:17 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 62945 invoked by uid 500); 14 Oct 2009 17:05:17 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 62937 invoked by uid 99); 14 Oct 2009 17:05:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 17:05:17 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [76.96.59.211] (HELO QMTA11.westchester.pa.mail.comcast.net) (76.96.59.211) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 17:05:15 +0000 Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA11.westchester.pa.mail.comcast.net with comcast id sgD01c00G1GhbT85Bh4vqN; Wed, 14 Oct 2009 17:04:55 +0000 Received: from [192.168.199.10] ([69.251.84.64]) by OMTA07.westchester.pa.mail.comcast.net with comcast id sh4u1c00M1PGofZ3Th4vaM; Wed, 14 Oct 2009 17:04:55 +0000 Subject: Re: apr 1.4: testpoll crash on OSX 10.6 Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Jim Jagielski In-Reply-To: Date: Wed, 14 Oct 2009 13:04:53 -0400 Cc: APR Development Content-Transfer-Encoding: 7bit Message-Id: <8C92F7F6-4B2C-4093-BFBB-E3826C5E3833@apache.org> References: To: Neil Conway X-Mailer: Apple Mail (2.1076) What about 32 bit? I will try to reproduce... On Oct 14, 2009, at 1:02 PM, Neil Conway wrote: > "./tests/testall testpoll" segfaults for me consistently on OSX 10.6.1 > with the latest code from the 1.4-stable branch (64-bit APR library). > gdb info: > > #0 0x000000010000e9b7 in send0_pollset (tc=0x7fff5fbfef80, data=0x0) > at testpoll.c:389 > 389 ABTS_PTR_EQUAL(tc, s[0], descs[0].desc.s); > (gdb) bt > #0 0x000000010000e9b7 in send0_pollset (tc=0x7fff5fbfef80, data=0x0) > at testpoll.c:389 > #1 0x0000000100001456 in abts_run_test (ts=0x100200190, f=0x10000e925 > , value=0x0) at abts.c:168 > #2 0x000000010000f713 in testpoll (suite=0x100200190) at testpoll.c: > 685 > #3 0x0000000100001e35 in main (argc=2, argv=0x7fff5fbff020) at > abts.c:424 > (gdb) p descs > $1 = (const apr_pollfd_t *) 0x0 > (gdb) p s[0] > $2 = (apr_socket_t *) 0x100804240 > (gdb) l > 384 rv = apr_pollset_poll(pollset, 0, &num, &descs); > 385 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); > 386 ABTS_INT_EQUAL(tc, 1, num); > 387 ABTS_PTR_NOTNULL(tc, descs); > 388 > 389 ABTS_PTR_EQUAL(tc, s[0], descs[0].desc.s); > 390 ABTS_PTR_EQUAL(tc, s[0], descs[0].client_data); > 391 } > 392 > 393 static void recv0_pollset(abts_case *tc, void *data) > > It crashes about 50% of the time, both with and without threads > enabled. Can anyone reproduce this? > > Neil >