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 #74620 is a reply to message #74487] Wed, 26 January 2011 19:40 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 1/26/11 7:58 PM, Chris Torrence wrote:
> 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!

Yes, I get the same thing on IDL 8.0.1 on my Mac.

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
% Error occurred at: $MAIN$
% Execution halted at: $MAIN$
IDL> openr,1,'foo'
idl(7687,0x7fff710b8ca0) malloc: *** error for object 0x10060441d:
pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
[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: Fri Oct 10 08:06:00 PDT 2025

Total time taken to generate the page: 0.00235 seconds