[PYTHON MATRIX-SIG] Bug

Carlos Fonseca fonseca@gaivota.demon.co.uk
Thu, 24 Oct 1996 19:53:18 +0100 (BST)


On Wed, 23 Oct 1996, Doug Heisterkamp wrote:

> I get a core dump on the following:
> 
> >>> from Numeric import *
> >>> a = array(3)
> >>> a[:,NewAxis]
> Segmentation fault (core dumped)
> 
> Does that happen to anyone else?
> 
> Doug Heisterkamp
> 

Yes, it does here (Debian Linux, kernel 2.0.23, libc-5.2.18, gcc 2.7.2,
NumPy modules dynamically linked). What's your setup?

The backtrace produced by gdb is:

#0  0x4012c489 in __ypbindlist ()
#1  0x40137344 in __ypbindlist ()
#2  0x4012c5d2 in __ypbindlist ()
#3  0x40131d2f in __ypbindlist ()
#4  0x800f84c in apply_subscript ()
#5  0x800c8c8 in eval_code2 ()
#6  0x800be52 in PyEval_EvalCode ()
#7  0x801af0b in run_node ()
#8  0x801a8a2 in PyRun_InteractiveOne ()
#9  0x801a747 in PyRun_InteractiveLoop ()
#10 0x801a6a7 in PyRun_AnyFile ()
#11 0x8006163 in main ()
#12 0x8005d04 in ___crt_dummy__ ()
#13 0x7273752f in __ypbindlist ()
Cannot access memory at address 0x32680261.

Hope the above is of any use...

Carlos



=================
MATRIX-SIG  - SIG on Matrix Math for Python

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