[Ltrace-devel] [PATCH] seg fault with -C -c

Steve Fink sphink at gmail.com
Tue Aug 8 20:30:59 UTC 2006


I get a seg fault when I run ltrace -c -C. The problem is that both
the -c summary dump and the demangler's dictionary free are called via
atexit(), and they get installed in the wrong order. The attached
patch fixes it by removing the dictionary free, but if that free there
is to make it easier to track memory leaks or something, then it
should be moved to a better place. (Or perhaps stop doing the summary
dump in atexit().)



More information about the Ltrace-devel mailing list