Patch for warning with glib 2.10+

James Vega jamessan at debian.org
Sat Jul 7 19:45:55 UTC 2007


Bram,

When using Vim (built with Gnome support) on a system with glib 2.10 or
newer, Vim will issue the following warning:

***MEMORY-WARNING***: gvim[11234]: 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...

This occurs when starting gvim or invoking "vim --help" (since that
causes Vim to print out the Gnome help as well).  The attached patch
addresses the problem as described at
<http://lists.debian.org/debian-devel/2007/06/msg01008.html>.

James
-- 
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gui_gtk_x11.c_g_thread_init.diff
Type: text/x-diff
Size: 320 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20070707/d75144e8/attachment-0001.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20070707/d75144e8/attachment-0001.pgp 


More information about the pkg-vim-maintainers mailing list