[Scipy-tickets] [SciPy] #1609: Segmentation fault from axpy

SciPy Trac scipy-tickets@scipy....
Fri Feb 24 13:52:39 CST 2012


#1609: Segmentation fault from axpy
--------------------------+-------------------------------------------------
 Reporter:  jtbates       |       Owner:  wnbell     
     Type:  defect        |      Status:  new        
 Priority:  normal        |   Milestone:  Unscheduled
Component:  scipy.sparse  |     Version:  devel      
 Keywords:                |  
--------------------------+-------------------------------------------------
 I'm running a script which uses scikit-learn and I get a segmentation
 fault.  The beginning of the GDB output is copied below; full output
 attached.  I also had a segfault in 0.10.

 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_INVALID_ADDRESS at address: 0x000000010d134330
 0x0000000101aa0006 in axpy<int, double> [inlined] () at
 /Users/jtbates/.local/src/scipy/scipy/sparse/sparsetools/dense.h:14
 14              y[i] += a * x[i];
 (gdb) bt
 #0  0x0000000101aa0006 in axpy<int, double> [inlined] () at
 /Users/jtbates/.local/src/scipy/scipy/sparse/sparsetools/dense.h:14
 #1  0x0000000101aa0006 in csr_matvecs<int, double> [inlined] () at
 /Users/jtbates/.local/src/scipy/scipy/sparse/sparsetools/csr.h:1061

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1609>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list