#17143: Polybori segfault
-------------------------------------------------+-------------------------
       Reporter:  SimonKing                      |        Owner:
           Type:  defect                         |       Status:  new
       Priority:  major                          |    Milestone:  sage-6.4
      Component:  commutative algebra            |   Resolution:
       Keywords:  polybori segfault              |    Merged in:
        Authors:                                 |    Reviewers:
Report Upstream:  Reported upstream. No          |  Work issues:
  feedback yet.                                  |       Commit:
         Branch:                                 |     Stopgaps:
   Dependencies:                                 |
-------------------------------------------------+-------------------------

Comment (by nthiery):

 Indeed: with develop=6.4beta4 (or more precisely very close thereof), and
 on my laptop (Ubuntu 10.4):
 {{{
 sage: import platform
 sage: sage: platform.architecture()
 ('64bit', 'ELF')
 sage:  platform.linux_distribution()
 ('debian', 'jessie/sid', '')
 sage: platform.python_compiler()
 'GCC 4.8.2'
 }}}

 I get a good dozen of segfaults:
 {{{
 sage -t --long src/sage/rings/polynomial/pbori.pyx
 **********************************************************************
 File "src/sage/rings/polynomial/pbori.pyx", line 125, in
 sage.rings.polynomial.pbori
 Failed example:
     for f in I2.groebner_basis():
         f
 Exception raised:
     Traceback (most recent call last):
       File "/opt/sage-git/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 486, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/opt/sage-git/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 849, in compile_and_execute
         exec(compiled, globs)
       File "<doctest sage.rings.polynomial.pbori[10]>", line 1, in
 <module>
         for f in I2.groebner_basis():
       File "sage/rings/polynomial/pbori.pyx", line 5062, in
 sage.rings.polynomial.pbori.BooleanPolynomialIdeal.groebner_basis
 (build/cythonized/sage/rings/polynomial/pbori.cpp:38218)
       File "sage/ext/c_lib.pyx", line 97, in
 sage.ext.c_lib.sig_raise_exception
 (build/cythonized/sage/ext/c_lib.c:1168)
     SignalError: Segmentation fault
 ....
 Unhandled SIGSEGV: A segmentation fault occurred in Sage.
 This probably occurred because a *compiled* component of Sage has a bug
 in it and is not properly wrapped with sig_on(), sig_off().
 Sage will now terminate.
 ------------------------------------------------------------------------
 }}}

 If useful, I could post a complete trace.

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