bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

valgrind and ncurses


From: kloepper
Subject: valgrind and ncurses
Date: Sat, 10 Mar 2007 16:55:29 -0600 (CST)


Folks maintaining NCURSES:

  I just built the latest (5.6) version.  I checked some of
the test routines, and they leave quite a few malloc'd blocks
at quitting time.

  Valgrind may be obtained at:

         http://www.valgrind.org/

  It is an excellent debug tool.  In particular when you use
the "--tool=memcheck" option, along with others to locate the
places that malloc was invoked, and these blocks are not freed
before exit.  It will also detect access of uninitialized
memory, segment violations and more.

  I realize that some of the problem I'm seeing may be because
of incomplete exit/shutdown sequences.  These can be tricky,
particularly when handling <ctrl-C> exits.

  If you are not aware of this tool, It will likely amaze you.
Please help stop memory leaks.

-Pete Kloepper   <address@hidden>

-=-=-=-




reply via email to

[Prev in Thread] Current Thread [Next in Thread]