[SciPy-dev] Segmentation fault

Nils Wagner nwagner at mecha.uni-stuttgart.de
Sat Oct 15 04:31:09 CDT 2005


Here comes a full debug report
>>> scipy.base.__version__
'0.4.3.1292'

>>> import scipy.stats
Importing io to scipy
Importing special to scipy
Importing utils to scipy
Importing interpolate to scipy
Importing optimize to scipy
Importing linalg to scipy

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1076102528 (LWP 16250)]
0x40ca152b in PyFortranObject_New (defs=0x0, init=0) at 
build/src/fortranobject.c:41
41              v = 
PyArray_FromDimsAndData(fp->defs[i].rank,
(gdb) bt
#0  0x40ca152b in PyFortranObject_New (defs=0x0, init=0) 
at build/src/fortranobject.c:41
#1  0x40c9f95a in initmvn () at 
build/src/Lib/stats/mvnmodule.c:677
#2  0x080ee58d in _PyImport_LoadDynamicModule 
(name=0xbfffc240 "scipy.stats.mvn",
     pathname=0xbfffbdb0 
"/usr/local/lib/python2.4/site-packages/scipy/stats/mvn.so",
     fp=0x8204ce8) at Python/importdl.c:53
#3  0x080ebf89 in load_module (name=0xbfffc240 
"scipy.stats.mvn", fp=Variable "fp" is not available.
)
     at Python/import.c:1665
#4  0x080eca51 in import_submodule (mod=0x403a938c, 
subname=0xbfffc24c "mvn",
     fullname=0xbfffc240 "scipy.stats.mvn") at 
Python/import.c:2250
#5  0x080ecc99 in load_next (mod=0x403a938c, 
altmod=0x81387a0, p_name=Variable "p_name" is not 
available.
)
     at Python/import.c:2070
#6  0x080ed0d7 in import_module_ex (name=Variable "name" 
is not available.
) at Python/import.c:1905
#7  0x080ed48d in PyImport_ImportModuleEx (name=0x40bc1354 
"mvn", globals=0x40c5adfc,
     locals=0x40c5adfc, fromlist=0x81387a0) at 
Python/import.c:1946
#8  0x080bb9c7 in builtin___import__ (self=0x0, 
args=0x40be1d74)
     at Python/bltinmodule.c:45
#9  0x0811d436 in PyCFunction_Call (func=0x4024ad6c, 
arg=0x40be1d74, kw=0x0)
     at Objects/methodobject.c:93
#10 0x0805928e in PyObject_Call (func=0x4024ad6c, 
arg=0x40be1d74, kw=0x0)
     at Objects/abstract.c:1746
#11 0x080c1b99 in PyEval_EvalFrame (f=0x816c1a4) at 
Python/ceval.c:3419
#12 0x080c7a54 in PyEval_EvalCodeEx (co=0x40be0220, 
globals=0x40c5adfc,
     locals=0x40c5adfc, args=0x0, argcount=0, kws=0x0, 
kwcount=0, defs=0x0, defcount=0,
     closure=0x0) at Python/ceval.c:2730
#13 0x080c7c85 in PyEval_EvalCode (co=0x40be0220, 
globals=0x40c5adfc, locals=0x40c5adfc)
     at Python/ceval.c:484
#14 0x080eab75 in PyImport_ExecCodeModuleEx 
(name=0xbfffd2c0 "scipy.stats.kde",
     co=0x40be0220,
     pathname=0xbfffc9b0 
"/usr/local/lib/python2.4/site-packages/scipy/stats/kde.pyc")
     at Python/import.c:619
#15 0x080eb0ab in load_source_module (name=0xbfffd2c0 
"scipy.stats.kde", pathname=Variable "pathname" is not 
available.
)
     at Python/import.c:893
#16 0x080ebfa9 in load_module (name=0xbfffd2c0 
"scipy.stats.kde", fp=Variable "fp" is not available.
)
     at Python/import.c:1656
#17 0x080eca51 in import_submodule (mod=0x403a938c, 
subname=0xbfffd2cc "kde",
     fullname=0xbfffd2c0 "scipy.stats.kde") at 
Python/import.c:2250
#18 0x080ecc99 in load_next (mod=0x403a938c, 
altmod=0x81387a0, p_name=Variable "p_name" is not 
available.
)
---Type <return> to continue, or q <return> to quit---
     at Python/import.c:2070
#19 0x080ed0d7 in import_module_ex (name=Variable "name" 
is not available.
) at Python/import.c:1905
#20 0x080ed48d in PyImport_ImportModuleEx (name=0x40291254 
"kde", globals=0x40428b54,
     locals=0x40428b54, fromlist=0x402912ac) at 
Python/import.c:1946
#21 0x080bb9c7 in builtin___import__ (self=0x0, 
args=0x40424a54)
     at Python/bltinmodule.c:45
