Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2018-05-09
14:42 • Closed ticket [27635d54b2]: epoll notifer leaks memory plus 5 other changes artifact: daca5e8089 user: dgp
07:02 • Ticket [27635d54b2]: 5 changes artifact: 483b39c7de user: pooryorick
2017-10-12
16:56 • New ticket [27635d54b2]. artifact: 3751643331 user: dgp

epoll notifer leaks memory

Closed / Fixed27635d54b254abcebde7c21ef4a47b64b028a19fCreated 9 years agoUpdated 9 years ago
Descriptionplain2017-10-12 16:56:33
==8793== HEAP SUMMARY:
==8793==     in use at exit: 80 bytes in 2 blocks
==8793==   total heap usage: 403,267 allocs, 403,265 frees, 44,016,789 bytes allocated
==8793== 
==8793== Searching for pointers to 2 not-freed blocks
==8793== Checked 117,880 bytes
==8793== 
==8793== 16 bytes in 1 blocks are indirectly lost in loss record 1 of 2
==8793==    at 0x4C29BE3: malloc (vg_replace_malloc.c:299)
==8793==    by 0x5D580D: TclpAlloc (tclAlloc.c:699)
==8793==    by 0x43D10A: Tcl_Alloc (tclCkalloc.c:1061)
==8793==    by 0x5A6EC6: PlatformEventsControl (tclEpollNotfy.c:230)
==8793==    by 0x5A7293: PlatformEventsInit (tclEpollNotfy.c:375)
==8793==    by 0x5A6E1C: Tcl_InitNotifier (tclEpollNotfy.c:149)
==8793==    by 0x554B60: TclInitNotifier (tclNotify.c:136)
==8793==    by 0x4FEFA7: TclInitSubsystems (tclEvent.c:1066)
==8793== 
==8793== 80 (64 direct, 16 indirect) bytes in 1 blocks are definitely lost in loss record 2 of 2
==8793==    at 0x4C29BE3: malloc (vg_replace_malloc.c:299)
==8793==    by 0x5D580D: TclpAlloc (tclAlloc.c:699)
==8793==    by 0x43D10A: Tcl_Alloc (tclCkalloc.c:1061)
==8793==    by 0x5A71E5: PlatformEventsInit (tclEpollNotfy.c:359)
==8793==    by 0x5A6E1C: Tcl_InitNotifier (tclEpollNotfy.c:149)
==8793==    by 0x554B60: TclInitNotifier (tclNotify.c:136)
==8793==    by 0x4FEFA7: TclInitSubsystems (tclEvent.c:1066)
==8793==    by 0x42AC39: Tcl_CreateInterp (tclBasic.c:471)
==8793== 
==8793== LEAK SUMMARY:
==8793==    definitely lost: 64 bytes in 1 blocks
==8793==    indirectly lost: 16 bytes in 1 blocks
==8793==      possibly lost: 0 bytes in 0 blocks
==8793==    still reachable: 0 bytes in 0 blocks
==8793==         suppressed: 0 bytes in 0 blocks
pooryorickwiki2018-05-09 07:02:07

Fixed in [6ea3d73ff094a7d8].

dgp Closed ticket [27635d54b2]. [History diff]2018-05-09 14:42:52
Log in (anonymous is fine) to add a comment.