#14055: Fix sage-cleaner
------------------------------------------------+---------------------------
       Reporter:  jdemeyer                      |         Owner:  leif          
                             
           Type:  defect                        |        Status:  needs_review  
                             
       Priority:  critical                      |     Milestone:  sage-5.10     
                             
      Component:  scripts                       |    Resolution:                
                             
       Keywords:                                |   Work issues:                
                             
Report Upstream:  N/A                           |     Reviewers:  John 
Palmieri, Leif Leonhardy, Volker Braun
        Authors:  Jeroen Demeyer, Volker Braun  |     Merged in:                
                             
   Dependencies:                                |      Stopgaps:                
                             
------------------------------------------------+---------------------------

Comment (by nbruin):

 Replying to [comment:102 vbraun]:
 > For the record, we build ECL with `--disable-threads` so it shouldn't
 have any multithread support. It does link with pthreads, though perhaps
 boehmgc needs that.

 OK, good.

 > I don't think the sage-cleaner has anything to do with the problem.

 So perhaps this should go on a different ticket then?

 > The new doctest framework seems to be the only thing that uses SIGCHLD
 in the Sage library.

 I took a quick look at
 [http://sourceforge.net/p/ecls/ecl/ci/master/tree/src/c/unixint.d
 unixint.d] and it seems ECL does install a handler for SIGCHLD. Perhaps
 you're just unlucky that the SIGCHLD gets delivered at a very inopportune
 moment when ECL hasn't quite finished setting up its handlers? Or are we
 just sloppy in how we change handlers? The handler they use is defined in
 [http://sourceforge.net/p/ecls/ecl/ci/master/tree/src/c/unixsys.d
 unixsys.d] as `si::wait-for-all-processes`.

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