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 679306 - /thread/thread4 test fails in testsuite
/thread/thread4 test fails in testsuite
Status: RESOLVED NOTGNOME
Product: glib
Classification: Platform
Component: gthread
2.33.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2012-07-03 08:20 UTC by Priit Laes (IRC: plaes)
Modified: 2014-01-19 04:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Priit Laes (IRC: plaes) 2012-07-03 08:20:59 UTC
I'm getting following error when trying to run testsuite:

TEST: thread... (pid=13509)
  /thread/thread1:                                                     OK
  /thread/thread2:                                                     OK
  /thread/thread3:                                                     OK
  /thread/thread4:                                                     FAIL
** ERROR:thread.c:147:test_thread4: assertion failed: (thread == NULL)
GTester: last random seed: R02Sda514b89650f644d4c9b35968fc95f7d
/bin/sh: line 1: 12040 Terminated              G_DEBUG=gc-friendly MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) ../../glib/gtester --verbose testing option-context option-argv0 keyfile fileutils test-printf protocol rand strfuncs string markup-parse markup-collect markup-escape markup-subparser array-test bytes hostutils gvariant mem-overflow utf8-performance utils regex base64 sequence scannerapi shell collate utf8-pointer utf8-validate utf8-misc unicode checksum hmac hash cache date node convert list slist queue tree uri dir pattern logging error bookmarkfile gdatetime timeout environment mappedfile dataset sort atomic bitlock mutex rec-mutex rwlock once cond thread slice hook mainloop private asyncqueue 1bit-mutex 642026 642026-ec 1bit-emufutex spawn-multithreaded spawn-singlethread gwakeup gwakeup-fallback unix-multithreaded unix unix-nothreads include


Distro: Gentoo
Kernel: 3.5.0-rc2+
dev-libs/glib-2.33.3
sys-libs/glibc-2.15-r2
Comment 1 Toralf Förster 2012-09-09 11:38:17 UTC
same here for a Getnoo Linux system
Comment 2 Matthias Clasen 2012-09-09 15:30:25 UTC
Sounds like prlimit is not working on your system ?
Comment 3 Toralf Förster 2012-09-09 16:38:45 UTC
(In reply to comment #2)
> Sounds like prlimit is not working on your system ?

Well, I run into that test case issue while chrooting into an unstable Gentoo Linux image, wher I do have :

n22 / # /usr/bin/prlimit
RESOURCE   DESCRIPTION                             SOFT      HARD UNITS
AS         address space limit                unlimited unlimited bytes
CORE       max core file size                 unlimited unlimited blocks
CPU        CPU time                           unlimited unlimited seconds
DATA       max data size                      unlimited unlimited bytes
FSIZE      max file size                      unlimited unlimited blocks
LOCKS      max number of file locks held      unlimited unlimited 
MEMLOCK    max locked-in-memory address space     65536     65536 bytes
MSGQUEUE   max bytes in POSIX mqueues            819200    819200 bytes
NICE       max nice prio allowed to raise             0         0 
NOFILE     max number of open files                1024      4096 
NPROC      max number of processes                63854     63854 
RSS        max resident set size              unlimited unlimited pages
RTPRIO     max real-time priority                     0         0 
RTTIME     timeout for real-time tasks        unlimited unlimited microsecs
SIGPENDING max number of pending signals          63854     63854 
STACK      max stack size                       8388608 unlimited bytes
Comment 4 Matthias Clasen 2012-09-10 00:39:20 UTC
I actually mean the library function, see man prlimit(2)
Comment 5 Matthias Clasen 2014-01-19 04:42:08 UTC
assuming this was a problem with the prlimit() function