delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/11/04:37:07

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4E1AB60C.7050902@gmail.com>
Date: Mon, 11 Jul 2011 11:36:28 +0300
From: Yoni Londner <yonihola2 AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Random fork failures
References: <4E1AAF38 DOT 9040100 AT gmail DOT com> <20110711082740 DOT GC8249 AT calimero DOT vinschen DOT de>
In-Reply-To: <20110711082740.GC8249@calimero.vinschen.de>
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

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

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