[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X protocol error

From: Colin Baxter
Subject: Re: X protocol error
Date: Wed, 17 Aug 2022 15:08:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

Dear Po,

Thanks for your reply. I have narrowed the problem to the configure option
"./configure --with-x-toolkit=lucid <RET>". If I run only "./configure
<RET>", effectively using the gtk3 default setting then emacs builds

>>>>> Po Lu <luangruo@yahoo.com> writes:

    > Colin Baxter <m43cap@yandex.com> writes:
    >> On a fresh git clone of emacs and after a seemingly successful
    >> make bootstrap I get the message
    >> X protocol error: XI_BadDevice (invalid Device parameter) on
    >> protocol request 131 Serial no: 54
    >> when I attempt to launch emacs. I have no idea what the message
    >> means.
    >> Best wishes,

    > Please run Emacs under a debugger like this:

    >   (gdb) run -q -xrm "Emacs.synchronous: true"

    > and show the resulting backtrace once the breakpoint on the X
    > error handler is hit.

In an xterm, in my directory ~/git/emacs/src, if I launch gdb and then
enter your command. I get the following:

--8<---------------cut here---------------start------------->8---
gdb$ run -q -xrm "Emacs.synchronous: true"
Starting program:  -q -xrm "Emacs.synchronous: true"
No executable file specified.
Use the "file" or "exec-file" command.
--8<---------------cut here---------------end--------------->8---

I am obviously doing something stupid. I have not used gbd before so you
will have to talk me through the method in some detail. For instance,
must have compiled (made?) emacs using some debugger option? Sorry to
be dim.

Best wishes,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]