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 168144 - child-test is still hanging
child-test is still hanging
Status: RESOLVED DUPLICATE of bug 168352
Product: glib
Classification: Platform
Component: general
2.4.x
Other HP-UX
: High critical
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2005-02-22 12:41 UTC by martin01
Modified: 2005-02-24 20:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description martin01 2005-02-22 12:41:38 UTC
Steps to reproduce:
always


Stack trace:
glib-2.4.8/tests # make  check-TESTS

...
creating uri-test
PASS: atomic-test
PASS: array-test
PASS: cxx-test

the check program hangs at this point

# ps -ef
    root  3894  3884  0 13:33:04 pts/tb    0:00 <defunct>
    root  3895  3884  0 13:33:04 pts/tb    0:00 <defunct>
    root  3856  3855  0 13:33:04 pts/tb    0:00 /bin/sh -c failed=0; all=0; 
xfail=0; xpass=0; skip=0;  srcdi
    root  3855  2586  0 13:33:04 pts/tb    0:00 make check-TESTS


# /usr/local/pa20_32/bin/gcc -v
Reading specs from /usr/local/pa20_32/lib/gcc-lib/hppa2.0w-hp-
hpux11.00/3.3.3/specs
Configured with: ../src/configure --enable-languages=c,c++ --
prefix=/usr/local/pa20_32 --with-local-prefix=/usr/local/pa20_32 --with-gnu-as -
-with-as=/usr/local/pa20_32/bin/as --with-ld=/usr/ccs/bin/ld --disable-shared --
disable-nls
Thread model: single
gcc version 3.3.3


same problem as here reported
http://bugzilla.gnome.org/show_bug.cgi?id=136867

/opt/gnome-2.6.2/bin # gdb gnome-terminal
HP gdb 2.0
Copyright 1986 - 1999 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 2.0 (based on GDB 4.17-hpwdb-980821)
Wildebeest is free software, covered by the GNU General Public License, and
you are welcome to change it and/or distribute copies of it under certain
conditions.  Type "show copying" to see the conditions.  There is
absolutely no warranty for Wildebeest.  Type "show warranty" for details.
Wildebeest was built for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00.
..
(gdb) r
Starting program: /opt/gnome-2.6.2/bin/gnome-terminal

[New process 3907]
Detaching after fork from process 3907

Other information:
Comment 1 martin01 2005-02-22 13:00:06 UTC
futher information: glib-2.4.8 on hpux 11.00
Comment 2 martin01 2005-02-23 10:03:05 UTC
the child-test only runs, if I use this patch:

--- gmain.c.cln 2005-02-23 10:20:33.000000000 +0100
+++ gmain.c     2005-02-23 10:22:09.000000000 +0100
@@ -3574,7 +3574,11 @@

   action.sa_handler = g_child_watch_signal_handler;
   sigemptyset (&action.sa_mask);
-  action.sa_flags = SA_RESTART | SA_NOCLDSTOP;
+#ifdef __hpux
+  action.sa_flags = SA_NOCLDSTOP;
+#else
+   action.sa_flags = SA_RESTART | SA_NOCLDSTOP;
+#endif
   sigaction (SIGCHLD, &action, NULL);
 }

@@ -3639,7 +3643,11 @@

   action.sa_handler = g_child_watch_signal_handler;
   sigemptyset (&action.sa_mask);
-  action.sa_flags = SA_RESTART | SA_NOCLDSTOP;
+#ifdef __hpux
+  action.sa_flags = SA_NOCLDSTOP;
+#else
+   action.sa_flags = SA_RESTART | SA_NOCLDSTOP;
+#endif
   sigaction (SIGCHLD, &action, NULL);
 }

this is the result of child-test

creating uri-test
PASS: atomic-test
PASS: array-test
PASS: cxx-test
child 3239 (ttl 10) exited, status 0
child 3240 (ttl 20) exited, status 0
PASS: child-test
PASS: completion-test
PASS: date-test
PASS: dirname-test

