#13889: Better automatic backtrace
--------------------------------+-------------------------------------------
       Reporter:  vbraun        |         Owner:  GeorgSWeber 
           Type:  enhancement   |        Status:  needs_review
       Priority:  major         |     Milestone:  sage-5.6    
      Component:  build         |    Resolution:              
       Keywords:                |   Work issues:              
Report Upstream:  N/A           |     Reviewers:              
        Authors:  Volker Braun  |     Merged in:              
   Dependencies:  #13881        |      Stopgaps:              
--------------------------------+-------------------------------------------

Comment (by jdemeyer):

 Replying to [comment:9 vbraun]:
 > It makes sense to have the "Unhandled SIGSEGV..." message at the end. I
 don't think trying to get back from the debugger into the main program is
 a good idea. Sage is currently in a signal handler after something bad
 happened, there are no guarantees that anything is still working.
 True, but what's your point? Your `execlp()` might also fail for this
 reason. While `fork()` and `wait()` are basically pure system calls, so
 much less probable to fail.

 So I stand by my proposal to remove the `sleep(10)` kludge and replace it
 by a `wait()`. Then you don't need to kill the parent process.

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