#748: memory leak in IMCC
--------------------+-------------------------------------------------------
Reporter: coke | Owner: chromatic
Type: bug | Status: new
Priority: normal | Milestone:
Component: imcc | Version: trunk
Severity: high | Keywords: tcl blocker memory
Lang: tcl | Patch:
Platform: |
--------------------+-------------------------------------------------------
Comment(by cotto):
Now that partcl's been brought back to life, this leak still appears to be
in effect, among a great many others:
{{{
cotto@feather:/usr/src/partcl-old @master 1 $ valgrind --leak-check=full
parrot tcl.pbc -e "puts hi"
<snip>
==17273== 3,159 bytes in 351 blocks are definitely lost in loss record 511
of 974
==17273== at 0x4025BD3: malloc (vg_replace_malloc.c:236)
==17273== by 0x4103813: mem_sys_allocate (alloc_memory.c:55)
==17273== by 0x4103A4B: mem_sys_strdup (alloc_memory.c:205)
==17273== by 0x425CE4C: yylex_skip (imcc.l:842)
==17273== by 0x425D2F9: read_macro (imcc.l:969)
==17273== by 0x4259824: yylex (imcc.l:450)
==17273== by 0x42529C9: yyparse (imcparser.c:3074)
==17273== by 0x425E035: imcc_run_compilation (imcc.l:1334)
==17273== by 0x425DFBD: compile_string (imcc.l:1325)
==17273== by 0x426051A: imcc_compile (main.c:852)
==17273== by 0x42609C6: imcc_compile_pir_ex (main.c:1014)
==17273== by 0x412DCB0: pcf_P_Jt (core_thunks.c:129)
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/748#comment:6>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets