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 142551 - glib-2.4.1, child-test fails on Solaris8 SPARC/x86
glib-2.4.1, child-test fails on Solaris8 SPARC/x86
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
2.4.x
Other Solaris
: Normal major
: ---
Assigned To: gtkdev
gtkdev
: 145181 (view as bug list)
Depends on:
Blocks: 157195
 
 
Reported: 2004-05-14 16:42 UTC by fld
Modified: 2011-02-18 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description fld 2004-05-14 16:42:25 UTC
'configure', 'make' and 'make install' have no problems. 
 
'make check' hangs at the following position: 
 
[ ... ] 
gmake  check-TESTS 
gmake[4]: Entering directory `/home/src/gnome/glib-2.4.1/tests' 
PASS: atomic-test 
PASS: array-test 
PASS: cxx-test 
child 25360 (ttl 10) exited, status 0 
 
 
At this point the process list looks as follows: 
 
pts/33    *fld     2781 -bash 
pts/33     *      17889 /usr/local/bin/bash /home/fld/bin/gnome.make check 
pts/33      |     17890 gmake check 
pts/33       |    17891 gmake check-recursive 
pts/33        |   17892 /usr/local/bin/bash -c set fnord $MAKEFLAGS; amf=$2;  
pts/33         |  17922 /usr/local/bin/bash -c set fnord $MAKEFLAGS; amf=$2;  
pts/33          | 17923 gmake check 
pts/33          | 17924 /usr/local/bin/bash -c set fnord $MAKEFLAGS; amf=$2;  
pts/33          | 19414 gmake check-am 
pts/33          | 25298 gmake check-TESTS 
pts/33          | 25299 /usr/local/bin/bash -c failed=0; all=0; xfail=0; xpa 
pts/33          | 25345 /home/src/gnome/glib-2.4.1/tests/.libs/child-test 
 -              | 25361 ** Exit ** 
 
 
I had to kill the process 25345 to continue the rest of the checks. 
The child-test is the only one which fails, all others pass. 
 
I used gcc3.3.3 for compiling. The check hangs on both platforms 
(solaris SPARC and solaris/x86). 
 
-- Guenter
Comment 1 Niki W. Waibel 2004-05-19 00:25:17 UTC
can confirm this.
using solaris8 (SunOS blade1000-2 5.8 Generic_108528-16 sun4u sparc SUNW,
Sun-Blade-1000 Solaris), gcc-3.4.0, binutils-2.14.90.0.7, libiconv-1.9.2, 
gettext-0.14.1.
maybe you can find the following information useful:
===
nwaibel@blade1000-2 /tmp/glib-2.4.1 $ ps -ef | grep test
 nwaibel  6068  6021  0 02:19:29 pts/10   0:00 /tmp/glib-2.4.1/tests/.
libs/child-test
 nwaibel  6103 14043  0 02:20:41 pts/10   0:00 grep test
nwaibel@blade1000-2 /tmp/glib-2.4.1 $ pfiles 6068
6068:   /tmp/glib-2.4.1/tests/.libs/child-test
  Current rlimit: 256 file descriptors
   0: S_IFCHR mode:0620 dev:118,0 ino:924196 uid:1062 gid:7 rdev:24,10
      O_RDWR
   1: S_IFCHR mode:0620 dev:118,0 ino:924196 uid:1062 gid:7 rdev:24,10
      O_RDWR
   2: S_IFCHR mode:0620 dev:118,0 ino:924196 uid:1062 gid:7 rdev:24,10
      O_RDWR
nwaibel@blade1000-2 /tmp/glib-2.4.1 $ pldd 6068
6068:   /tmp/glib-2.4.1/tests/.libs/child-test
/tmp/glib-2.4.1/gthread/.libs/libgthread-2.0.so.0.400.1
/tmp/glib-2.4.1/glib/.libs/libglib-2.0.so.0.400.1
/misc/sparc-sun-solaris2.8/opt/libiconv/1.9.2/lib/libiconv.so.2.2.0
/misc/sparc-sun-solaris2.8/opt/gettext/0.14.1/lib/libintl.so.3.4.0
/usr/lib/libthread.so.1
/usr/lib/libc.so.1
/usr/lib/libdl.so.1
/usr/platform/sun4u-us3/lib/libc_psr.so.1
nwaibel@blade1000-2 /tmp/glib-2.4.1 $ pstack 6068
6068:   /tmp/glib-2.4.1/tests/.libs/child-test
-----------------  lwp# 1 / thread# 1  --------------------
 ff099f48 poll     (0, 0, ffffffff)
 ff25aef4 poll     (210a8, 0, 1, 22200, 0, 1) + 34
 ff2b32ec g_main_loop_run (23028, 1, 1, 14, 0, 2) + 32c
 00010aac main     (0, ffbef61c, ffbef624, 20de0, 0, 0) + ac
 0001075c _start   (0, 0, 0, 0, 0, 0) + 5c
-----------------  lwp# 2 / thread# 2  --------------------
 ff09b70c signotifywait ()
 ff24ed84 _dynamiclwps (ff26e000, 59, 0, 0, ffbeef8c, 4) + 1c
 ff252060 thr_yield (0, 0, 0, 0, 0, 0) + 8c
-----------------  lwp# 3  --------------------------------
 ff09bd70 lwp_cond_wait (ff275550, ff275560, ff26edb8)
 ff2490dc _age     (0, ff26eda4, ff26e000, 0, 0, 4) + 74
 ff09930c _door_return (ff0f5cb0, ff24a770, 0, 0, 0, 0) + 68
-----------------  lwp# 4  --------------------------------
 ff0992b0 door     (0, 0, 0, 0, ff0e5d10, 4)
 ff256bd4 _sc_door_func (3, ff26f690, ff26f6a8, 3, ff26e000, 1) + 54
 ff24a770 _lwp_start (ff0e5d70, 0, 6000, ff0f5b74, 0, 0) + 18
 ff252060 thr_yield (0, 0, 0, 0, 0, 0) + 8c
--------------------------  thread# 3  --------------------
 ff24ddec _reap_wait (ff2729e8, 204f0, 0, ff26e000, 0, 0) + 38
 ff24db44 _reaper  (ff26ee38, ff274748, ff2729e8, ff26ee10, 1, fe400000) + 38
 ff25b734 _thread_start (0, 0, 0, 0, 0, 0) + 40
nwaibel@blade1000-2 /tmp/glib-2.4.1 $ truss -f -p 6068
6068:   poll(0x00000000, 0, -1)         (sleeping...)
6068:   signotifywait()                 (sleeping...)
6068:   lwp_cond_wait(0xFF275550, 0xFF275560, 0xFF26EDB8) (sleeping...)
6068:   door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
===
Comment 2 Matthias Clasen 2004-07-04 06:15:04 UTC
*** Bug 145181 has been marked as a duplicate of this bug. ***
Comment 3 Ivan Noris 2004-08-16 07:08:30 UTC
Confirmed, still in glib 2.4.6 on Solaris 9/SPARC:

make[4]: Entering directory
`/net/poseidon/export/BGSgnome/garnome-2.6.2_bgs/platform/glib/work/main.d/glib-2.4.6/tests'
PASS: atomic-test
PASS: array-test
PASS: cxx-test
child 2231 (ttl 10) exited, status 0
^Cmake[4]: *** [check-TESTS] Interrupt

I need to comment child-test in Makefile to be able to finish testing.
Comment 4 Matthias Clasen 2004-11-08 15:45:52 UTC
I changed GLib to use sigaction instead of signal. The changes
will be in 2.4.8/2.5.6.

Does this problem still occur ?

Comment 5 Matthias Clasen 2005-05-18 04:01:17 UTC
No response, considering this fixed.