#22 0x0811d436 in PyCFunction_Call (func=0x4024ad6c, 
arg=0x40424a54, kw=0x0)
     at Objects/methodobject.c:93
#23 0x0805928e in PyObject_Call (func=0x4024ad6c, 
arg=0x40424a54, kw=0x0)
     at Objects/abstract.c:1746
#24 0x080c1b99 in PyEval_EvalFrame (f=0x819259c) at 
Python/ceval.c:3419
#25 0x080c7a54 in PyEval_EvalCodeEx (co=0x40288ee0, 
globals=0x40428b54,
     locals=0x40428b54, args=0x0, argcount=0, kws=0x0, 
kwcount=0, defs=0x0, defcount=0,
     closure=0x0) at Python/ceval.c:2730
#26 0x080c7c85 in PyEval_EvalCode (co=0x40288ee0, 
globals=0x40428b54, locals=0x40428b54)
     at Python/ceval.c:484
#27 0x080eab75 in PyImport_ExecCodeModuleEx 
(name=0xbfffe7c0 "scipy.stats",
     co=0x40288ee0,
     pathname=0xbfffda30 
"/usr/local/lib/python2.4/site-packages/scipy/stats/__init__.pyc")
     at Python/import.c:619
#28 0x080eb0ab in load_source_module (name=0xbfffe7c0 
"scipy.stats", pathname=Variable "pathname" is not 
available.
)
     at Python/import.c:893
#29 0x080ebfa9 in load_module (name=0xbfffe7c0 
"scipy.stats", fp=Variable "fp" is not available.
) at Python/import.c:1656
#30 0x080ec335 in load_package (name=0xbfffe7c0 
"scipy.stats",
     pathname=0xbfffe330 
"/usr/local/lib/python2.4/site-packages/scipy/stats")
     at Python/import.c:949
#31 0x080ebf7b in load_module (name=0xbfffe7c0 
"scipy.stats", fp=Variable "fp" is not available.
) at Python/import.c:1670
#32 0x080eca51 in import_submodule (mod=0x4024238c, 
subname=0xbfffe7c6 "stats",
     fullname=0xbfffe7c0 "scipy.stats") at 
Python/import.c:2250
#33 0x080ecc99 in load_next (mod=0x4024238c, 
altmod=0x4024238c, p_name=Variable "p_name" is not 
available.
)
     at Python/import.c:2070
#34 0x080ed1c0 in import_module_ex (name=Variable "name" 
is not available.
) at Python/import.c:1912
#35 0x080ed48d in PyImport_ImportModuleEx (name=0x402903cc 
"scipy.stats",
     globals=0x40259824, locals=0x40259824, 
fromlist=0x81387a0) at Python/import.c:1946
#36 0x080bb9c7 in builtin___import__ (self=0x0, 
args=0x40290374)
     at Python/bltinmodule.c:45
#37 0x0811d436 in PyCFunction_Call (func=0x4024ad6c, 
arg=0x40290374, kw=0x0)
---Type <return> to continue, or q <return> to quit---
     at Objects/methodobject.c:93
#38 0x0805928e in PyObject_Call (func=0x4024ad6c, 
arg=0x40290374, kw=0x0)
     at Objects/abstract.c:1746
#39 0x080c1b99 in PyEval_EvalFrame (f=0x8195724) at 
Python/ceval.c:3419
#40 0x080c7a54 in PyEval_EvalCodeEx (co=0x4027bf20, 
globals=0x40259824,
     locals=0x40259824, args=0x0, argcount=0, kws=0x0, 
kwcount=0, defs=0x0, defcount=0,
     closure=0x0) at Python/ceval.c:2730
#41 0x080c7c85 in PyEval_EvalCode (co=0x4027bf20, 
globals=0x40259824, locals=0x40259824)
     at Python/ceval.c:484
#42 0x080f67e6 in PyRun_InteractiveOneFlags 
(fp=0x40235720, filename=0x8122a01 "<stdin>",
     flags=0xbfffefd4) at Python/pythonrun.c:1264
#43 0x080f6a49 in PyRun_InteractiveLoopFlags 
(fp=0x40235720,
     filename=0x8122a01 "<stdin>", flags=0xbfffefd4) at 
Python/pythonrun.c:694
#44 0x080f6b70 in PyRun_AnyFileExFlags (fp=0x40235720, 
filename=0x8122a01 "<stdin>",
     closeit=0, flags=0xbfffefd4) at 
Python/pythonrun.c:657
#45 0x08055857 in Py_Main (argc=0, argv=0xbffff094) at 
Modules/main.c:484
#46 0x08054f07 in main (argc=1, argv=0xbffff094) at 
Modules/python.c:23

Cheers,


Nils

  
  




More information about the Scipy-dev mailing list