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 626586 - array-test fails on array/large_size with *failed to allocate 2147483648 bytes*
array-test fails on array/large_size with *failed to allocate 2147483648 bytes*
Status: RESOLVED DUPLICATE of bug 610784
Product: glib
Classification: Platform
Component: general
2.24.x
Other Mac OS
: Normal critical
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-08-11 00:58 UTC by margali
Modified: 2010-08-11 01:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description margali 2010-08-11 00:58:47 UTC
make check fails for glib 2.24.1:

TEST: array-test... (pid=13155)
  /array/append:                                                       OK
  /array/prepend:                                                      OK
  /array/ref-count:                                                    OK
  /array/large-size:                                                   **
ERROR:array-test.c:121:array_large_size: stderr of child process (13170) failed to match: *failed to allocate 2147483648 bytes*
FAIL
GTester: last random seed: R02S379ea58b019bcc2fe5b3b6a6d81cf2bc
make[5]: *** [test] Error 143
make[4]: *** [test] Error 2
make[3]: *** [test] Error 2
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2

array-test.c includes g_test_bug number 568760 but I gather this has been resolved so I'm not sure it is the same issue.

glib was compiled with default settings:
./configure
make

OS: 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc

compiler; powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5370)

I tried compiling glib 2.25.10 to see if the problem was still present but unfortunately that code fails to compile with a libtool error.

Happy to provide further information if told what might be helpful.
Comment 1 Dan Winship 2010-08-11 01:34:02 UTC
already fixed in master (and the problem was with the test case, not with glib itself.)

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