#17184: Upgrade to Singular-3-1-7
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:  Jean-Pierre Flori  |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  cdedfc61ca715961acca343dea87e7e5c1163063
  u/jpflori/ticket/17184             |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by jpflori):

 When the `normal` lib is loaded, `currRingHdl` is set back to zero.
 Here is when:
 {{{
 #0  rSetHdl (h=0x0) at ipshell.cc:4592
 #1  0x00003fffa487ce04 in iiPStart (pn=<optimized out>, v=<optimized out>)
 at iplib.cc:456
 #2  0x00003fffa487d334 in iiMake_proc (pn=0x3fffa426dd10,
 pack=0x3fffa42584b8, sl=0x0) at iplib.cc:612
 #3  0x00003fffa487f65c in iiRunInit (p=<error reading variable: value has
 been optimized out>) at iplib.cc:889
 #4  iiLoadLIB (fp=0x0, libnamebuf=0x3fffffffa280
 "/home/jpflori/sage.git/local/share/singular/modstd.lib",
 newlib=0x3fffa4270280 "modstd.lib",
     pl=<optimized out>, autoexport=<optimized out>, tellerror=<optimized
 out>) at iplib.cc:941
 #5  0x00003fffa487f840 in iiLibCmd (newlib=0x3fffa4270280 "modstd.lib",
 autoexport=<optimized out>, tellerror=<optimized out>, force=<optimized
 out>)
     at iplib.cc:842
 #6  0x00003fffa487f3f8 in iiLoadLIB (fp=0x0, libnamebuf=0x3fffffffa4a0
 "/home/jpflori/sage.git/local/share/singular/locnormal.lib", newlib=
     0x3fffa42701a0 "locnormal.lib", pl=<optimized out>,
 autoexport=<optimized out>, tellerror=<optimized out>) at iplib.cc:950
 #7  0x00003fffa487f840 in iiLibCmd (newlib=0x3fffa42701a0 "locnormal.lib",
 autoexport=<optimized out>, tellerror=<optimized out>,
     force=<optimized out>) at iplib.cc:842
 #8  0x00003fffa487f3f8 in iiLoadLIB (fp=0x0, libnamebuf=0x3fffffffa6c0
 "/home/jpflori/sage.git/local/share/singular/reesclos.lib", newlib=
     0x3fffa4254b20 "reesclos.lib", pl=<optimized out>,
 autoexport=<optimized out>, tellerror=<optimized out>) at iplib.cc:950
 #9  0x00003fffa487f840 in iiLibCmd (newlib=0x3fffa4254b20 "reesclos.lib",
 autoexport=<optimized out>, tellerror=<optimized out>,
     force=<optimized out>) at iplib.cc:842
 #10 0x00003fffa487f3f8 in iiLoadLIB (fp=0x0, libnamebuf=0x3fffffffa8e0
 "/home/jpflori/sage.git/local/share/singular/normal.lib", newlib=
     0x3fffa4254a60 "normal.lib", pl=<optimized out>, autoexport=<optimized
 out>, tellerror=<optimized out>) at iplib.cc:950
 #11 0x00003fffa487f840 in iiLibCmd (newlib=0x3fffa4254a60 "normal.lib",
 autoexport=<optimized out>, tellerror=<optimized out>, force=<optimized
 out>)
     at iplib.cc:842
 #12 0x00003fffa4082cd8 in __pyx_pf_4sage_4libs_8singular_8function_10lib
 (__pyx_self=<optimized out>, __pyx_v_name='normal.lib')
     at build/cythonized/sage/libs/singular/function.cpp:16752
 #13 __pyx_pw_4sage_4libs_8singular_8function_11lib (__pyx_self=<optimized
 out>, __pyx_v_name='normal.lib')
     at build/cythonized/sage/libs/singular/function.cpp:16623
 #14 0x00003fffb7ecbfb4 in call_function (oparg=<optimized out>,
 pp_stack=0x3fffffffab28) at Python/ceval.c:4021
 #15 PyEval_EvalFrameEx (f=
     Frame 0x3fff9e5b0b60, for file
 /home/jpflori/sage.git/local/lib/python2.7/site-
 packages/sage/libs/singular/function_factory.py, line 44, in __getattr__
 (self=<type unknown at remote 0x3fffa40dee90>, name='normal'),
 throwflag=<optimized out>) at Python/ceval.c:2679
 #16 0x00003fffb7ecd7e0 in PyEval_EvalCodeEx (co=<code at remote
 0x3fffa40f9430>, globals=<optimized out>, locals=<optimized out>,
     args=<optimized out>, argcount=<optimized out>, kws=<optimized out>,
 kwcount=<optimized out>, defs=0x0, defcount=0, closure=0x0)
     at Python/ceval.c:3265
 #17 0x00003fffb7e1d5d4 in function_call (func=<function at remote
 0x3fffa40fc2a8>, arg=(<type unknown at remote 0x3fffa40dee90>,
 'normal__lib'), kw=
     0x0) at Objects/funcobject.c:526
 }}}

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