[SciPy-dev] ***[Possible UCE]*** Re: ***[Possible UCE]*** Re: Another segfault
Nils Wagner
nwagner at mecha.uni-stuttgart.de
Fri Mar 3 17:52:52 EST 2006
On Fri, 03 Mar 2006 23:45:12 +0100
"Nils Wagner" <nwagner at mecha.uni-stuttgart.de> wrote:
> On Fri, 03 Mar 2006 15:39:14 -0700
> Travis Oliphant <oliphant at ee.byu.edu> wrote:
>> Nils Wagner wrote:
>>
>>>
>>>Travis,
>>>
>>>On a 32 bit machine I obtain with
>>>
>>>gdb --exec=python
>>>GNU gdb 6.3
>>>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 "i586-suse-linux".
>>>(gdb) r
>>>/usr/local/lib/python2.4/site-packages/scipy/sparse/sparse.py
>>>Starting program: /usr/local/bin/python
>>>/usr/local/lib/python2.4/site-packages/scipy/sparse/sparse.py
>>>
>>>snip
>>>Solve: single precision complex:
>>>Solve: double precision complex:
>>>
>>>
>>
>> I'm not sure what you are doing. Is this just running
>>Pyhthon?
>> Presumably it is picking up some PYTHONSTARTUP file and
>>running it.
>> But, I have no idea what that is on your system.
>>
>> Doing exactly what you do works for me.
>>
>> What is actually being run to cause the segfault?
>>
> python
> /usr/local/lib/python2.4/site-packages/scipy/sparse/sparse.py
>
>> What directory are you runing from?
>>
>> Have you re-built scipy after upgrading numpy?
>
> Yes.
> Numpy version 0.9.6.2194
> Scipy version 0.4.7.1635
>
>
> Nils
>
>
>>
>> -Travis
>>
>> _______________________________________________
>> Scipy-dev mailing list
>> Scipy-dev at scipy.net
>> http://www.scipy.net/mailman/listinfo/scipy-dev
>
>
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev
Here is a backtrace (64 bit machine)
gdb python
r
/usr/lib64/python2.4/site-packages/scipy/sparse/sparse.py
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 10303)]
PyDict_DelItem (op=0x0, key=0x577378) at dictobject.c:579
579 if (!PyDict_Check(op)) {
(gdb) bt
#0 PyDict_DelItem (op=0x0, key=0x577378) at
dictobject.c:579
#1 0x00002aaaae9f7bff in superlu_python_module_free
(ptr=0x7fffffe424d0) at _superlu_utils.c:61
#2 0x00002aaaae9f75b2 in Py_cgssv (self=<value optimized
out>, args=<value optimized out>,
kwdict=<value optimized out>) at _csuperlumodule.c:99
#3 0x00002aaaaac5496a in PyEval_EvalFrame (f=0x53efd0) at
ceval.c:3547
#4 0x00002aaaaac55404 in PyEval_EvalCodeEx
(co=0x2aaaabbfe490, globals=<value optimized out>,
locals=<value optimized out>, args=0x1, argcount=2,
kws=0x506070, kwcount=0, defs=0x2aaaab903568,
defcount=1, closure=0x0) at ceval.c:2730
#5 0x00002aaaaac53aba in PyEval_EvalFrame (f=0x505ed0) at
ceval.c:3640
#6 0x00002aaaaac55404 in PyEval_EvalCodeEx
(co=0x2aaaabbfe6c0, globals=<value optimized out>,
locals=<value optimized out>, args=0x0, argcount=0,
kws=0x0, kwcount=0, defs=0x0, defcount=0,
closure=0x0) at ceval.c:2730
#7 0x00002aaaaac556d2 in PyEval_EvalCode (co=<value
optimized out>, globals=<value optimized out>,
locals=<value optimized out>) at ceval.c:484
#8 0x00002aaaaac70719 in run_node (n=<value optimized
out>, filename=<value optimized out>,
globals=0x503db0, locals=0x503db0, flags=<value
optimized out>) at pythonrun.c:1265
#9 0x00002aaaaac71843 in PyRun_SimpleFileExFlags
(fp=<value optimized out>,
filename=0x7fffffe441c7
"/usr/lib64/python2.4/site-packages/scipy/sparse/sparse.py",
closeit=1,
flags=0x7fffffe42b80) at pythonrun.c:860
#10 0x00002aaaaac77b25 in Py_Main (argc=<value optimized
out>, argv=0x7fffffe42c28) at main.c:484
#11 0x00002aaaab603ced in __libc_start_main () from
/lib64/libc.so.6
#12 0x00000000004006ea in _start () at start.S:113
Is this output useful ?
Nils
More information about the SciPy-Dev
mailing list