#15671: sig_error() without sig_on()
----------------------------+------------------------
       Reporter:  zimmerma  |        Owner:
           Type:  defect    |       Status:  new
       Priority:  major     |    Milestone:  sage-6.1
      Component:  cython    |   Resolution:
       Keywords:            |    Merged in:
        Authors:            |    Reviewers:
Report Upstream:  N/A       |  Work issues:
         Branch:            |       Commit:
   Dependencies:            |     Stopgaps:
----------------------------+------------------------

Comment (by pbruin):

 The problem seems to lie in `sage/rings/integer.pyx:fast_tp_new()`, where
 the call to `mpz_alloc()` is not surrounded by `sig_on()...sig_off()`.
 This should be fixed, but it probably won't help in this specific example,
 because Sage has runs hopelessly out of memory.  I tried it twice with the
 `sig_on()...sig_off()` added, and Sage still crashes, just not with the
 same error message; once it was killed by IPython with a `MemoryError`,
 once by Sage's `c_lib/src/interrupt.c:sigdie()`, presumably because
 another out of memory error occurs during signal handling.

--
Ticket URL: <http://trac.sagemath.org/ticket/15671#comment:1>
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to