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

Home » Public Forums » archive » Crashes in IDL 7.1 & 8.0, interactive + VM mode, linux and Mac OS X
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: Crashes in IDL 7.1 & 8.0, interactive + VM mode, linux and Mac OS X [message #74621 is a reply to message #74536] Wed, 26 January 2011 18:58 Go to previous messageGo to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
Hi all,
I was able to get the following to crash IDL 8.0.1 on a 64-bit Mac
running OSX 10.6.6:

MacBook:bin chris$ idl
IDL Version 8.0.1 <Integration build Thu Jul 29 18:17:29 MDT 2010>,
Mac OS X (darwin x86_64 m64).
(c) 2010, ITT Visual Information Solutions
Installation number: 000015.
Licensed for use by: ITT ONLY

IDL> system_var_file = '/tmp/system.sav'
IDL> save,/system,file=system_var_file
IDL> restore,system_var_file
IDL> openr,1,'foo'
% OPENR: Error opening file. Unit: 1, File: foo
No such file or directory
% Execution halted at: $MAIN$
IDL> openr,1,'foo'
idl(17500,0x7fff70ce2ca0) malloc: *** error for object 0x100603595:
pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap

Notice that you have to call the "openr" twice before it crashes.

Can someone try the above code on their machine, and see if it also
fails?

I'll go ahead and log a bug, and we'll see what we can do. Thanks for
finding this!

-Chris
ITTVIS
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: configuration file to go along with a virtual machine program
Next Topic: Re: Speed Improvement

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

Current Time: Wed Oct 08 18:33:35 PDT 2025

Total time taken to generate the page: 0.00181 seconds