After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 136539 - child-test hangs on LWP implemented thread platforms
child-test hangs on LWP implemented thread platforms
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
2.3.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
: 135925 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-03-08 11:43 UTC by J. Ali Harlow
Modified: 2011-02-18 16:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed fix (1.12 KB, patch)
2004-03-08 11:44 UTC, J. Ali Harlow
none Details | Review
same patch with Changelog entry (1.76 KB, patch)
2004-03-08 23:32 UTC, Sebastian Wilhelmi
none Details | Review

Description J. Ali Harlow 2004-03-08 11:43:53 UTC
If threads are implemented using light weight processes then child-test
hangs when make check is issued as follows:

make  check-TESTS
make[4]: Entering directory
`/files0/home/avrc/external/glib/build/i686-redhat-linux-gnu/tests'
PASS: atomic-test
PASS: array-test
PASS: cxx-test
whee! created pid: 1402 (ttl 10)
whee! created pid: 1403 (ttl 20)
<hangs>

I have solved this by merging in jrb's updated test program from:

http://mail.gnome.org/archives/gtk-devel-list/2003-July/msg00155.html
Note that this was changed at Owen's suggestion to the current
implementation, See the end of:

http://mail.gnome.org/archives/gtk-devel-list/2003-July/msg00229.html
Comment 1 J. Ali Harlow 2004-03-08 11:44:46 UTC
Created attachment 25332 [details] [review]
Proposed fix
Comment 2 Sebastian Wilhelmi 2004-03-08 14:56:00 UTC
*** Bug 135925 has been marked as a duplicate of this bug. ***
Comment 3 Sebastian Wilhelmi 2004-03-08 15:00:41 UTC
Additionally to updating the test program we should also really
mention in the docs, that for multithreading it is not going to work
for linux pior to 2.6, That was also the plan according to 

http://mail.gnome.org/archives/gtk-devel-list/2003-July/msg00176.html
Comment 4 Sebastian Wilhelmi 2004-03-08 23:32:40 UTC
Created attachment 25362 [details] [review]
same patch with Changelog entry
Comment 5 Matthias Clasen 2004-03-09 00:13:50 UTC
Committed.