For the record, here's a simple test app to reproduce the crash: http://www.netbsd.org/~jmcneill/pthread.cpp Compile with g++ and it crashes, compile with gcc and it doesn't. On Fri, 25 Feb 2011, Joerg Sonnenberger wrote:
On Fri, Feb 25, 2011 at 10:07:13AM +0100, Thomas Klausner wrote:After updating my 5.99.45 userland from about three weeks back to yesterday's 5.99.46 current, many applications immediately dump core. The applications were build from scratch for 5.99.45.OK, the problem is understood. It seems like this only ever worked by accident, since pthread__self() was picking up garbage from the stack nothing cared about. I'm analyzing the options for fixes now. Joerg