[MATRIX-SIG] Bus error in LapackError

Martin Holz holz@zib.de
13 Jan 1998 18:19:34 +0100


After installing NumPy-1.0b3 on SunOS 5.5.1, python1.5 always
crashed, when I imported lapack_lite.     

Gdb says:
--------------------------------
(gdb) c
Continuing.
>>> import lapack_lite

Program received signal SIGBUS, Bus error.
0xef3e94dc in LapackError ()
--------------------------------

I am under the impression, that  the C compiler (SC4.0) does not initialize 
static variables to zero. I guess it is a compiler/linker bug, but changing
     static PyObject *ErrorObject;
	       to
     static PyObject *ErrorObject = NULL;
makes NumPy running fine. 



Martin

_______________
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________