Opened 13 years ago
Closed 13 years ago
#956 closed defect (duplicate)
[should be closed] small memleak in the graph_isom code
Reported by: | mabshoff | Owned by: | mabshoff |
---|---|---|---|
Priority: | major | Milestone: | sage-2.8.9 |
Component: | memleak | Keywords: | graph isom |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
Valgrinding the code from #939 leads to
==9242== LEAK SUMMARY: ==9242== definitely lost: 25,877 bytes in 3,205 blocks. ==9242== possibly lost: 318,230 bytes in 908 blocks. ==9242== still reachable: 43,973,827 bytes in 28,805 blocks. ==9242== suppressed: 0 bytes in 0 blocks.
In detail:
==9242== 8,456 bytes in 1,057 blocks are definitely lost in loss record 2,618 of 2,792 ==9242== at 0x4A1BB35: malloc (vg_replace_malloc.c:207) ==9242== by 0x6100C87: __gmpz_init (in /tmp/Work-mabshoff/sage-2.8.7.1/local/lib/libgmp.so.3.4.1) ==9242== by 0x17DD777E: __pyx_f_py_10graph_isom_search_tree (graph_isom.c:6942) ==9242== by 0x415522: PyObject_Call (abstract.c:1860) ==9242== by 0x481E91: PyEval_EvalFrameEx (ceval.c:3775) ==9242== by 0x484F3A: PyEval_EvalCodeEx (ceval.c:2831) ==9242== by 0x483CC4: PyEval_EvalFrameEx (ceval.c:494) ==9242== by 0x484F3A: PyEval_EvalCodeEx (ceval.c:2831) ==9242== by 0x48365C: PyEval_EvalFrameEx (ceval.c:3660) ==9242== by 0x484F3A: PyEval_EvalCodeEx (ceval.c:2831) ==9242== by 0x48365C: PyEval_EvalFrameEx (ceval.c:3660) ==9242== by 0x48403A: PyEval_EvalFrameEx (ceval.c:3650) ==9242== ==9242== ==9242== 8,456 bytes in 1,057 blocks are definitely lost in loss record 2,619 of 2,792 ==9242== at 0x4A1BB35: malloc (vg_replace_malloc.c:207) ==9242== by 0x6101D47: __gmpz_init_set_si (in /tmp/Work-mabshoff/sage-2.8.7.1/local/lib/libgmp.so.3.4.1) ==9242== by 0x17DD77A4: __pyx_f_py_10graph_isom_search_tree (graph_isom.c:6960) ==9242== by 0x415522: PyObject_Call (abstract.c:1860) ==9242== by 0x481E91: PyEval_EvalFrameEx (ceval.c:3775) ==9242== by 0x484F3A: PyEval_EvalCodeEx (ceval.c:2831) ==9242== by 0x483CC4: PyEval_EvalFrameEx (ceval.c:494) ==9242== by 0x484F3A: PyEval_EvalCodeEx (ceval.c:2831) ==9242== by 0x48365C: PyEval_EvalFrameEx (ceval.c:3660) ==9242== by 0x484F3A: PyEval_EvalCodeEx (ceval.c:2831) ==9242== by 0x48365C: PyEval_EvalFrameEx (ceval.c:3660) ==9242== by 0x48403A: PyEval_EvalFrameEx (ceval.c:3650) ==9242== ==9242== ==9242== 8,456 bytes in 1,057 blocks are definitely lost in loss record 2,620 of 2,792 ==9242== at 0x4A1BB35: malloc (vg_replace_malloc.c:207) ==9242== by 0x6101D47: __gmpz_init_set_si (in /tmp/Work-mabshoff/sage-2.8.7.1/local/lib/libgmp.so.3.4.1) ==9242== by 0x17DD7791: __pyx_f_py_10graph_isom_search_tree (graph_isom.c:6951) ==9242== by 0x415522: PyObject_Call (abstract.c:1860) ==9242== by 0x481E91: PyEval_EvalFrameEx (ceval.c:3775) ==9242== by 0x484F3A: PyEval_EvalCodeEx (ceval.c:2831) ==9242== by 0x483CC4: PyEval_EvalFrameEx (ceval.c:494) ==9242== by 0x484F3A: PyEval_EvalCodeEx (ceval.c:2831) ==9242== by 0x48365C: PyEval_EvalFrameEx (ceval.c:3660) ==9242== by 0x484F3A: PyEval_EvalCodeEx (ceval.c:2831) ==9242== by 0x48365C: PyEval_EvalFrameEx (ceval.c:3660) ==9242== by 0x48403A: PyEval_EvalFrameEx (ceval.c:3650) ==9242== ==9242== ==9242== 8,456 bytes in 1,057 blocks are definitely lost in loss record 2,620 of 2,792 ==9242== at 0x4A1BB35: malloc (vg_replace_malloc.c:207) ==9242== by 0x6101D47: __gmpz_init_set_si (in /tmp/Work-mabshoff/sage-2.8.7.1/local/lib/libgmp.so.3.4.1) ==9242== by 0x17DD7791: __pyx_f_py_10graph_isom_search_tree (graph_isom.c:6951) ==9242== by 0x415522: PyObject_Call (abstract.c:1860) ==9242== by 0x481E91: PyEval_EvalFrameEx (ceval.c:3775) ==9242== by 0x484F3A: PyEval_EvalCodeEx (ceval.c:2831) ==9242== by 0x483CC4: PyEval_EvalFrameEx (ceval.c:494) ==9242== by 0x484F3A: PyEval_EvalCodeEx (ceval.c:2831) ==9242== by 0x48365C: PyEval_EvalFrameEx (ceval.c:3660) ==9242== by 0x484F3A: PyEval_EvalCodeEx (ceval.c:2831) ==9242== by 0x48365C: PyEval_EvalFrameEx (ceval.c:3660) ==9242== by 0x48403A: PyEval_EvalFrameEx (ceval.c:3650)
Attachments (1)
Change History (9)
comment:1 Changed 13 years ago by
- Status changed from new to assigned
comment:2 Changed 13 years ago by
Changed 13 years ago by
comment:3 Changed 13 years ago by
- Summary changed from small memleak in the graph_isom code to [with patch] small memleak in the graph_isom code
comment:4 Changed 13 years ago by
- Resolution set to duplicate
- Status changed from assigned to closed
Please refer to ticket #968
comment:5 Changed 13 years ago by
- Resolution duplicate deleted
- Status changed from closed to reopened
Please do not close tickets unless explicitly asked to do so. You can recommend to close a ticket.
Cheers,
Michael
comment:6 Changed 13 years ago by
- Summary changed from [with patch] small memleak in the graph_isom code to [should be closed] small memleak in the graph_isom code
comment:7 Changed 13 years ago by
PLEASE NOTE -- Don't use the patch here!! Instead, use the ones in #968.
comment:8 Changed 13 years ago by
- Resolution set to duplicate
- Status changed from reopened to closed
Note: See
TracTickets for help on using
tickets.
Cheers,
Michael