Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
To: cygwin@cygwin.com
From: Krzysztof Duleba <krzysan@skrzynka.pl>
Subject:  Re: perl - segfault on "free unused scalar"
Date:  Thu, 28 Jul 2005 06:22:53 +0200
Lines: 15
Message-ID: <dc9miu$6vi$1@sea.gmane.org>
References:  <dc7n8k$m72$1@sea.gmane.org> <42E76865.4000301@familiehaase.de>   <dc82t0$r0a$1@sea.gmane.org> <42E7B413.8040203@familiehaase.de>   <dc8ebq$36m$1@sea.gmane.org> <Pine.GSO.4.61.0507271350010.21789@slinky.cs.nyu.edu>  <dc926n$tko$1@sea.gmane.org> <Pine.GSO.4.61.0507271847340.21789@slinky.cs.nyu.edu>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
In-Reply-To: <Pine.GSO.4.61.0507271847340.21789@slinky.cs.nyu.edu>
X-IsSubscribed: yes

Igor Pechtchanski wrote:

>>After setting heap_chunk_in_mb to 2048, all those tests passed. Thanks! But I
>>still don't understand why C isn't bound by heap_chunk_in_mb and perl is.
> 
> I think you're confused.  All Cygwin programs, including those written in
> C, are bound by heap_chunk_in_mb.  Unless you are somehow generating a
> pure Windows program from your C source (e.g., using "gcc -mno-cygwin")...

I am not. I understand that this is how it should work theoretically, but 
I've _checked_ that on a couple of Cygwin boxes with different versions of 
cygwin1.dll and gcc. All of them didn't really care that heap_chunk_in_mb 
was undefined in the registry. Perl, on the other hand, do care.

Krzysztof Duleba


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

