delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/19/17:43:22

X-Spam-Check-By: sourceware.org
X-BigFish: V
MIME-Version: 1.0
Subject: RE: Perl failure
Date: Wed, 19 Jul 2006 14:43:24 -0700
Message-ID: <B7392353E4C4DE4ABC4EC255DB4CA040034716AD@EXCHVS1.spimageworks.com>
In-Reply-To: <20060713180601.GA3872@efn.org>
From: "Bruce Dobrin" <dobrin AT imageworks DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k6JLhHjS029888

Thanks for the suggestion,  I tried it with 1.5.20 and 1.5.21s 20060718.
But Alas no better luck.   Any Idea if this is Cygwin or Perl?

Thanks
Bruce D.  

From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
To: cygwin at cygwin dot com
Date: Tue, 18 Jul 2006 22:15:14 -0400
Subject: Re: Perl failure
References:
<B7392353E4C4DE4ABC4EC255DB4CA040034716A2 AT EXCHVS1 DOT spimageworks DOT com>
Reply-to: cygwin at cygwin dot com

Larry Hall wrote:
>It may make more sense to move forward and see if the problem still
>exists in a snapshot version - <http://cygwin.com/snapshots/>.


>--
>Larry Hall                              http://www.rfk.com
>RFK Partners, Inc.                      (508) 893-9779 - RFK Office
>216 Dalton Rd.                          (508) 893-9889 - FAX
>Holliston, MA 01746 

>>-----Original Message-----
>>From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On
Behalf Of Yitzchak Scott-Thoennes
>>Sent: Thursday, July 13, 2006 11:06 AM
>>To: cygwin AT cygwin DOT com
>>Subject: Re: Perl failure


>> Bruce Dobrin wrote: 
>>>Hi, I stripped down the code to a small testable bit. The problem
seems to
>>>occur when I reach 256 forks on a cygwin1.5.18 or 19 but not on my
>>>cygwin1.5.5. win2k system. The original code give the forked process
>>>time to finish, but it still looks like it eats it after about 256
>>>iterations ( it actually failed between 259 and 252 iterations, but
>>>it's pretty complicated so I'm not sure what else was happening).

>>>Here is my test code:
>>>dobrin AT tiburon:/tmp> cat test8.pl ################
#!/usr/bin/perl -w

use strict;
my $pid;

foreach my $incr (`seq 1 1 800`) {
unless (defined ($pid = fork)) {
die " cannot fork $!";
}
unless ($pid) {
print " the sequence is $incr \n";
exit;
}
print "pid is $pid\n";
}

###############

>>>The error here is :
>>>cannot fork Resource temporarily unavailable at ./test8.pl line 11.
>>>panic: MUTEX_LOCK (45) [op.c:354].

>>>On cygwin1.5.5 it finishes successfully.  I'm not sure if there is
>>>anything else I can try,  I'm looking around for some other machines
>>>with older cygwins on them to establish what version it stopped
working
>>>in.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


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