#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: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
---------------------------+------------------------------------------------
Comment (by SimonKing):
How do I make it create a core dump, and how do I open it with gdb? I
recall something with "ulimit -c", but I can't recall the details...
`sage -gdb` does not work, by the way:
{{{
simon@linux-sqwp:~/SAGE/debug/sage-5.5.rc0> ./sage -gdb
----------------------------------------------------------------------
| 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. *
* *
**********************************************************************
/home/simon/SAGE/debug/sage-5.5.rc0/local/bin/sage-ipython
GNU gdb (GDB) SUSE (7.3-41.1.2)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/simon/SAGE/debug/sage-5.5.rc0/local/bin/python...done.
[Thread debugging using libthread_db enabled]
Python 2.7.3 (default, Nov 21 2012, 11:21:15)
[GCC 4.6.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
---------------------------------------------------------------------------
ImportError Traceback (most recent call
last)
/home/simon/SAGE/debug/sage-5.5.rc0/local/lib/python2.7/site-
packages/IPython/ipmaker.pyc in force_import(modname, force_reload)
61 reload(sys.modules[modname])
62 else:
---> 63 __import__(modname)
64
65
ImportError: No module named ipy_profile_sage
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.
sage: A.<x,y> = FreeAlgebra(QQ, 2)
------------------------------------------------------------
File "<ipython console>", line 1
A.<x,y> = FreeAlgebra(QQ, 2)
^
SyntaxError: invalid syntax
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13731#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 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.