[SciPy-user] crash from scipy.test() on Intel Mac OS X Leopard with python-2.4.4

Robert Kern robert.kern@gmail....
Mon Feb 4 00:39:04 CST 2008


Adam Mercer wrote:
> Hi
> 
> I'm running into the following crash on Intel Mac OS X 10.5.1 with
> python-2.4.4 and scipy-0.6.0 (from MacPorts), on running scipy.test()
> I'm getting the following crash:
> 
> Process:         Python [18375]
> Path:
> /opt/local/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python
> Identifier:      Python
> Version:         ??? (???)
> Code Type:       X86 (Native)
> Parent Process:  bash [18340]
> 
> Date/Time:       2008-02-04 00:57:44.518 -0500
> OS Version:      Mac OS X 10.5.1 (9B18)
> Report Version:  6
> 
> Exception Type:  EXC_BAD_ACCESS (SIGBUS)
> Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
> Crashed Thread:  0
> 
> Thread 0 Crashed:
> 0   readline.so                   	0x000bbaa3 call_readline + 691
> 1   org.python.python             	0x0016b9ae PyOS_Readline + 254
> 2   org.python.python             	0x0016cf70 tok_nextc + 64
> 3   org.python.python             	0x0016d7a5 PyTokenizer_Get + 101
> 4   org.python.python             	0x00168512 parsetok + 210
> 5   org.python.python             	0x00212992 PyRun_InteractiveOneFlags + 290
> 6   org.python.python             	0x00212bb3 PyRun_InteractiveLoopFlags + 99
> 7   org.python.python             	0x00213a69 PyRun_AnyFileExFlags + 185
> 8   org.python.python             	0x0021da8a Py_Main + 3130
> 9   org.python.python             	0x000018dc 0x1000 + 2268
> 10  org.python.python             	0x00001809 0x1000 + 2057

It looks like it's crashing in readline rather than anything in scipy. To 
determine whether scipy is causing the problem or not, run scipy.test() 
non-interactively. E.g.

   $ python -c "import scipy; scipy.test()"

-- 
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-user mailing list