[xmonad] lockup when starting gvim in terminal -Workround

Anthony Campbell ac at acampbell.org.uk
Sat Sep 24 14:01:31 CEST 2011

On 22 Sep 2011, Joachim Breitner wrote:
> Hi,
> Am Donnerstag, den 22.09.2011, 09:11 +0100 schrieb Anthony Campbell:
> > On 21 Sep 2011, Anthony Campbell wrote:
> > > It doesn't happen with Icewm. I've tried rxvt-unicode - same thing
> > > happens. I'm using Debian Sid; shell is bash.
> > > 
> > > I'll ask on the vim list as well.
> > 
> > Someone on the vim list who uses xmonad can't reproduce this bug, and I
> > still don't know why it happens. But I've found a simple workround,
> > which is to alias gvim to gvim -f. This prevents gvim from forking. Not
> > an ideal solution but at least it doesn't crash.
> I use Debian sid and gvim a lot, and have not yet observed anything like
> that... we definitely need more hints before we can do something about
> this.
> Greetings,
> Joachim
After some more experimenting, I've discovered the following:

The crash only occurs if the terminal from which I start gvim is NOT
fullscreen. If I try to start it from the first teminal I open after
starting xmonad, it does crash even though the terminal is fullscreen.

In that case (starting from first terminal opened), I get two windows,
one with xterm, the other with gvim. If I switch to the xterm and close
it, gvim is then fullscreen and works correctly.

So provided I always start from a fullscreen terminal there is no

Any explanation for this?

Anthony Campbell - ac at acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at

More information about the xmonad mailing list