Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2014-07-21
14:37 • Ticket [e6477e1b0f] memleak in iocmd-11.4 status still Closed with 3 other c... artifact: e7f2cc6831 user: dgp
14:35 • Ticket [e6477e1b0f]: 4 changes artifact: 62c935ce93 user: dgp
14:27 • Closed ticket [e6477e1b0f]. artifact: 5e04317a7f user: dgp
14:26
[e6477e1b0f] Plug memleak in AtForkChild() detected in iocmd-11.4. check-in: ce7a959e88 user: dgp tags: trunk
14:18 • New ticket [e6477e1b0f] memleak in iocmd-11.4. artifact: 63205da040 user: dgp

memleak in iocmd-11.4

Closed / Fixede6477e1b0f5e8cb323c977cdda024e078c62a256Created 12 years agoUpdated 12 years ago
Descriptionplain2014-07-21 14:18:02
Starting with checkin

http://core.tcl.tk/tcl/info/e733a91cdb

a valgrind of test iocmd-11.4 reports
a memory leak in the child process.

==29751== 88 (48 direct, 40 indirect) bytes in 1 blocks are definitely lost in loss record 1,103 of 2,070
==29751==    at 0x4A0610C: malloc (vg_replace_malloc.c:195)
==29751==    by 0x5D1CA6: TclpAlloc (tclAlloc.c:699)
==29751==    by 0x43D296: Tcl_Alloc (tclCkalloc.c:1059)
==29751==    by 0x5A4465: Tcl_ConditionWait (tclUnixThrd.c:541)
==29751==    by 0x5A4F9E: Tcl_InitNotifier (tclUnixNotfy.c:333)
==29751==    by 0x552F43: TclInitNotifier (tclNotify.c:136)
==29751==    by 0x4FC8FC: TclInitSubsystems (tclEvent.c:1062)
==29751==    by 0x42B2EB: Tcl_CreateInterp (tclBasic.c:477)
Referenced by1
dgpplain2014-07-21 14:27:15
Committed fix to trunk that valgrind reports
to be effective.
dgp Ticket [e6477e1b0f]: 4 changes [History diff]2014-07-21 14:35:53
dgp Ticket [e6477e1b0f]: 3 changes [History diff]2014-07-21 14:37:00
Log in (anonymous is fine) to add a comment.