#16162: Cantor-Zassenhaus may enter infinite loop over GF(2**k) and cannot be
interrupted
-------------------------------------+-------------------------------------
       Reporter:  jpflori            |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  critical           |    Milestone:  sage-6.3
      Component:  finite rings       |   Resolution:
       Keywords:  finite field       |    Merged in:
  polynomial root factor             |    Reviewers:
        Authors:  Jean-Pierre Flori  |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  27ae9b7af575319e469a9dc5f6dadbd97daeb041
  u/jpflori/ticket/16162             |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by pbruin):

 You should not put anything inside a `sig_on()...sig_off()` block that can
 interfere with the Python interpreter.  From the code it is not clear (to
 me) if that can happen.

 Is the `sig_on()...sig_off()` to prevent segfaults, to allow the code to
 be interrupted, or both?  If it is to prevent segfaults, you have to find
 out where this occurs (this can hopefully be narrowed down to pure Cython
 code with no calls to the Python interpreter) and wrap this as tightly as
 possible in `sig_on()...sig_off()`.  If it is to allow Control-C,
 `alarm()` etc., you can also periodically check for interrupts (I don't
 remember the details right now).

--
Ticket URL: <http://trac.sagemath.org/ticket/16162#comment:15>
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/d/optout.

Reply via email to