[xmonad] lockup when starting gvim in terminal

Anthony Campbell ac at acampbell.org.uk
Wed Sep 21 16:58:52 CEST 2011


On 21 Sep 2011, Ivan Lazar Miljenovic wrote:
> On 21 September 2011 22:10, Anthony Campbell <ac at acampbell.org.uk> wrote:
> > If I start gvim (GUI version of vim) in a terminal I get an error
> > message and gvim locks up. The message is:
> >
> > ----------------------------------------------------------------------
> > E852: The child process failed to start the GUI[xcb] Unknown sequence
> > number while processing queue
> >
> > [xcb] Most likely this is a multi-threaded client and XInitThreads has
> > not been called
> >
> > [xcb] Aborting, sorry about that. gvim: ../../src/xcb_io.c:273:
> > poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
> > --------------------------------------------------------------------------
> >
> > I can prevent it from happening, either by starting gvim with dmenu or
> > by doing "gvim &" in a terminal. I think gvim normally starts as a child
> > process from a terminal.
> >
> > Is this a bug? Any way of preventing the error apart from those I've
> > mentioned/
> 
> I doubt it's an xmonad issue... but anyway:
> 
> So, "gvim" fails but "gvim &" works?  That sounds really weird...
> 
> Does it make a difference which terminal you use (xterm vs konsole vs etc.)?
> 
> Which shell are you using? bash?
> 
> Which distro?
> -- 

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.


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




More information about the xmonad mailing list