#732: Coroutine contexts not getting freed
--------------------+-------------------------------------------------------
Reporter: coke | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: none | Version: 1.2.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
--------------------+-------------------------------------------------------
Comment(by coke):
Rebuilding parrot with debug information, here's the 2 related leak
traces, against r39344:
{{{
==10511== 24,144 (22,288 direct, 1,856 indirect) bytes in 127 blocks are
definitely lost in loss record 65 of 67
==10511== at 0x402601E: malloc (vg_replace_malloc.c:207)
==10511== by 0x40D7943: mem_sys_allocate (alloc_memory.c:47)
==10511== by 0x40D87D3: Parrot_alloc_context (alloc_register.c:482)
==10511== by 0x40D8916: Parrot_set_new_context (alloc_register.c:532)
==10511== by 0x425D5DE: Parrot_Sub_invoke (sub.pmc:266)
==10511== by 0x407669C: Parrot_callmethodcc_p_sc (object.ops:80)
==10511== by 0x41313EF: runops_slow_core (cores.c:462)
==10511== by 0x413000D: runops_int (main.c:987)
==10511== by 0x40EC7A0: runops (ops.c:107)
==10511== by 0x40ECB93: runops_args (ops.c:256)
==10511== by 0x40EDA45: Parrot_runops_fromc_args (ops.c:325)
==10511== by 0x40CA8E6: Parrot_runcode (embed.c:1009)
==10511== by 0x432264E: imcc_run_pbc (main.c:806)
==10511== by 0x432324B: imcc_run (main.c:1097)
==10511== by 0x8048967: main (main.c:61)
==10511==
==10511==
==10511== 27,040 bytes in 154 blocks are definitely lost in loss record 66
of 67
==10511== at 0x402601E: malloc (vg_replace_malloc.c:207)
==10511== by 0x40D7943: mem_sys_allocate (alloc_memory.c:47)
==10511== by 0x40D87D3: Parrot_alloc_context (alloc_register.c:482)
==10511== by 0x40D8916: Parrot_set_new_context (alloc_register.c:532)
==10511== by 0x425F991: Parrot_Coroutine_invoke (coroutine.pmc:150)
==10511== by 0x4061885: Parrot_invokecc_p (core.ops:504)
==10511== by 0x41313EF: runops_slow_core (cores.c:462)
==10511== by 0x413000D: runops_int (main.c:987)
==10511== by 0x40EC7A0: runops (ops.c:107)
==10511== by 0x40ECB93: runops_args (ops.c:256)
==10511== by 0x40EDA45: Parrot_runops_fromc_args (ops.c:325)
==10511== by 0x40CA8E6: Parrot_runcode (embed.c:1009)
==10511== by 0x432264E: imcc_run_pbc (main.c:806)
==10511== by 0x432324B: imcc_run (main.c:1097)
==10511== by 0x8048967: main (main.c:61)
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/732#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets