[Numpy-discussion] choose -> segfault

Robert Kern robert.kern@gmail....
Tue Jan 3 08:44:37 CST 2012


On Tue, Jan 3, 2012 at 14:42, Neal Becker <ndbecker2@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