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 610784 - array test failing
array test failing
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
2.23.x
Other Linux
: Normal major
: ---
Assigned To: gtkdev
gtkdev
: 613060 626586 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-02-23 09:11 UTC by Allison Karlitskaya (desrt)
Modified: 2010-08-11 01:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Hack up glib/tests/array-test to not actually malloc 2G (1.90 KB, patch)
2010-06-24 18:28 UTC, Dan Winship
committed Details | Review

Description Allison Karlitskaya (desrt) 2010-02-23 09:11:31 UTC
the builder just threw this error

  /array/large-size:                                                   **
ERROR:array-test.c:121:array_large_size: stderr of child process (12489) failed to match: *failed to allocate 2147483648 bytes*
/bin/sh: line 1: 12238 Terminated              ../../glib/gtester --verbose testing option-context keyfile fileutils printf rand strfuncs string markup-subparser array-test hostutils gvariant
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
FAIL
GTester: last random seed: R02S002932f92ed50107e0ef479e31997597
Comment 1 Sven Herzberg 2010-04-20 13:42:54 UTC
*** Bug 613060 has been marked as a duplicate of this bug. ***
Comment 2 Sven Herzberg 2010-04-20 13:43:55 UTC
Bug 568760 contains information how to make this run faster/require less memory, etc.
Comment 3 Dan Winship 2010-06-24 18:28:48 UTC
Created attachment 164539 [details] [review]
Hack up glib/tests/array-test to not actually malloc 2G

Fixes the test on machines where that allocation takes very long.

Tested with and without the garray.c patch from 568760 to verify that
it will still catch a regression there.
Comment 4 Colin Walters 2010-06-24 18:53:32 UTC
Review of attachment 164539 [details] [review]:

YES PLEASE
Comment 5 Dan Winship 2010-06-24 20:03:27 UTC
Attachment 164539 [details] pushed as 1ad08a6 - Hack up glib/tests/array-test to not actually malloc 2G
Comment 6 Dan Winship 2010-08-11 01:34:02 UTC
*** Bug 626586 has been marked as a duplicate of this bug. ***