#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):

 Unfortunately I do get exactly the same with the new binary distribution
 (with ATLAS 3.8.4, built on redhawk):
 {{{
 ----------------------------------------------------------------------
 | Sage Version 4.7.1.rc2, Release Date: 2011-08-10                   |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 **********************************************************************
 *                                                                    *
 * Warning: this is a prerelease version, and it may be unstable.     *
 *                                                                    *
 **********************************************************************
 sage: import numpy as np
 sage: ms = np.load("/home/leif/Sage/tmp/matrices.npy")
 sage: time np.dot(ms[0],ms[1])
 
/tmp/sage-4.7.1.rc2-fat-x86_64-Linux/local/lib/libcsage.so(print_backtrace+0x31)[0x7f42264ad817]
 
/tmp/sage-4.7.1.rc2-fat-x86_64-Linux/local/lib/libcsage.so(sigdie+0x14)[0x7f42264ad849]
 
/tmp/sage-4.7.1.rc2-fat-x86_64-Linux/local/lib/libcsage.so(sage_signal_handler+0x20e)[0x7f42264ad474]
 /lib/libpthread.so.0(+0xf8f0)[0x7f422b6538f0]
 
/tmp/sage-4.7.1.rc2-fat-x86_64-Linux/local/lib/libatlas.so(+0x66bcd)[0x7f42209e2bcd]

 ------------------------------------------------------------------------
 Unhandled SIGSEGV: A segmentation fault occurred in Sage.
 This probably occurred because a *compiled* component of Sage has a bug
 in it and is not properly wrapped with sig_on(), sig_off(). You might
 want to run Sage under gdb with 'sage -gdb' to debug this.
 Sage will now terminate.
 ------------------------------------------------------------------------
 /tmp/sage-4.7.1.rc2-fat-x86_64-Linux/local/bin/sage-sage: line 301: 26031
 Segmentation fault      sage-ipython "$@" -i
 }}}
 (Ubuntu 10.04.3 x86_64, Core2 / Penryn)
 {{{
 processor       : 0
 vendor_id       : GenuineIntel
 cpu family      : 6
 model           : 23
 model name      : Intel(R) Core(TM)2 Quad CPU    Q9650  @ 3.00GHz
 stepping        : 10
 cpu MHz         : 3003.000
 cache size      : 6144 KB
 physical id     : 0
 siblings        : 4
 core id         : 0
 cpu cores       : 4
 apicid          : 0
 initial apicid  : 0
 fpu             : yes
 fpu_exception   : yes
 cpuid level     : 13
 wp              : yes
 flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
 cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
 lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64
 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm
 tpr_shadow vnmi flexpriority
 bogomips        : 7200.05
 clflush size    : 64
 cache_alignment : 64
 address sizes   : 36 bits physical, 48 bits virtual
 power management:

 ...
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11674#comment:24>
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