On Wed, Sep 2, 2009 at 17:23, Jeremy Mayes<jeremy.ma...@gmail.com> wrote: > This one line causes python to core dump on linux. > numpy.lexsort([ > numpy.array(['-','-','-','-','-','-','-','-','-','-','-','-','-'])[::-1],numpy.array([732685., > 732685., 732685., 732685., 732685., 732685.,732685., 732685., > 732685., 732685., 732685., 732685., 732679.])[::-1]]) > > Here's some version info: > > python 2.5.4 > numpy 1.3.0 > > error is > *** glibc detected *** free(): invalid next size (fast): 0x0000000000526be0 > *** > > Any ideas?
Huh. The line executes for me on OS X, but the interpreter crashes when exiting. Here is my backtrace: Thread 0 Crashed: 0 org.python.python 0x00270760 collect + 288 1 org.python.python 0x002712ea PyGC_Collect + 42 2 org.python.python 0x00260390 Py_Finalize + 208 3 org.python.python 0x0026f750 Py_Main + 2768 4 org.python.python 0x00001f82 0x1000 + 3970 5 org.python.python 0x00001ea9 0x1000 + 3753 Can you show us a gdb backtrace on your machine? -- 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 _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion