[SciPy-dev] Segmentation fault in sparse_test.py

Nils Wagner nwagner at mecha.uni-stuttgart.de
Thu Oct 20 03:26:23 CDT 2005


gdb) run
Starting program: /usr/local/bin/python
[Thread debugging using libthread_db enabled]
[New Thread 1076102528 (LWP 21242)]
Python 2.4 (#2, May 12 2005, 14:45:33)
[GCC 3.3.3 (SuSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sparse_test.py
Importing io to scipy
Importing special to scipy
Importing sparse 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 21242)]
0x40350f4a in CDOUBLE_setitem (op=Variable "op" is not available.
) at arraytypes.inc:620
620     arraytypes.inc: No such file or directory.
        in arraytypes.inc
(gdb) bt
#0  0x40350f4a in CDOUBLE_setitem (op=Variable "op" is not available.
) at arraytypes.inc:620
#1  0x4032bcf1 in array_ass_item (self=Variable "self" is not available.
) at arrayobject.c:1275
#2  0x08058ad1 in PySequence_SetItem (s=0x40c85920, i=57, o=0x4027f2c0)
    at Objects/abstract.c:1281
#3  0x4032b4cf in array_fromobject (op=Variable "op" is not available.
) at arrayobject.c:4697
#4  0x403403a7 in _array_fromobject (ignored=0x0, args=0x402927cc, kws=0x0)
    at arrayobject.c:5546
#5  0x0811d436 in PyCFunction_Call (func=0x40292f0c, arg=0x402927cc, kw=0x0)
    at Objects/methodobject.c:93
#6  0x080c66d9 in PyEval_EvalFrame (f=0x816c1a4) at Python/ceval.c:3547
#7  0x080c7312 in PyEval_EvalFrame (f=0x817c21c) at Python/ceval.c:3629
#8  0x080c7a54 in PyEval_EvalCodeEx (co=0x405e2720, globals=0x405d2e84,
    locals=0x0, args=0x8193a3c, argcount=1, kws=0x8193a40, kwcount=0,
    defs=0x405e3848, defcount=5, closure=0x0) at Python/ceval.c:2730
#9  0x080c52a8 in PyEval_EvalFrame (f=0x81938ec) at Python/ceval.c:3639
#10 0x080c7a54 in PyEval_EvalCodeEx (co=0x4028aee0, globals=0x4029313c,
    locals=0x4029313c, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0,
    defcount=0, closure=0x0) at Python/ceval.c:2730
#11 0x080c7c85 in PyEval_EvalCode (co=0x4028aee0, globals=0x4029313c,
    locals=0x4029313c) at Python/ceval.c:484
#12 0x080eab75 in PyImport_ExecCodeModuleEx (name=0xbfffe110 "sparse_test",
    co=0x4028aee0, pathname=0xbfffdc80 "sparse_test.py") at
Python/import.c:619
#13 0x080eaf33 in load_source_module (name=0xbfffe110 "sparse_test",
    pathname=0xbfffdc80 "sparse_test.py", fp=0x815f8d0) at
Python/import.c:893
#14 0x080ebfa9 in load_module (name=0xbfffe110 "sparse_test",
fp=Variable "fp" is not available.
)
    at Python/import.c:1656
#15 0x080eca51 in import_submodule (mod=0x81387a0,
    subname=0xbfffe110 "sparse_test", fullname=0xbfffe110 "sparse_test")
    at Python/import.c:2250
#16 0x080ecc99 in load_next (mod=0x81387a0, altmod=0x81387a0,
p_name=Variable "p_name" is not available.
)
    at Python/import.c:2070
#17 0x080ed0d7 in import_module_ex (name=Variable "name" is not available.
) at Python/import.c:1905
#18 0x080ed48d in PyImport_ImportModuleEx (name=0x402915d4 "sparse_test.py",
    globals=0x40259824, locals=0x40259824, fromlist=0x81387a0)
    at Python/import.c:1946
#19 0x080bb9c7 in builtin___import__ (self=0x0, args=0x40291644)
    at Python/bltinmodule.c:45
#20 0x0811d436 in PyCFunction_Call (func=0x4024ad6c, arg=0x40291644, kw=0x0)
    at Objects/methodobject.c:93
#21 0x0805928e in PyObject_Call (func=0x4024ad6c, arg=0x40291644, kw=0x0)
    at Objects/abstract.c:1746
#22 0x080c1b99 in PyEval_EvalFrame (f=0x8196bfc) at Python/ceval.c:3419
#23 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
#24 0x080c7c85 in PyEval_EvalCode (co=0x4027bf20, globals=0x40259824,
    locals=0x40259824) at Python/ceval.c:484
#25 0x080f67e6 in PyRun_InteractiveOneFlags (fp=0x40235720,
    filename=0x8122a01 "<stdin>", flags=0xbfffe924) at
Python/pythonrun.c:1264
#26 0x080f6a49 in PyRun_InteractiveLoopFlags (fp=0x40235720,
---Type <return> to continue, or q <return> to quit---
    filename=0x8122a01 "<stdin>", flags=0xbfffe924) at
Python/pythonrun.c:694
#27 0x080f6b70 in PyRun_AnyFileExFlags (fp=0x40235720,
    filename=0x8122a01 "<stdin>", closeit=0, flags=0xbfffe924)
    at Python/pythonrun.c:657
#28 0x08055857 in Py_Main (argc=0, argv=0xbfffe9e4) at Modules/main.c:484
#29 0x08054f07 in main (argc=1, argv=0xbfffe9e4) at Modules/python.c:23

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sparse_test.py
Type: text/x-python
Size: 295 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-dev/attachments/20051020/95ea03fc/attachment.py 


More information about the Scipy-dev mailing list