X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 	tests=BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SARE_SUB_ENC_UTF8,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Magnus Holmgren <magnushol@gmail.com>
Subject:  Re: sh.exe: =?utf-8?b?VFBfTlVNX1dfQlVGUw==?= too small?
Date: Mon, 20 Jul 2009 11:57:07 +0000 (UTC)
Lines: 16
Message-ID:  <loom.20090720T114817-199@post.gmane.org>
References:  <loom.20090720T093326-589@post.gmane.org> <20090720113544.GA30066@calimero.vinschen.de>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:

> Yes, it is definitely a bug.  AFAICS this occurs when a process forks
> too deeply (child forks, grandchild forks again, etc, without execing).
> The fork() setjmp/longjmp magic accidentally skipped the cleanup
> destructor which is supposed to free the temporary thread-local buffers.
> This doesn't matter if the child process execs, as usual, but it matters
> a lot as soon as the forked child forks further and further, so the
> thread-local buffers become a sparse resource.

When I looked closer at the script causing the message (not configure as
such, but called from configure) it happened in a function that called
itself recursively. A few (2-3) levels down the error starts appearing.

  Magnus



--
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

