#7597: segfault in libsingular
-----------------------------------+----------------------------------------
   Reporter:  was                  |       Owner:  malb    
       Type:  defect               |      Status:  new     
   Priority:  major                |   Milestone:  sage-4.3
  Component:  commutative algebra  |    Keywords:          
Work_issues:                       |      Author:          
   Upstream:  N/A                  |    Reviewer:          
     Merged:                       |  
-----------------------------------+----------------------------------------
 {{{
 F2 = GF(2)
 F.<x> = GF(2^8)
 R4.<a,b> = PolynomialRing(F)
 R.<u,v> = PolynomialRing(F2);
 def foo(P, X):
     return (P(0,0).polynomial()[0])*X

 def bar(X):
     P = a
     foo(P,X)
     return P(a,b)

 bar(u)
 }}}
 BOOM!

 {{{
 Backtrace from sage 4.1.1, from Mandriva 2010.

 Program received signal SIGSEGV, Segmentation fault.
 0x00007feb8f08ad04 in naNormalize () from /usr/lib64/libsingular.so
 Missing debug package(s), you should install: python-
 debug-2.6.4-1mdv2010.0.x86_64
 (gdb) bt
 #0 0x00007feb8f08ad04 in naNormalize () from /usr/lib64/libsingular.so
 #1 0x00007feb8f0b5931 in p_Normalize () from /usr/lib64/libsingular.so
 #2 0x00007feb8f4806ed in ?? () from usr/lib64/python2.6/site-packages/
 sage/rings/polynomial/multi_polynomial_libsingular.so
 #3 0x00007feb8f4aa773 in ?? ()
 from /usr/lib64/python2.6/site-packages/sage/rings/polynomial/
 multi_polynomial_libsingular.so
 #4 0x00007feba7829023 in PyObject_Call () from /usr/lib64/
 libpython2.6.so.1.0
 #5 0x00007feba78ba312 in PyEval_EvalFrameEx () from /usr/lib64/
 libpython2.6.so.1.0
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7597>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.


Reply via email to