On Thu, May 09, 2013 at 09:34:37PM +0200, Edgar Fuß wrote: > I set a breakpoint to pthread__errorfunc, and accoring to the backtrace, > the problem is indeed fork(). To be precise, it's somewhere INSIDE fork(): Are you sure this isn't a double free? Joerg