Bug#743668: vim-gtk: guicursor modifications cause warning messages to be printed to terminal

James McCoy jamessan at debian.org
Sun Apr 6 01:52:56 UTC 2014


On Fri, Apr 04, 2014 at 10:20:06PM +0000, brian m. carlson wrote:
> In my .vimrc, I have the following:
> 
> 	let &guicursor = &guicursor . ",a:blinkon0"
> 
> This causes the following warning to be printed to the terminal as soon
> as I press a key or move the window:
> 
>   (gvim:264919): GLib-CRITICAL **: Source ID 51 was not found when attempting to remove it
> 
> This, of course, messes up my prompt, which is very annoying.
> 
> I've had this setting in my .vimrc for years, and I believe only the
> last update of the package has caused this issue to appear.

It was actually the update of libglib2.0-0 to 2.40.0:

   - g_source_remove() will now throw a critical in the case that you
     try to remove a non-existent source.  We expect that there is some
     code in the wild that will fall afoul of this new critical but
     considering that we now reuse source IDs, this code is already
     broken and should probably be fixed.

Now to figure out where Vim is screwing things up.

> I've included a vimrc file which triggers this problem.  Note that I can
> only reproduce it with that file as ~/.vimrc;

Indeed.  I tried adding your guicursor modification to my vimrc and it worked
fine.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>



More information about the pkg-vim-maintainers mailing list