delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/05/27/13:19:26

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=cYy+CGZvRhEvAqc56E8nNXXGRE+yvAQYdxIXidu5uay
H0bWDUZUcW0m3ZV6hDJFS8QO9cqGnk57uc9/5uxm9MTLp2pE4Lb2Ab5YsXTEjeLB
/ztpIJ3jQ9TFz7kusyUkEY5Y3tV56EPK+cXYnfM1SqysQFP6WNlow10vOY/mVEUg
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=BBJu+gZwaP/xQM3SPo9eZwt2M+U=; b=RCx2UATs+F+v+wvH7
kqr2aaorXWliBKDTZbDESXn7G7E5UFq7m9JJdh7Ok1axvMn6HsEkpJkxWTirp3NX
LJJ9KtQREiClIo+1CdxMDnECumonXo5L02+5X2F9DZjh2ECbJeUCWJP01KaVTkdJ
mxE+4cx6uLNfSQIDJzuHFNEk/w=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1
Message-ID: <51A39587.90103@acm.org>
Date: Mon, 27 May 2013 10:19:03 -0700
From: David Rothenberger <daveroth AT acm DOT org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: STC for fork SEGV after dlclose
References: <51A38C2B DOT 6060706 AT acm DOT org> <20130527170723 DOT GF28463 AT calimero DOT vinschen DOT de>
In-Reply-To: <20130527170723.GF28463@calimero.vinschen.de>

On 5/27/2013 10:07 AM, Corinna Vinschen wrote:
> On May 27 09:39, David Rothenberger wrote:
>> With the latest 32-bit snapshot (2013-05-24) this causes a
>> segfault. The same thing happens with the 64-bit release. With
>> 1.7.18, the test case hangs for quite a while, but eventually
>> finishes, except that the fork() never really happens and I get a
>> weird error code when I run it in gdb. If I skip the dlclose() call,
>> the STC runs fine.
>>
>> It's weird, but the libapr1 test suite does not fail on 32-bit with
>> the 2013-05-24 snapshot (or with 1.7.18). I don't know why the STC
>       ^^^^^^^^^^
>       ????
> 
> Above you said it fails on 32 bit with 2013-05-24, too.  What's the
> last working snapshot?

The STC fails with the 2013-05-24 32-bit snapshot and the 1.7.19-6
64-bit release. The full libapr1 test suite fails with the 64-bit
release if I include the testdso test cases, but succeeds if I exclude
them. For 32-bit, the full test suite passes even with the testdso test
cases. I don't understand why that is.

That is, my STC shows that a dlclose() will break subsequent fork()
calls, but that breakage doesn't occur with the full libapr1 test suite
on 32-bit for some unknown reason.

But as long as my STC isn't completely ridiculous, fixing it might fix
the 64-bit test suite.

-- 
David Rothenberger  ----  daveroth AT acm DOT org

"Is it just me, or does anyone else read `bible humpers' every time
someone writes `bible thumpers?'
                -- Joel M. Snyder, jms AT mis DOT arizona DOT edu

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019