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

Home » Public Forums » archive » Re: Core dump when using NCOMPLEMENT keyword
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Core dump when using NCOMPLEMENT keyword [message #30146] Fri, 05 April 2002 13:10 Go to next message
Ed Wright is currently offline  Ed Wright
Messages: 39
Registered: February 1999
Member
in article 3CAE0E8E.D59765C6@noaa.gov, Aleksandar Jelenak at
Aleksandar.Jelenak@noaa.gov wrote on 4/5/02 12:52 PM:

> Dear All:
>
> IDL reports segmentation fault whenever I invoke the WHERE function
> with the Ncomplement keyword but without the Complement keyword.

...

>
> Aleksandar

The instructions:

x = indgen(10)
i = where(x gt 4, ncomplement=k)

cause a core dump for me as well. IDL 5.5 on Solaris.

As always,
Ed Wright
Re: Core dump when using NCOMPLEMENT keyword [message #30147 is a reply to message #30146] Fri, 05 April 2002 13:08 Go to previous messageGo to next message
Jeff Guerber is currently offline  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 Go to previous message
David Fanning is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Core dump when using NCOMPLEMENT keyword
Next Topic: 3D Surface Problem

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

Current Time: Fri Oct 10 05:47:44 PDT 2025

Total time taken to generate the page: 0.72103 seconds