delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=TiipGuSx2I4/Kk65sYB3QkQMJxNp/kSMjb6h9ceE9TU9hF++7DkGT | |
5w9tMd05Jhurc3+IAMorbopHfFdEqIXCdamfbAVQBNpLeyRICflBsKqKqYJCqPIH | |
HOVXE98F6p4hau8JSv0D792Rj2vazlB9wphYkPyYANr38rVi8+durY= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=3Px3XZIsN5SrNoX41wKqhbHGPxg=; b=Sc30Qz7ba+mkibBhzHaCznuBPQvC | |
gajPlUaqzuYsiyCOnWAGbkF7Z84RYL1HroLKVPhWJ8g5laCZuabz6zwvkrGmM2cR | |
FfoZZl09Orjtbe1gz1yzjNsrIdB51WdpkPuzuhCvyJZ7u+ZJoYQpWecMtf71RUbM | |
VaAAioxidIq7sts= | |
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=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 |
Date: | Mon, 27 May 2013 21:38:00 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | [GOLDSTAR] Re: STC for fork SEGV after dlclose |
Message-ID: | <20130527193800.GA4239@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <51A38C2B DOT 6060706 AT acm DOT org> <20130527170723 DOT GF28463 AT calimero DOT vinschen DOT de> <51A39587 DOT 90103 AT acm DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <51A39587.90103@acm.org> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
On May 27 10:19, David Rothenberger wrote: > 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. Me neither. I debugged this in the 64 bit code, and it turned out that the 64 bit version stumbled over two bugs. One of these bugs I introduced only six days ago, and it affected only the 64 bit version. The other bug was already present for quite some time and it's a generic bug which affects 32 and 64 bit. There's a piece of pre-fork code which handles the loaded DLLs of a process, and there's one condition which never worked correctly if all dlopened DLLs had already been dlclosed before fork was called. In theory, this should always have crashed. Did you say in your OP that the 32 bit 1.7.18 didn't crash, but the fork never run either in the testcase? That sounds weird as effect, but the bug might explain that behaviour. > 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. It's not at all ridiculous. Thanks for providing it. I take the opportunity to thank you for all the testcases you provided in the last couple of months. Your STCs have helped Cygwin a lot already! Andrew, I'd like to have a goldstar for David for providing short, simple, easy to reproduce testcases in plain C. Thanks! Other than that, I'll upload a new 32 bit snapshot and a new 64 bit Cygwin package within the next hour or so. Please give both of them a try. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |