delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/12/08:12:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <4194B6BC.3040707@familiehaase.de>
Date: Fri, 12 Nov 2004 14:12:28 +0100
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
Organization: Esse keine toten Tiere
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
MIME-Version: 1.0
To: Reini Urban <rurban AT x-ray DOT at>
CC: cygwin <cygwin AT cygwin DOT com>, pod-people AT perl DOT org
Subject: Re: perl-5.8.5-3 Pod::Simple::HTMLBatch coredump
References: <41949DE6 DOT 8040405 AT x-ray DOT at> <4194AC4C DOT 1020603 AT x-ray DOT at>
In-Reply-To: <4194AC4C.1020603@x-ray.at>
X-IsSubscribed: yes

Reini Urban wrote:

>> perl -mPod::Simple::HTMLBatch -ePod::Simple::HTMLBatch::go \
>>   @INC /www/docs/perl/pod2html
>>
>> For me it always dumps core at the same place.
>> When writing pods/perltoc.html:

[...]

> And it is not an error on parsing the problematic file.
> perltoc.pod is by far the largest file with the most links.

It is 355440 bytes, which IMO is not that large.


> perl -mPod::Simple::HTML -ePod::Simple::HTML::go \
>      /usr/lib/perl5/5.8.5/pods/perltoc.pod > perltoc.html
> 
> works fine.
> And after renaming /usr/lib/perl5/5.8.5/pods/perltoc.pod to 
> /usr/lib/perl5/5.8.5/pods/perltoc.pod~
> it also works fine.

Since this file is skipped then, yes.

> So it's clearly a cygwin or perl specific memory issue.

Hmmm.  perl uses about 23 MB memory in total for me before it dies.
I think this is again the 2 MB stack issue, I have the stack for perl at
8 MB now, maybe t needs more.  Do you want to recompile yourself to test
this?  Get the cygwin perl source package for this and look into
perl-5.8.5/cygwin/perlld.in to change the default stack size there to
eg. 16 MB or 32 MB instead of 8 MB.  I'll try this now anyway, so wait a
minute...


Gerrit
-- 
=^..^=

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