[NumPy-Tickets] [NumPy] #1983: segmentation fault with dot product of sparse matrices

NumPy Trac numpy-tickets@scipy....
Sat Nov 19 02:53:42 CST 2011


#1983: segmentation fault with dot product of sparse matrices
------------------------+---------------------------------------------------
 Reporter:  fp4code     |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:  2.0.0   
Component:  numpy.core  |     Version:  devel   
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by nils):

 [[-1.  0.]
  [ 0. -1.]]
 [[-1.  0.]
  [ 0. -1.]]
   (0, 0)        -1.0
   (1, 1)        -1.0

 Program received signal SIGSEGV, Segmentation fault.
 PyArray_MatrixProduct2 (op1=0xce1390, op2=0xce1390, out=0x0)
     at numpy/core/src/multiarray/multiarraymodule.c:955
 955         Py_INCREF(typec);
 (gdb) bt
 #0  PyArray_MatrixProduct2 (op1=0xce1390, op2=0xce1390, out=0x0)
     at numpy/core/src/multiarray/multiarraymodule.c:955
 #1  0x00007ffff5f6dd79 in dotblas_matrixproduct (
     __NPY_UNUSED_TAGGEDdummy=<value optimized out>,
     args=<value optimized out>, kwargs=<value optimized out>)
     at numpy/core/blasdot/_dotblas.c:254
 #2  0x00007ffff7b2166c in PyEval_EvalFrameEx ()
    from /usr/lib64/libpython2.6.so.1.0
 #3  0x00007ffff7b26441 in PyEval_EvalCodeEx ()
    from /usr/lib64/libpython2.6.so.1.0
 #4  0x00007ffff7b1fa32 in PyEval_EvalCode ()
    from /usr/lib64/libpython2.6.so.1.0
 #5  0x00007ffff7b3a7a1 in ?? () from /usr/lib64/libpython2.6.so.1.0
 #6  0x00007ffff7b3aba4 in PyRun_FileExFlags ()
    from /usr/lib64/libpython2.6.so.1.0
 #7  0x00007ffff7b3b299 in PyRun_SimpleFileExFlags ()
    from /usr/lib64/libpython2.6.so.1.0
 #8  0x00007ffff7b42638 in Py_Main () from /usr/lib64/libpython2.6.so.1.0
 #9  0x00007ffff6e8eb7d in __libc_start_main () from /lib64/libc.so.6
 #10 0x00000000004006e9 in _start ()

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1983#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list