|
Re: Core dump when using NCOMPLEMENT keyword [message #30147 is a reply to message #30146] |
Fri, 05 April 2002 13:08   |
Jeff Guerber
Messages: 41 Registered: July 2000
|
Member |
|
|
Aleksandar,
Yes, I've noticed this too, in both 5.4 and 5.5 on HP-UX 11 (!version =
{hp_pa hp-ux unix hp-ux 5.5 Aug 28 2001 32 64}). I had been meaning to
report it if it hadn't been fixed in 5.5, but never quite got around to
doing so.
Jeff Guerber
On Fri, 5 Apr 2002, Aleksandar Jelenak wrote:
> Dear All:
>
> IDL reports segmentation fault whenever I invoke the WHERE function
> with the Ncomplement keyword but without the Complement keyword.
>
> Example:
>
> x = indgen(10)
> i = where(x gt 4, count, complement=j, ncomplement=k) ; OK
> i = where(x gt 4, complement=j, ncomplement=k) ; OK
> i = where(x gt 4, count, ncomplement=k) ; core dump
> i = where(x gt 4, ncomplement=k) ; core dump
>
> Release Notes do not mention this. Neither I could find any info on
> the RSI website. It looks like a bug to me. Can anyone else confirm
> this?
>
> I am using IDL 5.4 on a Red Hat Linux 7.1 computer.
>
> Aleksandar
|
|
|
Re: Core dump when using NCOMPLEMENT keyword [message #30148 is a reply to message #30147] |
Fri, 05 April 2002 13:13  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Aleksandar Jelenak (Aleksandar.Jelenak@noaa.gov) writes:
> IDL reports segmentation fault whenever I invoke the WHERE function
> with the Ncomplement keyword but without the Complement keyword.
>
> Example:
>
> x = indgen(10)
> i = where(x gt 4, count, complement=j, ncomplement=k) ; OK
> i = where(x gt 4, complement=j, ncomplement=k) ; OK
> i = where(x gt 4, count, ncomplement=k) ; core dump
> i = where(x gt 4, ncomplement=k) ; core dump
>
> Release Notes do not mention this. Neither I could find any info on
> the RSI website. It looks like a bug to me. Can anyone else confirm
> this?
>
> I am using IDL 5.4 on a Red Hat Linux 7.1 computer.
It is a bug. Here is an article:
http://www.dfanning.com/idl5_info/ncomplement.html
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|