X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Mon, 2 Apr 2012 16:45:10 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: "cant commit memory for stack" error with perl
Message-ID: <20120402144510.GE9924@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4F75A300.4030208@peralex.com> <4F7897C4.1020202@cygwin.com> <4F7961DA.2080203@peralex.com> <20120402085756.GD8014@calimero.vinschen.de> <4F79761E.7030902@peralex.com> <20120402101947.GB9924@calimero.vinschen.de> <4F79B7EF.7050108@peralex.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <4F79B7EF.7050108@peralex.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Apr  2 16:30, Noel Grandin wrote:
> 
> 
> On 2012-04-02 12:19, Corinna Vinschen wrote:
> >Just download cygwin1-20120401.dll.bz2, bunzip it, chmod +x it,
> >and then replace cygwin1.dll in /bin with that file from Windows
> >Explorer. That's it
> 
> Thanks for that suggestion.
> Tried it. Also tried rebooting.
> Also tried disabling DEP and ASLR.
> Still no joy.
> Sigh...

If you can strip your perl script to the bare minimum necessary to
reproduce the issue, I can take a look if I can reproduce it.

Oh, and, where is your perl.exe based to?  In other words, what does

  $ objdump -h /bin/perl.exe | grep '\.text'

print?  (objdump is part of the binutils package).

If it's *not*

  00401000

but rather something like

  55691000

call `rebase -b 0x400000 /bin/perl.exe'
and try again.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