** (process:3272): WARNING **: g_mkstemp works even if template doesn't end in 
XXXXXX
PASS: file-test
PASS: env-test
gio-test: child writing 8+3879 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 3879 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+1494 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 1494 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+2230 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 2230 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+649 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 649 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+2931 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 2931 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+3727 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 3727 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+1110 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 1110 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+512 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 512 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+666 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 666 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+2326 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 2326 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+2900 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 2900 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+3053 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 3053 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+3106 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 3106 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+2879 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 2879 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+3426 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 3426 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+2172 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 2172 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+2594 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 2594 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+1969 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 1969 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+4136 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 4136 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+4215 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 4215 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+1565 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 1565 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+361 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 361 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+4824 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 4824 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+1569 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 1569 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+692 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 692 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+2936 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 2936 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+1793 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 1793 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+4679 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 4679 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+1797 bytes to 6
gio-test: ...from 5: IN
gio-test: ...from 5: 1797 bytes
gio-test: ...from 5: OK
gio-test: child writing 8+204 bytes to 6
gio-test: child exiting, closing 6
gio-test: ...from 5: IN
gio-test: ...from 5: 204 bytes
gio-test: ...from 5: OK
gio-test: ...from 5: IN
gio-test: ...from 5: EOF
PASS: gio-test
PASS: hash-test
 BLOCKING FALSE

Line one
Line two
Line three
/* Hello */
\x1234\x567890\x6666
read 62 bytes, wrote 62 bytes
PASS: iochannel-test
PASS: list-test

GThread-ERROR **: file gthread-posix.c: line 304 (): error 'Function is not 
available' during 'pthre
ad_attr_init (&attr)'
aborting...
/bin/sh: 3328 Abort(coredump)
FAIL: mainloop-test
PASS: markup-escape-test
PASS: module-test
PASS: node-test
PASS: patterntest
PASS: printf-test
seed: 1109151128
PASS: queue-test
PASS: qsort-test
PASS: rand-test
PASS: relation-test
PASS: shell-test
PASS: slist-test
The following errors are supposed to occur:
Error (normal, supposed to happen): Failed to execute child 
process "nonexistent_application" (No su
ch file or directory)
Error (normal, supposed to happen): Failed to execute child 
process "nonexistent_application" (No su
ch file or directory)
Errors after this are not supposed to happen:
PASS: spawn-test
PASS: strfunc-test
PASS: string-test
PASS: strtod-test

GThread-ERROR **: file gthread-posix.c: line 304 (): error 'Function is not 
available' during 'pthre
ad_attr_init (&attr)'
aborting...
/bin/sh: 3477 Abort(coredump)
FAIL: thread-test

GThread-ERROR **: file gthread-posix.c: line 304 (): error 'Function is not 
available' during 'pthre
ad_attr_init (&attr)'
aborting...
/bin/sh: 3487 Abort(coredump)
FAIL: threadpool-test
PASS: tree-test
PASS: type-test
Cannot set locale to tr_TR, skipping
Cannot set locale to tr_TR, skipping
Cannot set locale to tr_TR, skipping
Cannot set locale to tr_TR.UTF-8, skipping
Cannot set locale to tr_TR.UTF-8, skipping
Cannot set locale to tr_TR.UTF-8, skipping
Cannot set locale to lt_LT, skipping
Cannot set locale to lt_LT, skipping
Cannot set locale to lt_LT, skipping
Cannot set locale to lt_LT, skipping
Cannot set locale to lt_LT, skipping
Cannot set locale to lt_LT, skipping
Cannot set locale to lt_LT, skipping
Cannot set locale to lt_LT, skipping
Cannot set locale to lt_LT, skipping
Cannot set locale to lt_LT, skipping
Cannot set locale to lt_LT, skipping
Cannot set locale to lt_LT.UTF-8, skipping
Cannot set locale to lt_LT.UTF-8, skipping
Cannot set locale to lt_LT.UTF-8, skipping
Cannot set locale to lt_LT.UTF-8, skipping
Cannot set locale to lt_LT.UTF-8, skipping
Cannot set locale to lt_LT.UTF-8, skipping
Cannot set locale to lt_LT.UTF-8, skipping
Cannot set locale to lt_LT.UTF-8, skipping
Cannot set locale to lt_LT.UTF-8, skipping
Cannot set locale to lt_LT.UTF-8, skipping
Cannot set locale to lt_LT.UTF-8, skipping
PASS: unicode-caseconv
PASS: unicode-encoding
.....................................................................
.................PASS: uri-test
Test failed: unexpected error on ./markups/fail-1.gmarkup
FAIL: run-markup-tests.sh
=====================================================================
4 of 37 tests failed
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=glib
=====================================================================
make: *** [check-TESTS] Error 1
mzfem_root:/data/GARNOME/garnome-2.6.2/platform/glib/work/main.d/glib-
2.4.8/tests #
Comment 3 Sebastian Wilhelmi 2005-02-24 20:20:59 UTC

*** This bug has been marked as a duplicate of 168352 ***