gvim runs away with CPU while terminal vim does not

Bug #849806 reported by Nick Moffitt
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Since upgrading to oneiric I find that gvim can go into a state where it is regularly unresponsive, and that it goes grey for several seconds at a time. I do not have this problem running vim in a terminal. I have a rather customized configuration, so I will try to attach my configs next.

It seems to depend on what my first keystroke is. If I gvim a file and hit 'j' first, it goes grey and does this for every keystroke I hit. If I instead hit 't' and then a character on the line, everything appears fine and I can hjkl around without trouble.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: vim 2:7.3.154+hg~74503f6ee649-2ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-11.17-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Wed Sep 14 09:54:12 2011
EcryptfsInUse: Yes
ProcEnviron:
 LC_COLLATE=C
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: vim
UpgradeStatus: Upgraded to oneiric on 2011-09-13 (0 days ago)

Revision history for this message
Nick Moffitt (nick-moffitt) wrote :
description: updated
Revision history for this message
Nick Moffitt (nick-moffitt) wrote :

further clarification: if I force-quit the grey vim, I find a gvim process consuming 100% CPU that must be kill -9'd to clear out.

here's my .vimrc

Revision history for this message
Nick Moffitt (nick-moffitt) wrote :

Here's my .gvimrc

Revision history for this message
Nick Moffitt (nick-moffitt) wrote :

I'm happy to supply portions of my .vim/ dir on request. I've got a bunch of disabled plugins, and I've got the color scheme mentioned and pyflakes.vim.

The lockups seem to happen at each keystroke.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in vim (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Wayne Goodman (goodmami) wrote :

I also see this problem. When running gvim from the command line, I get the following warnings:

(gvim:4757): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(gvim:4757): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(gvim:4757): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(gvim:4757): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(gvim:4757): Gnome-WARNING **: Accessibility: failed to find module 'libgail-gnome' which is needed to make this application accessible

(gvim:4757): Gnome-WARNING **: Accessibility: failed to find module 'libgail' which is needed to make this application accessible

** (gvim:4757): WARNING **: (../../atk-adaptor/bridge.c:669):adaptor_init: runtime check failed: (root)

I do not see gvim spiking the CPU though. And I notice these problems even if I move all my vim configs out of the way (e.g. .vimrc > .vimrc.bak). Also note that I do have the "libgail-3-common" and "libgail18" packages installed. I do not see a "libgail-gnome" package to install.

Running "gvim -f" does nothing for the warnings, but does make it responsive.

Revision history for this message
Michael Wayne Goodman (goodmami) wrote :

My problem is closer to another bug (https://bugs.launchpad.net/ubuntu/+source/vim/+bug/856779), and this one may or may not be a duplicate of it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.