[Numpy-discussion] choose -> segfault

Robert Kern robert.kern at gmail.com
Tue Jan 3 09:44:37 EST 2012


On Tue, Jan 3, 2012 at 14:42, Neal Becker <ndbecker2 at gmail.com> wrote:
> I made 2 mistakes here, the 1st argument had the wrong shape, and I really
> wanted to use 'where', not 'choose'.  But shouldn't segfault:
>
> ValueError: Need between 2 and (32) array objects (inclusive).
> Segmentation fault (core dumped)

Can you provide an example that replicates the crash? Since it looks
like you have a core dump handy, can you get a gdb backtrace to show
us where the crash is? Platform details would also be handy.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco



More information about the NumPy-Discussion mailing list