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

Home » Public Forums » archive » Re: Error: Array has a corrupted descriptor
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: Error: Array has a corrupted descriptor [message #51548] Tue, 28 November 2006 09:49 Go to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
On Tue, 28 Nov 2006 09:16:48 -0800, Gongqin Shen wrote:

> I agree, that does make sense since IDL must use MALLOC routine
> internally (I assume IDL is written in C) to claim the memory any time
> the size of array changes, and constantly changing it will fragment the
> memory like crazy as you said. However, I have modified my code to get
> rid of the BYTARR line and keep the dynamically modifying array line,
> and the program doesn't crash now.
> I am really confused here and hope someone can be the myth-buster.

This is surprising. My best guess at the moment is that you reduced the
memory fragmentation problem which allows LABEL_REGION to proceed without
encountering storage allocation errors. LABEL_REGION may still have a bug
when recovering from a storage allocation problem that resulted in the
corrupted array descriptor. The code paths (yes, written in C) that
recover from storage allocation problems are a bit hard to exercise under
various storage allocation conditions.

It would be best if you could wrap up your (failing) code and data and
send it to support at ittvis dot com.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Error: Array has a corrupted descriptor
Next Topic: natural neighbor interpolation

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

Current Time: Wed Oct 08 19:15:37 PDT 2025

Total time taken to generate the page: 0.00519 seconds