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

Home » Public Forums » archive » Go figure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Go figure [message #65439] Wed, 04 March 2009 07:35 Go to previous message
lbnc is currently offline  lbnc
Messages: 15
Registered: January 2005
Junior Member
Hi there,

now have a look at this:

IDL> print, !version
{ x86_64 linux unix linux 6.2 Jun 20 2005 64 64}
IDL> .comp ../idl_lib/graphics/colorbar.pro
% Compiled module: COLORBAR.
IDL> .r ntest
% Compiled module: $MAIN$.
% Compiled module: CONGRID.
IDL> .r ntest
*** glibc detected *** corrupted double-linked list:
0x000000351f330698 ***
Aborted
[lbnc1@ion2 idl]$

Interesting, Mr. Bond. Here is the code for ntest.pro:

mind = 0.3
maxd = 0.8
ynames = string(fltarr((maxd-mind)*10.+1)/10., format='(F3.1)')

colorbar, /vert, $
ytickname=ynames

end

Alternatively, I sometimes get the following error
*** glibc detected *** double free or corruption (fasttop):
0x00000000007d0b90 ***
Aborted

Can anybody recreate that? It crashed when ntest is called the second
time, or, alternatively, when you recompile colorbar. colorbar is the
routine provided by David. Does anybody have an idea what is wrong? As
far as my tests go, both arguments (vert and ytickname) have to be set
to create this error.

Ah, and

ynames = replicate('0.0', 6)

works like a charm.

Cheers
Lasse Clausen
[Message index]
 
Read Message
Read Message
Previous Topic: break point test e.g. Petitt test
Next Topic: Re: Treating an object as a structure

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

Current Time: Sat Oct 11 14:43:07 PDT 2025

Total time taken to generate the page: 2.39667 seconds