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

Ian Wienand ianw at gelato.unsw.edu.au
Mon Aug 14 03:41:50 UTC 2006


On Tue, Aug 08, 2006 at 01:30:59PM -0700, Steve Fink wrote:
> I get a seg fault when I run ltrace -c -C.

I can't actually replicate this.

> 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.

I don't see any real reason to do that free, as all that call does is
zero memory and setup pointers, which are destroyed when the program
exits anyway.  So I put in your patch.

Thanks

-i



More information about the Ltrace-devel mailing list