#14429: Singular omalloc requires 8- byte alignment on SPARC
--------------------------------+-------------------------------------------
   Reporter:  jdemeyer          |             Owner:  drkirkby              
       Type:  PLEASE CHANGE     |            Status:  new                   
   Priority:  major             |         Milestone:  sage-5.10             
  Component:  porting: Solaris  |          Keywords:  SPARC alignment SIGBUS
Work issues:                    |   Report Upstream:  N/A                   
  Reviewers:                    |           Authors:                        
  Merged in:                    |      Dependencies:                        
   Stopgaps:                    |  
--------------------------------+-------------------------------------------
 On Solaris SPARC:
 {{{
 buildbot@mark:~/build/sage/mark-1/mark_full/build/sage$ ./sage -t --gdb
 --long devel/sage/sage/crypto/mq/sr.py
 exec gdb -x "$SAGE_LOCAL/bin/sage-gdb-commands" --args python
 "$SAGE_LOCAL/bin/sage-runtests" --serial --long --timeout=0
 --stats_path=/home/buildbot/.sage/timings2.jso
 n devel/sage/sage/crypto/mq/sr.py
 GNU gdb (GDB) 7.5.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/buildbot/build/sage/mark-1/mark_full/build/sage-5.9.beta4/local/bin/python...done.
 [Thread debugging using libthread_db enabled]
 [New Thread 1 (LWP 1)]
 Running doctests with ID 2013-04-09-04-41-09-5eaf23f2.
 Doctesting 1 file.
 sage -t --long devel/sage/sage/crypto/mq/sr.py

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 1 (LWP 1)]
 0xf9f743ac in add_to_basis_ideal_quotient (h=0x4f170dc, c=0x4f16b38,
 ip=0x0) at tgb.cc:1518
 1518      c->weighted_lengths[i] = pQuality (h, c, c->lengths[i]);
 (gdb) list
 1513      }
 1514      else
 1515        pNorm (h);
 1516      pNormalize (h);
 1517
 1518      c->weighted_lengths[i] = pQuality (h, c, c->lengths[i]);
 1519      c->gcd_of_terms[i] = got;
 1520    #ifdef HAVE_BOOST
 1521      c->states.push_back (dynamic_bitset <> (i));
 1522
 (gdb) print c->weighted_lengths
 $5 = (wlen_type *) 0x4f4659c
 }}}
 The problem is that wlen_type is a 64-bit integer which is not correctly
 aligned to 8 bytes.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14429>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to