#8788: segfault in Sage-4.4 built using GCC-4.5.0
-----------------------+----------------------------------------------------
   Reporter:  was      |       Owner:  GeorgSWeber
       Type:  defect   |      Status:  new        
   Priority:  blocker  |   Milestone:  sage-4.4.1 
  Component:  build    |    Keywords:             
     Author:           |    Upstream:  N/A        
   Reviewer:           |      Merged:             
Work_issues:           |  
-----------------------+----------------------------------------------------
 If we build Sage-4.4 (with several tickets/patches/elbow grease) with
 GCC-4.5.0, then many things cause it to segfault at exit.  The simplest I
 found so far is this:

 {{{
 sage: Mat(GF(9,'a'),3,sparse=True).random_element()
 sage: from sage.matrix.matrix_space import test_trivial_matrices_inverse
 as tinv
 sage: tinv(ZZ, sparse=False)
 sage: quit
 Exiting Sage (CPU time 0m0.11s, Wall time 0m0.15s).
 *** glibc detected *** python: double free or corruption (fasttop):
 0x000000000233a930 ***
 ======= Backtrace: =========
 /lib64/libc.so.6[0x39a6c74a76]
 /lib64/libc.so.6(exit+0xe2)[0x39a6c35b82]
 python[0x4c3896]
 python[0x4c30f5]
 python(PyRun_SimpleFileExFlags+0x159)[0x4c5e69]
 python(Py_Main+0xa5e)[0x413cde]
 /lib64/libc.so.6(__libc_start_main+0xfd)[0x39a6c1eb1d]
 python[0x412f79]
 ======= Memory map: ========
 00400000-00566000 r-xp 00000000 00:13 12537003
 /home/wstein/screen/lena/sage-4.4/local/bin/python
 00765000-0079e000 rw-p 00165000 00:13 12537003
 /home/wstein/screen/lena/sage-4.4/local/bin/python
 0079e000-007ad000 rw-p 00000000 00:00 0
 00bf1000-04d16000 rw-p 00000000 00:00 0
 [heap]
 316e600000-316e61c000 r-xp 00000000 fd:00 8683576
 /lib64/libselinux.so.1
 316e61c000-316e81b000 ---p 0001c000 fd:00 8683576
 /lib64/libselinux.so.1
 316e81b000-316e81c000 r--p 0001b000 fd:00 8683576
 /lib64/libselinux.so.1
 316e81c000-316e81d000 rw-p 0001c000 fd:00 8683576
 /lib64/libselinux.so.1
 316e81d000-316e81e000 rw-p 00000000 00:00 0
 3171200000-3171203000 r-xp 00000000 fd:00 8683697
 /lib64/libcom_err.so.2.1
 3171203000-3171402000 ---p 00003000 fd:00 8683697
 /lib64/libcom_err.so.2.1
 3171402000-3171403000 rw-p 00002000 fd:00 8683697
 /lib64/libcom_err.so.2.1
 3171600000-31716b3000 r-xp 00000000 fd:00 8683698
 /lib64/libkrb5.so.3.3
 31716b3000-31718b3000 ---p 000b3000 fd:00 8683698
 /lib64/libkrb5.so.3.3
 31718b3000-31718bd000 rw-p 000b3000 fd:00 8683698
 /lib64/libkrb5.so.3.3
 3171a00000-3171a2d000 r-xp 00000000 fd:00 8683700
 /lib64/libgssapi_krb5.so.2.2
 3171a2d000-3171c2d000 ---p 0002d000 fd:00 8683700
 /lib64/libgssapi_krb5.so.2.2
 3171c2d000-3171c2f000 rw-p 0002d000 fd:00 8683700
 /lib64/libgssapi_krb5.so.2.2
 3171e00000-3171e2a000 r-xp 00000000 fd:00 8683677
 /lib64/libk5crypto.so.3.1
 3171e2a000-317202a000 ---p 0002a000 fd:00 8683677
 /lib64/libk5crypto.so.3.1
 317202a000-317202c000 rw-p 0002a000 fd:00 8683677
 /lib64/libk5crypto.so.3.1
 3172200000-3172208000 r-xp 00000000 fd:00 8683667
 /lib64/libkrb5support.so.0.1
 3172208000-3172408000 ---p 00008000 fd:00 8683667
 /lib64/libkrb5support.so.0.1
 3172408000-3172409000 rw-p 00008000 fd:00 8683667
 /lib64/libkrb5support.so.0.1
 3172600000-3172652000 r-xp 00000000 fd:00 52070079
 /usr/lib64/libssl.so.1.0.0
 3172652000-3172851000 ---p 00052000 fd:00 52070079
 /usr/lib64/libssl.so.1.0.0
 3172851000-3172859000 rw-p 00051000 fd:00 52070079
 /usr/lib64/libssl.so.1.0.0
 39a6800000-39a681e000 r-xp 00000000 fd:00 8683525
 /lib64/ld-2.11.1.so
 39a6a1d000-39a6a1e000 r--p 0001d000 fd:00 8683525
 /lib64/ld-2.11.1.so
 39a6a1e000-39a6a1f000 rw-p 0001e000 fd:00 8683525
 /lib64/ld-2.11.1.so
 ...
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8788>
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