Hi everyone,
Working on #12415 (new doctesting framework) led me to the issue tracked at
#13748.  I'm not sure whether I'm doing something wrong if there's a
problem with Sage's signal handler.

Putting the following code in your init.sage causes a segfault in a child
process:

import multiprocessing
class Task(multiprocessing.Process):
    def run(self):
        sage_namespace = dict(sage.all_cmdline.__dict__)
        exec compile("from sage.tests.interrupt import *","","single",0,1)
in sage_namespace
        exec compile("test_sig_block()","","single",0,1) in sage_namespace
        exec compile("sig_on_count()","","single",0,1) in sage_namespace
Task().start()

Perhaps something in our signal handler is being inappropriately copied in
our fork?  It would be great if someone more familiar with Sage's signal
handling could take a look: I've been stuck on this bug for about 4 months.
David

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to