X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,TW_YG,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <7BB89F87B20F7F40ACA0B17B59C5BDCF65BA8D39@CCRALMAGRO.olimpo.cnmv> References: <7BB89F87B20F7F40ACA0B17B59C5BDCF65BA8D39 AT CCRALMAGRO DOT olimpo DOT cnmv> Date: Fri, 2 Jul 2010 12:36:27 +0200 Message-ID: Subject: Re: Issue with Cygwin perl *** fatal error - fork: can't reserve memory for stack From: Reini Urban To: cygwin AT cygwin DOT com Cc: =?ISO-8859-1?Q?Ram=F3n_Garc=EDa_Fern=E1ndez?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 2010/7/2 Ram=F3n Garc=EDa Fern=E1ndez : > The cause was that the argument list was long. That is, a program invoked= with a long argument list could not fork. Perhaps this behaviour could be = improved. I'll try if it's within perl. Before I see no problem with perl's fork, but maybe it's elsewhere. What is your openoffice ticket url for this problem? With http://www.openoffice.org/servlets/ReadMsg?listName=3Dallsvn&msgNo=3D9= 427 I see a possible problem in: my $command =3D "rebase " . $options_string; where $options_string can get too large and the error message should be improved. I don't think perl has a test for argument length limits yet. I'll investig= ate. If within the cygwin1.dll you have to be more specific were exactly. A part of the strace of the failing rebase.pl call would help. > On the other hand, I tried creating a junction point with linkd.exe so th= at I could use short names for the openoffice source tree. But this didn't = work becase the configure script translated junction points, because cygpat= h translates them. Why? This is surprising. For example if c:\ooo is a junc= tion to c:\Documents and settings\myuser\openoffice, why should cygpath -w = /cygdrive/c/ooo return c:\Documents...\openoffice rather than c:\ooo? At le= ast that translation should be optional. This is a behaviour within the cygwin dll. --=20 Reini Urban http://phpwiki.org/ http://murbreak.at/ -- 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