#16938: Sage debug version
-------------------------------------+-------------------------------------
       Reporter:  SimonKing          |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  critical           |    Milestone:  sage-6.4
      Component:  build              |   Resolution:
       Keywords:  debug singular     |    Merged in:
  cygwin64                           |    Reviewers:
        Authors:  Simon King         |  Work issues:
Report Upstream:  None of the above  |       Commit:
  - read trac for reasoning.         |  25b66c3f6ad76e06a334b18c3724f4c58537c987
         Branch:                     |     Stopgaps:
  u/vbraun/sage_debug_version        |
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by vbraun):

 For example:
 {{{
 (gdb) break dReportError
 Breakpoint 1 at 0x7fffcc699a71: file dError.c, line 28.
 (gdb) cont
 Continuing.

 sage: F.<x,y,z> = FreeAlgebra(QQ, implementation='letterplace')
 sage: I = F*[x*y+y*z,x^2+x*y-y*x-y^2]*F
 sage: Q.<a,b,c> = F.quo(I); Q
 Quotient of Free Associative Unital Algebra on 3 generators (x, y, z) over
 Rational Field by the ideal (x*y + y*z, x*x + x*y - y*x - y*y)
 sage: a^3

 Breakpoint 1, dReportError (fmt=0x7fffcc8b2679 "S_2_R[%d]=%d !=
 T[%d].i_r=%d\n") at dError.c:28
 28      dError.c: No such file or directory.
 (gdb) bt
 #0  dReportError (fmt=0x7fffcc8b2679 "S_2_R[%d]=%d != T[%d].i_r=%d\n") at
 dError.c:28
 #1  0x00007fffcc5b860a in kTest_TS (strat=0x2d09920) at kutil.cc:861
 #2  0x00007fffcc5b0598 in bbaShift (F=0x18d0638, Q=0x0, w=0x0, hilb=0x0,
 strat=0x2d09920, uptodeg=3, lV=3)
     at kstd2.cc:1724
 #3  0x00007fffcc5a79ed in kStdShift (F=0x18d0638, Q=0x0, h=isHomog, w=0x0,
 hilb=0x0, syzComp=0,
     newIdeal=0, vw=0x0, uptodeg=3, lV=3) at kstd1.cc:1912
 #4  0x00007fffcc5b09ce in freegb (I=0x18d0638, uptodeg=3, lVblock=3) at
 kstd2.cc:1823
 #5  0x00007fffcc4e2301 in jjSYSTEM (res=0x2d06588, args=0x18d0548) at
 extra.cc:1370
 #6  0x00007fffcc4a06b5 in iiExprArithM (res=0x2d06588, a=0x18d0548,
 op=496) at iparith.cc:8321
 #7  0x00007fffcb9c3eb9 in
 __pyx_f_4sage_4libs_8singular_8function_17KernelCallHandler_handle_call (
     __pyx_v_self=0x7fffb80d2880, __pyx_v_argument_list=0x7fffb80d1860,
 __pyx_optional_args=0x7fffffff7ef0)
     at build/cythonized/sage/libs/singular/function.cpp:12083
 [...]
 (gdb) cy bt
 [...]
 #78 0x00007ffff7cd7b2d in _reduce_() at /home/vbraun/Sage/git-
 develop/local/lib/python2.7/site-
 packages/sage/rings/quotient_ring_element.py:118
        118            self.__rep = I.reduce(self.__rep)
 #83 0x00007fffb5ae04ce in reduce() at /home/vbraun/Sage/git-
 develop/src/sage/algebras/letterplace/letterplace_ideal.pyx:306
        306        def reduce(self, G):
 #87 0x00007fffb5f90e45 in normal_form() at /home/vbraun/Sage/git-
 develop/src/sage/algebras/letterplace/free_algebra_element_letterplace.pyx:733
        733        def normal_form(self,I):
 #93 0x00007fffb5ad9bb4 in groebner_basis() at /home/vbraun/Sage/git-
 develop/src/sage/algebras/letterplace/letterplace_ideal.pyx:187
 ---Type <return> to continue, or q <return> to quit---
        187        def groebner_basis(self, degbound=None):
 #96 0x00007fffcb9c5095 in __call__() at /home/vbraun/Sage/git-
 develop/src/sage/libs/singular/function.pyx:1185
       1185        def __call__(self, *args, ring=None, bint
 interruptible=True, attributes=None):
 #98 0x00007fffcb9ca76b in call_function() at /home/vbraun/Sage/git-
 develop/src/sage/libs/singular/function.pyx:1462
       1462                _res =
 self.call_handler.handle_call(argument_list, si_ring)
 #99 0x00007fffcb9c3d15 in handle_call() at /home/vbraun/Sage/git-
 develop/src/sage/libs/singular/function.pyx:1093
       1093                iiExprArithM(res, argument_list.args,
 self.cmd_n)
 #100 0x00007fffcc4a029d in iiExprArithM()

 }}}

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