GNOME Bugzilla – Bug 145181
[glib-2.4.3] child-test fails on Solaris 8
Last modified: 2004-12-22 21:47:04 UTC
configured glib-2.4.3 with options <-- prefix=/home/cis/gen/general/sun_utils/gnu/sun4u-5.8 --enable-shared --enable- static --with-libiconv=gnu> afterwards: gmake; gmake check {gmake=3.80;gcc=2.95.3 20010315} when it comes to child-test it hangs... putting some printf's in child-test.c it turned out that both children were forked sucessfully, they slept for the given time and then did terminate themselves as wanted. BUT: g_child_watch_add() only recognizes the death of the first child, it failes to see the second childs death! [the first call delivered returncode "1", the second "2" (which seem to be okay as these are the ids of the watched event sources)] ...so the child_watch_callback() was only entered once and therfore g_main_loop_run() wasn't terminated and the tests do not continue... this is the only test that fails with glib-2.4.3 under Solaris 8 (1 of 37 tests failed)
uops - typo... it was for glib-2.4.2
*** This bug has been marked as a duplicate of 142551 ***