GNOME Bugzilla – Bug 447311
Naughty warning when starting gthumb from terminal
Last modified: 2007-06-14 11:43:00 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.
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
The patch has been committed. It should appear in 2.10.4 and later (and trunk of course). Thanks for testing! - Mike
*** Bug 445221 has been marked as a duplicate of this bug. ***
*** Bug 387682 has been marked as a duplicate of this bug. ***
*** Bug 396748 has been marked as a duplicate of this bug. ***
*** Bug 366634 has been marked as a duplicate of this bug. ***