[SciPy-dev] Scipy 0.4.8 segfaults on 64bit Linux (Ubuntu).

Rudolph van der Merwe rudolphv at gmail.com
Mon Mar 20 03:55:20 CST 2006


Arnd,

Please see attached a full text dump of the GDB backtrace you
requested. The last part of the file is shown below:

affine_transform 1 ... FAIL
affine transform 2 ... FAIL
affine transform 3 ... FAIL
affine transform 4 ... FAIL
affine transform 5
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182902372528 (LWP 19427)]
0x00000000004284b1 in PyList_AsTuple ()
(gdb) bt
#0  0x00000000004284b1 in PyList_AsTuple ()
#1  0x00000000004665d0 in PyEval_CallObjectWithKeywords ()
#2  0x0000000000464ad8 in PyEval_EvalFrame ()
#3  0x00000000004669a4 in PyEval_CallObjectWithKeywords ()
#4  0x00000000004665f2 in PyEval_CallObjectWithKeywords ()
#5  0x0000000000464ad8 in PyEval_EvalFrame ()
#6  0x0000000000465618 in PyEval_EvalCodeEx ()
#7  0x00000000004ba73a in PyStaticMethod_New ()
#8  0x0000000000417020 in PyObject_Call ()
#9  0x0000000000466cf8 in PyEval_CallObjectWithKeywords ()
#10 0x0000000000464ec2 in PyEval_EvalFrame ()
#11 0x0000000000465618 in PyEval_EvalCodeEx ()
#12 0x00000000004ba73a in PyStaticMethod_New ()
#13 0x0000000000417020 in PyObject_Call ()
#14 0x000000000041d52e in PyMethod_Fini ()
#15 0x0000000000417020 in PyObject_Call ()
#16 0x0000000000466a84 in PyEval_CallObjectWithKeywords ()
#17 0x0000000000466575 in PyEval_CallObjectWithKeywords ()
#18 0x0000000000464ad8 in PyEval_EvalFrame ()
#19 0x0000000000465618 in PyEval_EvalCodeEx ()
#20 0x00000000004ba73a in PyStaticMethod_New ()
#21 0x0000000000417020 in PyObject_Call ()
#22 0x000000000041d52e in PyMethod_Fini ()
#23 0x0000000000417020 in PyObject_Call ()
#24 0x000000000044950f in _PyObject_SlotCompare ()
#25 0x0000000000417020 in PyObject_Call ()
#26 0x0000000000466a84 in PyEval_CallObjectWithKeywords ()
#27 0x0000000000466575 in PyEval_CallObjectWithKeywords ()
#28 0x0000000000464ad8 in PyEval_EvalFrame ()
#29 0x0000000000465618 in PyEval_EvalCodeEx ()
#30 0x00000000004ba73a in PyStaticMethod_New ()
#31 0x0000000000417020 in PyObject_Call ()
#32 0x0000000000466cf8 in PyEval_CallObjectWithKeywords ()
#33 0x0000000000464ec2 in PyEval_EvalFrame ()
#34 0x0000000000465618 in PyEval_EvalCodeEx ()
#35 0x00000000004ba73a in PyStaticMethod_New ()
#36 0x0000000000417020 in PyObject_Call ()
#37 0x000000000041d52e in PyMethod_Fini ()
#38 0x0000000000417020 in PyObject_Call ()
#39 0x000000000044950f in _PyObject_SlotCompare ()
#40 0x0000000000417020 in PyObject_Call ()
#41 0x0000000000466a84 in PyEval_CallObjectWithKeywords ()
#42 0x0000000000466575 in PyEval_CallObjectWithKeywords ()
#43 0x0000000000464ad8 in PyEval_EvalFrame ()
#44 0x00000000004669a4 in PyEval_CallObjectWithKeywords ()
#45 0x00000000004665f2 in PyEval_CallObjectWithKeywords ()
#46 0x0000000000464ad8 in PyEval_EvalFrame ()
#47 0x0000000000465618 in PyEval_EvalCodeEx ()
#48 0x0000000000466921 in PyEval_CallObjectWithKeywords ()
#49 0x00000000004665f2 in PyEval_CallObjectWithKeywords ()
#50 0x0000000000464ad8 in PyEval_EvalFrame ()
#51 0x0000000000465618 in PyEval_EvalCodeEx ()
#52 0x0000000000466921 in PyEval_CallObjectWithKeywords ()
#53 0x00000000004665f2 in PyEval_CallObjectWithKeywords ()
#54 0x0000000000464ad8 in PyEval_EvalFrame ()
#55 0x0000000000465618 in PyEval_EvalCodeEx ()
#56 0x00000000004680e2 in PyEval_EvalCode ()
#57 0x0000000000494c39 in PyRun_FileExFlags ()
#58 0x000000000049426b in PyRun_InteractiveOneFlags ()
#59 0x000000000049405e in PyRun_InteractiveLoopFlags ()
#60 0x0000000000495563 in PyRun_AnyFileExFlags ()
#61 0x00000000004104cd in Py_Main ()
#62 0x0000002a95b293c1 in __libc_start_main () from /lib/libc.so.6
#63 0x000000000040fe6a in _start ()
#64 0x0000007fbffffac8 in ?? ()


Rudolph


On 3/20/06, Arnd Baecker <arnd.baecker at web.de> wrote:
> On Mon, 20 Mar 2006, Ed Schofield wrote:
>
> > On 20/03/2006, at 8:19 AM, Rudolph van der Merwe wrote:
> >
> > > scipy.test(10,10) definitely spits out A LOT MORE info. Here is the
> > > relevant part:
> > >
> > > check_y_stride (scipy.linalg.tests.test_fblas.test_zswap) ... ok
> > > affine_transform 1 ... FAIL
> > > affine transform 2 ... FAIL
> > > affine transform 3 ... FAIL
> > > affine transform 4 ... FAIL
> > > affine transform 5Segmentation fault
> >
> > This is occurring in the tests of the new ndimage package.  Try
> > deleting the file test_ndimage.py in /usr/lib/python2.4/site-packages/
> > scipy/ndimage/tests/ and re-running the tests.
> >
> > Meanwhile we need some developer with a 64-bit machine to track this
> > down :)
>
> I just tried it out, but don't see this segfault.
>
> Rudolph, could you maybe do the following:
>
> ~> which python
>
> ~> gdb the_path_to_python_as_given_by_the_previous_command
> [...]
> (gdb) run
> [...]
> >>> import scipy
> >>> scipy.test(1, 10)
>
> Then the segfault should bring you back to the debugger.
> Then type `bt` for a backtrace which sometimes
> gives some more info and post the result here....
>
> Best, Arnd
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev
>


--
Rudolph van der Merwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump.zip
Type: application/zip
Size: 5612 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-dev/attachments/20060320/9152e75a/attachment.zip 


More information about the Scipy-dev mailing list