Re: IDL 7.1 dialog_pickfile segmentation fault [message #67196] |
Wed, 08 July 2009 14:35 |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
JJ wrote:
> I recently got a few new computers and installed the most recent IDL
> (7.1). Then I noticed that some of my old code caused IDL to seg-
> fault.
>
> I can reproduce this problem at will. All I have to do is make a call
> to dialog_pickfile(), with both DEFAULT_EXTENSION and FILTER keywords
> set. Then when I click "OK" in the dialog box, I get a segmentation
> fault.
>
> It doesn't seem to matter what you set the values of these keywords
> to, whether you choose a file from the list or type one in, or even
> leave it blank. When you click "OK" you get a segmentation fault.
>
> Here is an example
>
>> idl
> IDL Version 7.1 (linux x86_64 m64). (c) 2009, ITT Visual Information
> Solutions
>
> IDL> a = dialog_pickfile(default_extension='txt',filter='*.txt')
> Segmentation fault
>
> I get exactly the same behavior on a different platform running 7.1
>
>> idl
> IDL Version 7.1, Solaris (sunos x86_64 m64). (c) 2009, ITT Visual
> Information Solutions
>
> IDL> a = dialog_pickfile(default_extension='txt',filter='*.txt')
> Segmentation fault
>
> Everything works fine on earlier versions of IDL.
Also, on Mac OS X, both 32- and 64-bit:
IDL> print, !version
{ x86_64 darwin unix Mac OS X 7.1 Apr 21 2009 64 64}
IDL> a = dialog_pickfile(default_extension='txt',filter='*.txt')
Segmentation fault
IDL> print, !version
{ i386 darwin unix Mac OS X 7.1 Apr 21 2009 32 64}
IDL> a = dialog_pickfile(default_extension='txt',filter='*.txt')
Bus error
Mike
--
www.michaelgalloy.com
Associate Research Scientist
Tech-X Corporation
|
|
|