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 447311 - Naughty warning when starting gthumb from terminal
Naughty warning when starting gthumb from terminal
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.10.x
Other All
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
: 366634 387682 396748 445221 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-06-13 20:41 UTC by joakim
Modified: 2007-06-14 11:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Moves the calls to g_thread_init and gdk_threads_init a bit (705 bytes, patch)
2007-06-13 20:45 UTC, joakim
none Details | Review

Description joakim 2007-06-13 20:41:42 UTC
Please describe the problem:
When starting the trunk revision 1694 from a terminal the following message is output:

***MEMORY-WARNING***: gthumb[16762]: GSlice: g_thread_init() must be called before all other GLib functions; memory corruption due to late invocation of g_thread_init() has been detected; this program is likely to crash, leak or unexpectedly abort soon...


Steps to reproduce:
1. build svn trunk rev 1694 on Ubuntu Edgy
2. install it
3. issue 'gthumb' in a terminal window and watch the output 


Actual results:
The message is written and I get worried

Expected results:
No message

Does this happen every time?
yes

Other information:
This is not seen on Fedora systems according to Mike who also provided a patch I will upload shortly that will prevent the message on my system too. It is probably some kind of race condition so the bug is likely still lurking around and might pop up on other systems or again if the load situation changes.
Comment 1 joakim 2007-06-13 20:45:05 UTC
Created attachment 89907 [details] [review]
Moves the calls to g_thread_init and gdk_threads_init a bit

makes the message disappear on my Ubuntu Edgy
Comment 2 Michael Chudobiak 2007-06-14 09:46:17 UTC
The patch has been committed. It should appear in 2.10.4 and later (and trunk of course).

Thanks for testing!

- Mike
Comment 3 Michael Chudobiak 2007-06-14 11:39:41 UTC
*** Bug 445221 has been marked as a duplicate of this bug. ***
Comment 4 Michael Chudobiak 2007-06-14 11:40:15 UTC
*** Bug 387682 has been marked as a duplicate of this bug. ***
Comment 5 Michael Chudobiak 2007-06-14 11:42:00 UTC
*** Bug 396748 has been marked as a duplicate of this bug. ***
Comment 6 Michael Chudobiak 2007-06-14 11:43:00 UTC
*** Bug 366634 has been marked as a duplicate of this bug. ***