Bug#561203: FTBFS [hppa] - pthread_create() (QThread) + fork() = crash
On Tue, Dec 22, 2009 at 2:54 PM, Modestas Vainius <email@example.com> wrote:
> when investigating this issue further, I determined that fork() following
> pthread_create() sometimes makes the application crash. In order to reproduce,
> build attached minifail.cpp with:
> $ g++ -I/usr/include/qt4 -lQtCore minifail.cpp -o minifail -O0 -g
Thank you for the test case.
> This means that thread 2 was not started at all and hung at clone().
> Relevant QThread code at
I don't believe that it would be stuck at the store instruction which
is pointed to by the PC (iaoqh).
However, I do believe that something is wrong and I am going to
investigate the kde4libs failure tonight.
> I strongly believe that if you fix the first problem, the 2nd one will
> disappear too as their origin is the same. Both tests work just fine on amd64.
> Contrary to what I said previously, the bug is reproducible under strace -f,
> but you have to wait much longer (up to 10000th run).
> ii libc6 2.10.2-2 GNU C Library:
> Shared libraries
Thanks. I'll look into this tonight.