| delorie.com/archives/browse.cgi | search |
| 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 |
| From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: perl - segfault on "free unused scalar" |
| Date: | Wed, 27 Jul 2005 18:49:57 +0100 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <dc8ebq$36m$1@sea.gmane.org> |
| Message-ID: | <SERRANOvfDrf7WbVABp0000000d@SERRANO.CAM.ARTIMI.COM> |
----Original Message----
>From: Krzysztof Duleba
>Sent: 27 July 2005 17:56
> Then why does the following code fail?
To find out, run /bin/perl.8.6.exe under gdb/insight and breakpoint sbrk.
You'll see that VirtualAlloc is failing. By reassigning $eip to
GetLastError immediately after one of the failing calls, you'll see that the
problem is error code 487 - ERROR_INVALID_ADDRESS. Perhaps there's
something else occupying the memory map that prevents the heap from being
extended contiguously.
In any case, you should be able to improve things by setting the
heap_chunk_in_mb registry key. Turn it up waaaay big!
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |