gvim freezes when started from a terminal

Bug #877193 reported by Jonas Ådahl
This bug report is a duplicate of:  Bug #856779: gvim slow to respond. Edit Remove
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After upgrading from 11.04 to 11.10 I can no longer start gvim (from vim-gnome) from a terminal. It freezes and I have to xkill / force close it. I get the following message printed to the terminal window:

   The application 'gvim' lost its connection to the display :0.0;
   most likely the X server was shut down or you killed/destroyed
   the application.

This makes sense, because I did kill/destroy the application.

If I start gvim from the unity lense it works as expected.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: vim-gnome 2:7.3.154+hg~74503f6ee649-2ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Tue Oct 18 09:49:01 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_IE.utf8
 SHELL=/bin/bash
SourcePackage: vim
UpgradeStatus: Upgraded to oneiric on 2011-10-17 (0 days ago)

Revision history for this message
Jonas Ådahl (jadahl) wrote :
Revision history for this message
JZ (jzhuge) wrote :

Same problem.

Revision history for this message
Jonas Ådahl (jadahl) wrote :

A temporary work around is to execute "gvim --nofork &" instead of just gvim to avoid a freeze.

Revision history for this message
dhcn (dhcn) wrote :

gvim -f

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
Fujisan (富士山) (fujisan) wrote :

Same problem for me on my desktop.
The weird thing is I don't have the problem on my laptop!

What can be the difference?

Packages install on both computers are the same:

vim 2:7.3.154+hg~74503f6ee649-2ubuntu3
vim-addon-manager 0.4.3ubuntu1
vim-common 2:7.3.154+hg~74503f6ee649-2ubuntu3
vim-doc 2:7.3.154+hg~74503f6ee649-2ubuntu3
vim-gnome 2:7.3.154+hg~74503f6ee649-2ubuntu3
vim-gtk 2:7.3.154+hg~74503f6ee649-2ubuntu3
vim-gui-common 2:7.3.154+hg~74503f6ee649-2ubuntu3
vim-latexsuite 20110214.1049-1
vim-runtime 2:7.3.154+hg~74503f6ee649-2ubuntu3
vim-scripts 20091011
vim-syntax-gtk 20110314-1
vim-tiny 2:7.3.154+hg~74503f6ee649-2ubuntu3

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.