[xmonad] lockup when starting gvim in terminal

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Wed Sep 21 14:35:18 CEST 2011


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?

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com



More information about the xmonad mailing list