Re: 0.0/0.0 --> Segmentation Fault [message #8389 is a reply to message #8365] |
Thu, 27 February 1997 00:00  |
Robert Moss
Messages: 74 Registered: February 1996
|
Member |
|
|
Alex Schuster wrote:
>
> A made a slight modification to a program, and it crashed
> with a Segmentation Fault. Yikes! After a while I found the cause:
>
> --> idl
> IDL. Version 4.0.1 (sunos sparc).
> Copyright 1989-1995, Research Systems, Inc.
> All rights reserved. Unauthorized reproduction prohibited.
> Installation number: 3136-0.
> Licensed for use by: MPI Koeln
>
> IDL> helps, !version
> ** Structure !VERSION, 4 tags, length=32:
> ARCH STRING 'sparc'
> OS STRING 'sunos'
> OS_FAMILY STRING 'unix'
> RELEASE STRING '4.0.1'
> IDL> print, 0.0 / 0.0
> % Program caused arithmetic error: Floating illegal operand
> % Detected at $MAIN$
> Segmentation Fault
> -->
>
> This seems to happen with Solaris 2.5 only, not with 2.4.
>
> Alex
This problem doews not occur with !VERSION.RELEASE = '4.0.1c'
running Solaris 2.5.1
idl>help,/str,!version
** Structure !VERSION, 4 tags, length=32:
ARCH STRING 'sparc'
OS STRING 'sunos'
OS_FAMILY STRING 'unix'
RELEASE STRING '4.0.1c'
idl>print,0.0/0.0
NaN
% Program caused arithmetic error: Floating illegal operand
idl>
I suggest downloading the latest version of IDL as a start...
--
Robert M. Moss, Ph.D. - mossrm@texaco.com - FAX (713)954-6911
------------------------------------------------------------ -----
This does not necessarily reflect the opinions of Texaco Inc.
|
|
|