#13921: Make the GP executable work with SAGE_DEBUG on Darwin
-----------------------------+----------------------------------------------
   Reporter:  SimonKing      |             Owner:  was                          
              
       Type:  defect         |            Status:  new                          
              
   Priority:  critical       |         Milestone:  sage-5.6                     
              
  Component:  number theory  |          Keywords:  pari gp debug                
              
Work issues:                 |   Report Upstream:  Not yet reported upstream; 
Will do shortly.
  Reviewers:                 |           Authors:                               
              
  Merged in:                 |      Dependencies:                               
              
   Stopgaps:                 |  
-----------------------------+----------------------------------------------
 On bsd.math (hence, Darwin), there is a problem with the GP executable
 when building Sage (or: only the pari/gp spkg) with SAGE_DEBUG=yes.

 As Jeroen found, a crash occurs as follows:
 {{{
 $ ./sage --gp
 ? factor(-70665476079756004438844153774)
 }}}
 With gdb, one then gets
 {{{
 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: 13 at address: 0x0000000000000000
 0x00007fff8a66cfc1 in dyld_stub_binder ()
 (gdb) bt
 #0  0x00007fff8a66cfc1 in dyld_stub_binder ()
 #1  0x000000010040e398 in  stub helpers ()
 }}}
 A smaller testcase is `? factor(10356613*10694706299664611221)`

 According to Jeroen, the problem vanishes with Apple's gcc.

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