#13164: Givaro 3.7.0 bus error on SPARC Solaris
----------------------+-----------------------------------------------------
   Reporter:  vbraun  |             Owner:  cpernet                             
          
       Type:  defect  |            Status:  new                                 
          
   Priority:  minor   |         Milestone:  sage-5.2                            
          
  Component:  givaro  |          Keywords:  SPARC givaro bus error              
          
Work issues:          |   Report Upstream:  Reported upstream. Developers 
acknowledge bug.
  Reviewers:          |           Authors:                                      
          
  Merged in:          |      Dependencies:                                      
          
   Stopgaps:          |  
----------------------+-----------------------------------------------------
 The `test-crt` in the Givaro test suite fails on SPARC with the following
 backtrace:
 {{{
 -bash-3.00$ /home/vbraun/opt/mark/gdb-7.4.1/gdb/gdb test-crt
 GNU gdb (GDB) 7.4.1
 Copyright (C) 2012 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "sparc-sun-solaris2.10".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>...
 Reading symbols from
 /home/vbraun/opt/mark/sage-5.1.beta3/spkg/build/givaro-3.7.0/src/tests
 /test-crt...done.
 (gdb) run
 Starting program:
 /home/vbraun/opt/mark/sage-5.1.beta3/spkg/build/givaro-3.7.0/src/tests
 /test-crt
 [Thread debugging using libthread_db enabled]
 [New Thread 1 (LWP 1)]

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 1 (LWP 1)]
 0x00029030 in Givaro::GFqDom<long>::GFqDom (this=0x7eaec, F=...)
    at
 /home/vbraun/opt/mark/sage-5.1.beta3/local//include/givaro/givgfq.h:100
 100                     _dcharacteristic = F._dcharacteristic;
 (gdb) bt
 #0  0x00029030 in Givaro::GFqDom<long>::GFqDom (this=0x7eaec, F=...)
    at
 /home/vbraun/opt/mark/sage-5.1.beta3/local//include/givaro/givgfq.h:100
 #1  0x00033c3c in Givaro::GivaroMM<Givaro::GFqDom<long> >::initone
 (p=0x7eaec, V=...)
    at
 /home/vbraun/opt/mark/sage-5.1.beta3/local//include/givaro/givaromm.h:297
 #2  0x00031110 in Givaro::GivaroMM<Givaro::GFqDom<long> >::initialize
 (bloc=0x7eaec, s=15, V=...)
    at
 /home/vbraun/opt/mark/sage-5.1.beta3/local//include/givaro/givaromm.h:300
 #3  0x000268f8 in Givaro::Array0<Givaro::GFqDom<long> >::build
 (this=0xffbff890, s=15, t=...)
    at
 /home/vbraun/opt/mark/sage-5.1.beta3/local//include/givaro/givarray0.inl:30
 #4  0x00021ad0 in Givaro::Array0<Givaro::GFqDom<long> >::Array0
 (this=0xffbff890, s=15)
    at
 /home/vbraun/opt/mark/sage-5.1.beta3/local//include/givaro/givarray0.inl:39
 #5  0x0001bf04 in tmain<Givaro::GFqDom<long> > (argc=1,
 argv=0xffbffb3c, generator=...) at test-crt.C:49
 #6  0x00013d00 in main (argc=1, argv=0xffbffb3c) at test-crt.C:151
 (gdb) l
 95              {
 96                      zero = F.zero;
 97                      one = F.one;
 98                      mOne = F.mOne;
 99                      _characteristic = F._characteristic;
 100                     _dcharacteristic = F._dcharacteristic;
 101                     _exponent = F._exponent;
 102                     _irred = F._irred;
 103                     _q = F._q;
 104                     _qm1 = F._qm1;
 }}}
 This is related to placement new in the Givaro array class, which we do
 not use in Sage at this point. Nevertheless it would be nice to clean this
 up eventually.

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