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 136284 - make check: thread-test failed
make check: thread-test failed
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
2.3.x
Other HP-UX
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2004-03-05 14:28 UTC by Jonas Jonsson
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
patch (4.09 KB, patch)
2004-03-05 20:49 UTC, Sebastian Wilhelmi
none Details | Review

Description Jonas Jonsson 2004-03-05 14:28:47 UTC
glib 2.3.5

Pid 18299 received a SIGSEGV for stack growth failure.
Possible causes: insufficient memory or swap space,
or stack size exceeded maxssiz. 
/bin/sh: 18299 Memory fault(coredump)
FAIL: thread-test

The crash occurs in gatomic.c:556 in the function g_atomic_pointer_get() ...

I did 'bt' in gdb, but I got bored when looking at all those thousands of
stack-frames, so I stopped looking after 1070-something stackframes ....
Comment 1 Sebastian Wilhelmi 2004-03-05 20:48:43 UTC
Ok, this of couse can't work. An infinite recursion for
G_MEMORY_BARRIER_NEEDED and DEFINE_WITH_MUTEXES.

A fix is attached.

Matthias, can you please check that in, as I'm not home now (and wont
be for 2 weeks) and I *cough* forgot my CVS-password. It's resting
peacefully in my .cvspass at home. I you can read this I at least
did't forget my Bugzilla password.
Comment 2 Sebastian Wilhelmi 2004-03-05 20:49:12 UTC
Created attachment 25240 [details] [review]
patch
Comment 3 Matthias Clasen 2004-03-05 21:14:07 UTC
Committed.