#13731: Fix libsingular memory management
--------------------------------------------------------------+-------------
Reporter: nbruin | Owner:
rlm
Type: defect | Status:
new
Priority: major | Milestone:
sage-5.6
Component: memleak | Resolution:
Keywords: | Work issues:
Report Upstream: Fixed upstream, in a later stable release. | Reviewers:
Authors: Nils Bruin, Simon King | Merged in:
Dependencies: | Stopgaps:
--------------------------------------------------------------+-------------
Comment (by SimonKing):
I have updated the
[http://sage.math.washington.edu/home/SimonKing/SAGE/spkgs/singular-3-1-5.p2.spkg
new spkg] and posted a new version of [attachment:singular_xalloc.patch].
Now it seems to work!
{{{
simon@linux-sqwp:~/SAGE/debug/sage-5.5.rc0> ./sage
----------------------------------------------------------------------
| Sage Version 5.5.rc0, Release Date: 2012-11-17 |
| Type "notebook()" for the browser-based notebook interface. |
| Type "help()" for help. |
----------------------------------------------------------------------
**********************************************************************
* *
* Warning: this is a prerelease version, and it may be unstable. *
* *
**********************************************************************
sage: A.<x,y> = FreeAlgebra(QQ, 2)
sage: P.<x,y> = A.g_algebra({y*x:-x*y})
sage: x*y
x*y
sage: quit
Exiting Sage (CPU time 0m0.48s, Wall time 0m10.86s).
simon@linux-sqwp:~/SAGE/debug/sage-5.5.rc0> export MALLOC_CHECK_=3
simon@linux-sqwp:~/SAGE/debug/sage-5.5.rc0> ./sage
----------------------------------------------------------------------
| Sage Version 5.5.rc0, Release Date: 2012-11-17 |
| Type "notebook()" for the browser-based notebook interface. |
| Type "help()" for help. |
----------------------------------------------------------------------
**********************************************************************
* *
* Warning: this is a prerelease version, and it may be unstable. *
* *
**********************************************************************
sage: P.<x,y> = QQ[]
sage: x*y
x*y
sage: quit
Exiting Sage (CPU time 0m0.04s, Wall time 0m6.09s).
simon@linux-sqwp:~/SAGE/debug/sage-5.5.rc0> ./sage
----------------------------------------------------------------------
| Sage Version 5.5.rc0, Release Date: 2012-11-17 |
| Type "notebook()" for the browser-based notebook interface. |
| Type "help()" for help. |
----------------------------------------------------------------------
**********************************************************************
* *
* Warning: this is a prerelease version, and it may be unstable. *
* *
**********************************************************************
sage: A.<x,y> = FreeAlgebra(QQ, 2)
sage: P.<x,y> = A.g_algebra({y*x:-x*y})
sage: x*y
x*y
sage: quit
Exiting Sage (CPU time 0m0.17s, Wall time 0m8.22s).
}}}
My suggestion: Using the doc tests (run with `MALLOC_CHECK_=3`), we try to
detect further crashes. This may result in further up- or downstream
fixes. Eventually, the new spkg shall become standard, with all the fixes
backported, and with optional xalloc support.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13731#comment:101>
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.