Segmenation fault in flapack.zgesdd

Hi all, The enclosed test program stops with a segmentation fault. (gdb) run test_zgesdd.py Starting program: /usr/local/bin/python test_zgesdd.py [Thread debugging using libthread_db enabled] [New Thread 1076102528 (LWP 11378)] numerix Numeric 24.0b2 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1076102528 (LWP 11378)] 0x4018d208 in _int_free () from /lib/tls/libc.so.6 (gdb) bt #0 0x4018d208 in _int_free () from /lib/tls/libc.so.6 #1 0x4018d5fb in free () from /lib/tls/libc.so.6 #2 0x4030e17b in array_dealloc (self=Variable "self" is not available. ) at Src/arrayobject.c:630 #3 0x407e3b3a in f2py_rout_flapack_zgesdd (capi_self=0x40294638, capi_args=0x403fd1ac, capi_keywds=0x0, f2py_func=0x408a71f0 <zgesdd_>) at build/src/build/src/scipy/linalg/flapackmodule.c:5753 #4 0x407ee172 in fortran_call (fp=Variable "fp" is not available. ) at build/src/fortranobject.c:277 #5 0x0805928e in PyObject_Call (func=0x40294638, arg=0x403fd1ac, kw=0x0) at Objects/abstract.c:1746 #6 0x080c408d in PyEval_EvalFrame (f=0x8196d64) at Python/ceval.c:3755 #7 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 #8 0x080c7c85 in PyEval_EvalCode (co=0x4027bf20, globals=0x40259824, locals=0x40259824) at Python/ceval.c:484 #9 0x080f63b8 in PyRun_SimpleFileExFlags (fp=0x815e008, filename=0xbfffec0f "test_zgesdd.py", closeit=1, flags=0xbfffe904) at Python/pythonrun.c:1264 #10 0x08055857 in Py_Main (argc=1, argv=0xbfffe9c4) at Modules/main.c:484 #11 0x08054f07 in main (argc=2, argv=0xbfffe9c4) at Modules/python.c:23 (gdb) Any pointer would be appreciated. Nils

Nils Wagner wrote:
Hi all,
The enclosed test program stops with a segmentation fault.
Works fine for me. OS X 10.4 Python 2.4.1 Scipy CVS Numeric CVS ATLAS 3.7.8 -- Robert Kern rkern@ucsd.edu "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter

Robert Kern wrote:
Nils Wagner wrote:
Hi all,
The enclosed test program stops with a segmentation fault.
Works fine for me.
OS X 10.4 Python 2.4.1 Scipy CVS Numeric CVS ATLAS 3.7.8
And how about f2py -v ? numerix Numeric 24.0b2 2.46.243_1985
scipy.__version__ '0.3.3_305.4604' Python 2.4 (#2, May 12 2005, 14:45:33) [GCC 3.3.3 (SuSE Linux)] on linux2

Nils Wagner wrote:
Robert Kern wrote:
Nils Wagner wrote:
Hi all,
The enclosed test program stops with a segmentation fault.
Works fine for me.
OS X 10.4 Python 2.4.1 Scipy CVS Numeric CVS ATLAS 3.7.8
And how about f2py -v ?
numerix Numeric 24.0b2 2.46.243_1985
The last real release, I believe. Not CVS. 2.45.241_1926 -- Robert Kern rkern@ucsd.edu "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter

Strange behavior for me (Debian Linux (sid), Python 2.3.5, SciPy 0.3.2, Numeric 23.8, Atlas 3.6.0): Result of first call: ************************************************************************ :~/temp> python test_zgesdd.py Exception in thread Thread-1 (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib/python2.3/threading.py", line 442, in __bootstrap File "/usr/lib/python2.3/threading.py", line 422, in run File "/usr/lib/python2.3/site-packages/rpy.py", line 119, in r_eventloop exceptions.AttributeError: 'NoneType' object has no attribute 'release' Unhandled exception in thread started by Error in sys.excepthook: Original exception was: ************************************************************************ Second call: ************************************************************************ ~/temp> python test_zgesdd.py Unhandled exception in thread started by Error in sys.excepthook: Original exception was: ************************************************************************ I get the second message several times, however not reproducible. Sometimes the script finished without any error message. The same for python2.4.1. I saw this "threading problem" several times on my box... This seems to be rpy related... Manuel Robert Kern schrieb:
Nils Wagner wrote:
Hi all,
The enclosed test program stops with a segmentation fault.
Works fine for me.
OS X 10.4 Python 2.4.1 Scipy CVS Numeric CVS ATLAS 3.7.8
-- ------------------------------------- Manuel Metz Sternwarte der Universitaet Bonn Auf dem Huegel 71 (room 3.06) D - 53121 Bonn E-Mail: mmetz@astro.uni-bonn.de Phone: (+49) 228 / 73-3660 Fax: (+49) 228 / 73-3672 -------------------------------------
participants (3)
-
Manuel Metz
-
Nils Wagner
-
Robert Kern