[Numpy-tickets] [NumPy] #273: crash in broadcast code (segfault)
NumPy
numpy-tickets at scipy.net
Wed Sep 6 10:03:12 CDT 2006
#273: crash in broadcast code (segfault)
------------------------------+---------------------------------------------
Reporter: benjamin.thyreau | Owner: somebody
Type: defect | Status: new
Priority: high | Milestone:
Component: numpy.core | Version: devel
Severity: major | Resolution:
Keywords: |
------------------------------+---------------------------------------------
Comment (by nils):
{{{
Starting program: /usr/bin/python crash.py
[Thread debugging using libthread_db enabled]
[New Thread 46912509653888 (LWP 25717)]
1.0rc1.dev3124
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912509653888 (LWP 25717)]
0x00002aaaaba169f7 in PyArray_BroadcastToShape (obj=0x5076a0,
dims=0x660220, nd=2) at arrayobject.c:8694
8694 it->factors[nd-i-1] = it->factors[nd-i] *
\
(gdb) bt
#0 0x00002aaaaba169f7 in PyArray_BroadcastToShape (obj=0x5076a0,
dims=0x660220, nd=2) at arrayobject.c:8694
#1 0x00002aaaaba2ed35 in array_ass_sub (self=0x643550, index=<value
optimized out>, op=0x509568) at arrayobject.c:2417
#2 0x00002aaaaac524a9 in PyEval_EvalFrame (f=0x52fa60) at ceval.c:1474
#3 0x00002aaaaac55404 in PyEval_EvalCodeEx (co=0x2aaaaab10e30,
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
#4 0x00002aaaaac556d2 in PyEval_EvalCode (co=<value optimized out>,
globals=<value optimized out>, locals=<value optimized out>)
at ceval.c:484
#5 0x00002aaaaac70719 in run_node (n=<value optimized out>,
filename=<value optimized out>, globals=0x502b00, locals=0x502b00,
flags=<value optimized out>) at pythonrun.c:1265
#6 0x00002aaaaac71843 in PyRun_SimpleFileExFlags (fp=<value optimized
out>, filename=0x7fffffe39aca "crash.py", closeit=1,
flags=0x7fffffe38580) at pythonrun.c:860
#7 0x00002aaaaac77b25 in Py_Main (argc=<value optimized out>,
argv=0x7fffffe38698) at main.c:484
}}}
--
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/273>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list