delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/11/05:03:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 11 Jul 2011 11:02:18 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Random fork failures
Message-ID: <20110711090218.GA22947@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4E1AAF38 DOT 9040100 AT gmail DOT com> <20110711082740 DOT GC8249 AT calimero DOT vinschen DOT de> <4E1AB60C DOT 7050902 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <4E1AB60C.7050902@gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Jul 11 11:36, Yoni Londner wrote:
> >
> >>I will appreciate any advice, how can I solve this problem.
> >
> >Simple, self-contained testcases, preferredly in plain C, or simple
> >scripts in case the problem only occurs in a script language, which
> >allow to reproduce the problem.  Those would be most helpful.
> >
> >
> >Corinna
> >
> 
> Example 1:
> #!/usr/bin/perl
> use POSIX qw(getcwd);
> getcwd();
> 1;
> 
> Example 2:
> #!/usr/bin/perl
> use Scalar::Util qw(looks_like_number);
> looks_like_number("1");
> 1;
> 
> Both end up with:
> Segmentation fault (core dumped)

I tested both scripts on W7 32 and 2K8R2 against the latest snapshot,
as well as against self-built current Cygwin CVS, built with and without
optimization.  Both scripts run fine in all scenarios.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          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

- Raw text -


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