[Interest] Using leveldb in a Qt app redirects unrelated system malloc calls to tcmalloc?

Thiago Macieira thiago.macieira at intel.com
Fri Apr 13 23:26:12 CEST 2018

On Friday, 13 April 2018 00:58:46 PDT René J. V. Bertin wrote:
> Thiago Macieira wrote:
> Hi,
> > of the parent. The fact that it's deadlocking in the code that is supposed
> > to remove locks so that it won't deadlock is a good irony.
> Yeah, very funny until it happens to you :)
> > Absent further proof to the contrary, this looks like a system bug.
> You could be right, but how on earth do I end up in tcmalloc code here?

It's fork(). It calls the malloc routines.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Interest mailing list