comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: heap_free fatal error
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: heap_free fatal error [message #61859 is a reply to message #61858] Thu, 07 August 2008 08:03 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
Seg faulted on Mac:

IDL> print, !version
{ i386 darwin unix Mac OS X 7.0 Oct 25 2007 32 64}

But runs OK on Linux:

IDL> print, !version
{ x86 linux unix linux 7.0 Oct 25 2007 32 64}

Mike
--
www.michaelgalloy.com
Tech-X Corporation
Software Developer II

Wox wrote:
>> Did anyone observed heap_free crashing the IDL process and what was
>> the cause in your case?
>
> I managed to extract the critical code:
>
> n=30000l
> p0=ptr_new({i:0l,next:ptr_new()})
> p=p0
> for i=1l,n do begin
> (*p).next=ptr_new({i:i,next:ptr_new()})
> p=(*p).next
> endfor
> heap_free,p0 ; FATAL ERROR
>
>
> Is this a known bug?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Having trouble stopping a loop (or loop de loop de loop)
Next Topic: CONTOUR problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Mon Oct 27 12:44:07 PDT 2025

Total time taken to generate the page: 1.68353 seconds