[SciPy-dev] Strange scipy.test crashes on OS X/Intel

Robert Kern robert.kern at gmail.com
Thu Sep 27 14:24:25 EDT 2007


Tom Loredo wrote:

> If there is anything further I can do to help diagnose these issues, please
> advise.

Can you run it in gdb and give us the backtrace?

$ gdb python
GNU gdb 6.3.50-20050815 (Apple version gdb-573) (Fri Oct 20 15:50:43 GMT 2006)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...Reading symbols for shared
libraries .. done

(gdb) run -c "import scipy; scipy.test(10,10)"
Starting program: /usr/local/bin/python -c "import scipy; scipy.test()"
Reading symbols for shared libraries . done

Program received signal SIGTRAP, Trace/breakpoint trap.
0x8fe01010 in __dyld__dyld_start ()
(gdb) c
Continuing.
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
...


Then use the "bt" command after the segfault happens to get the backtrace.

-- 
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 SciPy-Dev mailing list