#11674: np.dot of two numeric matrices segfaults sage.
------------------------------+---------------------------------------------
   Reporter:  mister.wardrop  |          Owner:  jason, jkantor             
       Type:  defect          |         Status:  new                        
   Priority:  blocker         |      Milestone:  sage-4.7.1                 
  Component:  numerical       |       Keywords:  ATLAS segfault matrix numpy
Work_issues:                  |       Upstream:  N/A                        
   Reviewer:                  |         Author:                             
     Merged:                  |   Dependencies:                             
------------------------------+---------------------------------------------

Comment(by leif):

 With `sage -gdb` I get:
 {{{
 ...
 Reading symbols from
 /tmp/sage-4.7.1.rc2-fat-x86_64-Linux/local/bin/python...done.
 [Thread debugging using libthread_db enabled]
 Python 2.6.4 (r264, Aug 11 2011, 10:32:43)
 [GCC 4.4.3] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 Traceback (most recent call last):
   File "/usr/lib/gcc/x86_64-pc-linux-
 gnu/4.5.1/libstdc++.so.6.0.14-gdb.py", line 59, in <module>
     from libstdcxx.v6.printers import register_libstdcxx_printers
 ImportError: No module named libstdcxx.v6.printers
 sage: import numpy as np
 sage: ms = np.load("/home/leif/Sage/tmp/matrices.npy")
 sage: time np.dot(ms[0],ms[1])
 [New Thread 0x7fffc6863700 (LWP 26321)]

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0x7fffc6863700 (LWP 26321)]
 0x00007fffecae3bcd in ATL_dJIK40x40x40TN40x40x0_a1_b0 ()
    from /tmp/sage-4.7.1.rc2-fat-x86_64-Linux/local/lib/libatlas.so
 (gdb) bt
 #0  0x00007fffecae3bcd in ATL_dJIK40x40x40TN40x40x0_a1_b0 ()
    from /tmp/sage-4.7.1.rc2-fat-x86_64-Linux/local/lib/libatlas.so
 #1  0x00007fffecb4ef87 in ATL_dmmK ()
    from /tmp/sage-4.7.1.rc2-fat-x86_64-Linux/local/lib/libatlas.so
 #2  0x00007fffecb4fff5 in ATL_dmmJITcp ()
    from /tmp/sage-4.7.1.rc2-fat-x86_64-Linux/local/lib/libatlas.so
 #3  0x00007fffecb442c4 in ATL_dgemm ()
    from /tmp/sage-4.7.1.rc2-fat-x86_64-Linux/local/lib/libatlas.so
 #4  0x00007fffece2c87d in ATL_dptgemm0 ()
    from /tmp/sage-4.7.1.rc2-fat-x86_64-Linux/local/lib/libatlas.so
 #5  0x00007ffff780c9ca in start_thread (arg=<value optimized out>) at
 pthread_create.c:300
 #6  0x00007ffff6edf70d in clone () at
 ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 #7  0x0000000000000000 in ?? ()
 (gdb)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11674#comment:25>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to