delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/29/11:42:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: Odd perl 5.8.0 error
Date: Fri, 29 Aug 2003 08:41:45 -0700
Lines: 46
Message-ID: <bins80$eaj$1@sea.gmane.org>
References: <bimsrs$po5$1 AT sea DOT gmane DOT org> <110168055460 DOT 20030829131146 AT familiehaase DOT de>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en,ru
In-Reply-To: <110168055460.20030829131146@familiehaase.de>

Gerrit P. Haase wrote:

> Hello Andrew,
>
>> All of a sudden a Perl script of mine that has been working fine for a
>> long time stopped working. I've traced it down to the following line in
>> Perl:
>
>> my $nbr_msgs = `grep -ce "^From " "$returned_dir/$sender"`;
>
>> Seems innocent enough right? Here's the error message:
>
>> C:\Cygwin\bin\perl.exe: *** couldn't release memory 0x9D4000(1032192)
>> for 'C:\Cygwin\lib\perl5\5.8.0\cygwin-multi-64int\auto\Fcntl\Fcntl.dll'
>> alignment, Win32 error 487
>
>> 13 [main] perl 1040 sync_with_child: child 5780(0x648) died before
>> initialization with status code 0x1
>
>> I searched winerror.h to find;
>
>> #define ERROR_INVALID_ADDRESS 487L
>
>> Any ideas?
>
>
> Looks like a rebase issue, though I thought that only Win95/98/ME are 
> affected by this.

Ugh! I hate rebase things. Just feels like a kludge to me. Anyways, 
assuming it is  rebase issue how do I fix it (what's the command (ah 
duh, rebase I know) and it's parameters?)

> Does the failure happens sporadically or on regular basis now?

Well if I put the above Perl snippet into a small script it works OK but 
in my larger script it fails. I can step through the Perl debugger to 
that statement and then attempt to step through it and it fails every 
time. After the above error I get the same error again and again...

> You don't have updated perl or cygwin before this happend the first time?

I do believe I updated Cygwin about a week or two ago. Haven't run into 
this problem until last night. Then again I don't think I ran this 
particular script until last night either...



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