Ticket #559 (closed defect: fixed)
memleak in multi_modular_MultiModularBasis_base exposed by ModularSymbols(n,sign=1).decomposition()
| Reported by: | mabshoff | Owned by: | mabshoff |
|---|---|---|---|
| Priority: | major | Milestone: | sage-2.8.7 |
| Component: | memleak | Keywords: | |
| Cc: | Author(s): | ||
| Report Upstream: | Reviewer(s): | ||
| Merged in: | Work issues: |
Description
Hello folks,
for n in range(10,100): a=ModularSymbols(n,sign=1).decomposition(); print n, get_memory_usage()
causes (among other things) the following:
==5107== 1,056 bytes in 132 blocks are definitely lost in loss record 2,208 of 2,944 ==5107== at 0x4A05809: malloc (vg_replace_malloc.c:149) ==5107== by 0x94A2697: __gmpz_init (in /tmp/Work2/sage-2.8.3.rc3/local/lib/libgmp.so.3.4.1) ==5107== by 0x1F4BD6EF: __pyx_tp_new_13multi_modular_MultiModularBasis_base (multi_modular.c:2324) ==5107== by 0x1F4B92A0: __pyx_tp_new_13multi_modular_MultiModularBasis (multi_modular.c:5836) ==5107== by 0x45A272: type_call (typeobject.c:422) ==5107== by 0x4156A2: PyObject_Call (abstract.c:1860) ==5107== by 0x47DB71: PyEval_CallObjectWithKeywords (ceval.c:3433) ==5107== by 0x2041FF67: __pyx_f_20matrix_integer_dense_20Matrix_integer_dense__multiply_multi_modular (matrix_integer_den se.c:7503) ==5107== by 0x4156A2: PyObject_Call (abstract.c:1860) ==5107== by 0x47DB71: PyEval_CallObjectWithKeywords (ceval.c:3433) ==5107== by 0x204237E0: __pyx_f_20matrix_integer_dense_20Matrix_integer_dense__matrix_times_matrix_c_impl (matrix_integer _dense.c:5487) ==5107== by 0xDFD6878: __pyx_f_7element_6Matrix__matrix_times_matrix_c (element.c:11483)
Cheers,
Michael
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

