delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/02/06:36:42

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: <DC36023A4F988E43BD1749B49DA8D4550686C2B315 AT CCRALMAGRO DOT olimpo DOT cnmv> <7BB89F87B20F7F40ACA0B17B59C5BDCF65BA8D39 AT CCRALMAGRO DOT olimpo DOT cnmv>
Date: Fri, 2 Jul 2010 12:36:27 +0200
Message-ID: <AANLkTilMrA2JpWHYxNbHk57GVc69_S6FSs9oOK8IzJLH@mail.gmail.com>
Subject: Re: Issue with Cygwin perl *** fatal error - fork: can't reserve memory for stack
From: Reini Urban <rurban AT x-ray DOT at>
To: cygwin AT cygwin DOT com
Cc: =?ISO-8859-1?Q?Ram=F3n_Garc=EDa_Fern=E1ndez?= <ramong AT cnmv DOT es>
X-IsSubscribed: yes
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

2010/7/2 Ram=F3n Garc=EDa Fern=E1ndez <ramong AT cnmv DOT es>:
> 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

- Raw text -


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