This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: glibc 2.26 mtrace broken, missing allocations
- From: DJ Delorie <dj at redhat dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: stefani at seibold dot net, libc-help at sourceware dot org
- Date: Thu, 05 Apr 2018 17:01:01 -0400
- Subject: Re: glibc 2.26 mtrace broken, missing allocations
"Carlos O'Donell" <carlos@redhat.com> writes:
> DJ, You've been poking at this area, any thoughts?
The only thing I can think of off-hand is, that it's a malloc that
happened before mtrace() was called. This can happen if, for example,
there's a ctor/init function that's called before main().
Using ltrace to find any pre-mtrace allocs might be fruitful.
Or my malloc trace branch, which hooks sooner than main().