Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 213829

Summary: sys-libs/glibc: pthread_join() on HPPA doesn't resume
Product: Gentoo Linux Reporter: Guy Martin (RETIRED) <gmsoft>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: hppa
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sources.redhat.com/bugzilla/show_bug.cgi?id=5957
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Use shared futex in lll_wait_tid().

Description Guy Martin (RETIRED) gentoo-dev 2008-03-18 13:45:37 UTC
Please add this patch to current and next glibc patchset.
Comment 1 Guy Martin (RETIRED) gentoo-dev 2008-03-18 13:46:05 UTC
Created attachment 146486 [details, diff]
Use shared futex in lll_wait_tid().
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-03-18 20:48:19 UTC
Tested with the dev-libs/glib test suite (which used to hang intermittently and would need a STOP/CONT to resume).
Comment 3 SpanKY gentoo-dev 2008-03-19 02:10:12 UTC
and the results of said test ?  you said you ran a test; you didnt say whether the test indicated the patch worked
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-03-19 02:26:53 UTC
Used to hang, now it doesn't. :)
Comment 5 Guy Martin (RETIRED) gentoo-dev 2008-03-19 08:35:51 UTC
Here is the test case I used :
https://www.tuxicoman.be/temp/pthread_join-test.c

Without the patch, the last line you see is "done" and the app never finish.
Comment 6 SpanKY gentoo-dev 2008-03-23 15:13:29 UTC
fixed in glibc-2.7-r2