[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#561203: FTBFS [hppa] - pthread_create() (QThread) + fork() = crash



tags 561203 pending
thanks

Hello,

On antradienis 22 Gruodis 2009 21:54:16 Modestas Vainius 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:

[.. snip ..]

> When repeatedly running it as `minifail` (pure_test() mode), I get:
> 
> $ i=0; while true; do i=$(($i+1)); echo Run $i; ./minifail; done;

[.. snip ..]
> 
> The hang which is original problem of this FTBFS, can be reproduced with
> `./minifail qt` (qt_test() mode that uses QThread + fork()). QThread
> internally uses pthreads but unfortunately I was not able to reproduce the
> hang with pure pthread_* calls.
> 
> $ i=0; while true; do i=$(($i+1)); echo Run $i; ./minifail qt; done;

[.. snip ..]

> 
> ii  libc6                         2.10.2-2                      GNU C
>  Library: Shared libraries
> 

It seems libc6 2.10.2-3 fixed the problem. I cannot reproduce the bug with 
both test cases above any more. As far as I can tell from the changelog, 
rebuild with gcc-4.4 helped. I will close this bug once a couple of KDE 
packages get built on hppa successfully.

-- 
Modestas Vainius <modestas@vainius.eu>

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: