#10018: Unhandled SIGSEGV after bnfcertify()
------------------------+---------------------------------------------------
   Reporter:  jdemeyer  |       Owner:  jdemeyer                                
                            
       Type:  defect    |      Status:  new                                     
                            
   Priority:  critical  |   Milestone:  sage-4.6                                
                            
  Component:  c_lib     |    Keywords:  segfault segmentation fault allocatemem 
interrupt _sig_on _sig_retry
     Author:            |    Upstream:  N/A                                     
                            
   Reviewer:            |      Merged:                                          
                            
Work_issues:            |  
------------------------+---------------------------------------------------

Comment(by leif):

 I actually added some more {{{printf()}}}s:
 {{{
 #!C
     ...
     fprintf(stderr,
       "\n******************** PARI ERROR: ********************\n");
     vfprintf(stderr,fmt,ap2);
     fprintf(stderr,
       "\n*****************************************************\n");
     fflush(stderr);
     ...
 }}}

 Of course a temporary hack (and a bit odd in the interpreter), but an
 improvement to just
 {{{
       File "gen.pyx", line 9460, in sage.libs.pari.gen._pari_trap
 (sage/libs/pari/gen.c:45047)
     PariError:  (5)
 }}}
 and trivial enough s.t. it could be merged without any risk. ;-)

 (PARI's messages of course aren't always that informative without
 examining the stack.)

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