Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Singular 3-1-7 warning in debug mode
PostPosted: Tue Nov 18, 2014 5:01 pm 
Dear all,

When testing Singular 3-1-7 within Sage in debug mode (in particular omalloc is replaced with a more valgrind friendly memory allocator) we encountered the following warning which I could reproduce within a Singular shell and so does not look related to the way we badly treat reference counts in Sage:
"""
$ ./sage -singular
SINGULAR / Development
A Computer Algebra System for Polynomial Computations / version 3-1-7
0<
by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann \ Aug 2013
FB Mathematik der Universitaet, D-67653 Kaiserslautern \
> LIB "normal.lib";
// ** loaded /home/jpflori/sage.git/local/share/singular/normal.lib (3-1-7-0,Sep_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/algebra.lib (3-1-7-0,Sep_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/matrix.lib (3-1-7-0,Sep_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/nctools.lib (3-1-7-0,Sep_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/random.lib (3-1-7-0,Sep_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/reesclos.lib (3-1-7-1,Jan_2014)
// ** loaded /home/jpflori/sage.git/local/share/singular/locnormal.lib (3-1-7-1,Jan_2014)
// ** loaded /home/jpflori/sage.git/local/share/singular/modstd.lib (3-1-7-0,May_2014)
// ** loaded /home/jpflori/sage.git/local/share/singular/parallel.lib (3-1-7-0,Dec_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/tasks.lib (3-1-7-0,Dec_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/resources.lib (3-1-7-0,Dec_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/modular.lib (3-1-7-0,Dec_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/hnoether.lib (3-1-7-0,Sep_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/primitiv.lib (3-1-7-0,Sep_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/ring.lib (4.0.0.0,Jun_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/inout.lib (3-1-7-0,Sep_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/presolve.lib (3-1-7-0,Sep_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/elim.lib (3-1-7-0,Sep_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/primdec.lib (4.0.0.0,Jun_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/absfact.lib (3-1-7-0,Sep_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/triang.lib (3-1-7-0,Sep_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/sing.lib (3-1-7-0,Sep_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/poly.lib (3-1-7-0,Sep_2013)
// ** loaded /home/jpflori/sage.git/local/share/singular/general.lib (3-1-7-0,Sep_2013)
> ring R=5,(x,y,z),dp;
// ** Could not open dynamic library: /home/jpflori/sage.git/local/bin/p_Procs_FieldIndep.sog
// ** Error message from system: /home/jpflori/sage.git/local/bin/p_Procs_FieldIndep.sog: cannot open shared object file: No such file or directory
// ** Singular will work properly, but much slower.
// ** See the INSTALL section in the Singular manual for details.
> ideal I = x^10 + y^7*z^3 + z^10;
> genus(I);

// ***dError: T[3] pLength error: has 1, specified to have 2 occured at:

// ***dError: T[3] pLength error: has 1, specified to have 2 occured at:
3
"""

Our Sage bug tracker ticket is #17184, see comment 37.

I could not test Singular 4-0-1 (outside of Sage) yet but will try to do so (and we'd like to quickly update to 3-1-7 in Sage before working on 4-0-1 integration!)

Thanks for your help,
JPF


Report this post
Top
  
Reply with quote  
 Post subject: Re: Singular 3-1-7 warning in debug mode
PostPosted: Wed Nov 19, 2014 4:04 pm 

Joined: Wed May 25, 2005 4:16 pm
Posts: 235
Here is the fix:
https://github.com/Singular/Sources/commit/a1a8fb9361b358fc8933045e2f731d1b201f2e8d
or use
ftp://www.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/3-1-7/Singular-3-1-7p1.tar.gz
(too long to post it here)

Hannes


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Singular 3-1-7 warning in debug mode
PostPosted: Wed Nov 19, 2014 5:15 pm 
Thanks a lot!
Testing it right now.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Thu Feb 27, 2020 3:52 pm
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group