delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/20/07:57:33

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
From: Magnus Holmgren <magnushol AT gmail DOT 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 DOT 20090720T093326-589 AT post DOT gmane DOT org> <20090720113544 DOT GA30066 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
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

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

- Raw text -


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