Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Memory leaks found by valgrind (try2)



I ran valgrind with a version of zsh from around Feb 10th.
Below are the memory leaks.  The shell ran for a few days, and I gave it more
usage.

(This one is new.)
1026 bytes in 1 blocks are possibly lost in loss record 10 of 14
   at 0x40166069: realloc (vg_clientfuncs.c:273)
   by 0x81104DE: sizeline (zle_utils.c:70)
   by 0x8110506: spaceinline (zle_utils.c:81)
   by 0x810196B: doinsert (zle_misc.c:49)
   by 0x8101A87: selfinsert (zle_misc.c:71)
   by 0x80FFEA3: execzlefunc (zle_main.c:862)

This one I believe is a repeat.
324 bytes in 5 blocks are definitely lost in loss record 7 of 14
   at 0x40165A60: malloc (vg_clientfuncs.c:100)
   by 0x808617D: zalloc (mem.c:490)
   by 0x80E2312: calclist (compresult.c:1590)
   by 0x80E8940: complistmatches (complist.c:1607)
   by 0x808A5E6: runhookdef (module.c:1865)
   by 0x80E3F1B: list_matches (compresult.c:2167)

(I think this is more a termcap bug, but I get it often enough, that I thought
I would send it.)
2130 bytes in 50 blocks are definitely lost in loss record 12 of 14
   at 0x40165A60: malloc (vg_clientfuncs.c:100)
   by 0x40238EFE: (within /lib/libtermcap.so.2.0.8)
   by 0x4023988B: (within /lib/libtermcap.so.2.0.8)
   by 0x40239A13: (within /lib/libtermcap.so.2.0.8)
   by 0x40239AA6: tgetent (in /lib/libtermcap.so.2.0.8)
   by 0x80749C8: init_term (init.c:557)


-FR.

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com



Messages sorted by: Reverse Date, Date, Thread, Author