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
Message-ID: <42E89E70.3000605@familiehaase.de>
Date: Thu, 28 Jul 2005 10:59:28 +0200
From: "Gerrit P. Haase" <gerrit@familiehaase.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511
MIME-Version: 1.0
To: cygwin@cygwin.com
CC: Krzysztof Duleba <krzysan@skrzynka.pl>
Subject: Re: perl - segfault on "free unused scalar"
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>  <dc9miu$6vi$1@sea.gmane.org> <Pine.GSO.4.61.0507280131420.27026@slinky.cs.nyu.edu> <dc9vpj$opq$1@sea.gmane.org> <42E89C2C.5040506@familiehaase.de> <42E89D27.4030606@familiehaase.de>
In-Reply-To: <42E89D27.4030606@familiehaase.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Gerrit P. Haase wrote:

> Gerrit P. Haase wrote:
> 
>> Krzysztof Duleba wrote:
>>
>>> Igor Pechtchanski wrote:
>>>
>>>> Actually, you're right.  Perhaps it depends on what kind of malloc the
>>>> program uses (i.e., whether it uses the Cygwin builtin malloc, or
>>>> something else).
>>>
>>>
>>>
>>> That's strange. How could Perl use something essentially different 
>>> than malloc? I thought it would all come down to brk or sbrk.
>>
>>
>>
>> Perl has its own malloc implementation.
> 
> 
> However, it should automatically undefine usemymalloc for configure if
> usethreads is defined, I'll need to check this.

Hmmm, no it isn't, see perl -V:
... usemymalloc=y ...

Now that I'm thinking about it it is just multiplicity which is defined
when building with threads.

I'll try to build with the system malloc to see if it makes a
difference.


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/

