This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Issue with Cygwin perl *** fatal error - fork: can't reserve memory for stack


We did put a ticket for this issue. It is not really necessary to strace rebase.pl. When rebase was invoked with a long command, any attempt to fork, including a call to perl system() before anything else, causes this issue.

I suggest not to translate junctions to targets, even if the functionality is in cygwin1.dll. It is surprising.

-----Mensaje original-----
De: reini.urban@gmail.com [mailto:reini.urban@gmail.com] En nombre de Reini Urban
Enviado el: viernes, 02 de julio de 2010 12:36
Para: cygwin@cygwin.com
CC: RamÃn GarcÃa FernÃndez
Asunto: Re: Issue with Cygwin perl *** fatal error - fork: can't reserve memory for stack

2010/7/2 RamÃn GarcÃa FernÃndez <ramong@cnmv.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=allsvn&msgNo=9427

I see a possible problem in:
  my $command = "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 investigate.

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 that I could use short names for the openoffice source tree. But this didn't work becase the configure script translated junction points, because cygpath translates them. Why? This is surprising. For example if c:\ooo is a junction to c:\Documents and settings\myuser\openoffice, why should cygpath -w /cygdrive/c/ooo return c:\Documents...\openoffice rather than c:\ooo? At least that translation should be optional.

This is a behaviour within the cygwin dll.
--
Reini Urban
http://phpwiki.org/           http://murbreak.at/

Aviso legal â ComisiÃn Nacional del Mercado de Valores

Este mensaje y, en su caso, los ficheros que lleve incorporados, està dirigido exclusivamente a su destinatario y es de carÃcter confidencial. Si fuere recibido por error o se tuviere conocimiento del mismo sin ser su destinatario, rogamos nos lo comunique por la misma vÃa o telefÃnicamente (91 585 15 00) y proceda a su destrucciÃn, debiendo abstenerse de utilizar, transmitir, divulgar o  reproducir la informaciÃn contenida en el mismo. La CNMV se reserva las acciones legales que procedan contra todo tercero que acceda de forma ilegÃtima al contenido de cualquier mensaje externo procedente de la entidad

Para informaciÃn y consultas visite nuestra web: http://www.cnmv.es


Disclaimer - ComisiÃn Nacional del Mercado de Valores

This message, its content and any file attached thereto is for the intended recipient only and is confidential. If you have received this e-mail in error or had access to it, you should note that the information in it is private and any use thereof is unauthorised. In such an event please notify us by e-mail or by telephone (+ 34 91 585 15 00). Any reproduction of this e-mail by whatsoever means and any transmission or dissemination thereof to other persons is prohibited. The ComisiÃn Nacional del Mercado de Valores reserves the right to take legal action against any persons unlawfully gaining access to the content of any external message it has emitted

For additional information, please visit our website: http://www.cnmv.es

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]