GNU bug report logs - #63408
29.0.90; <mouse-2> on misspelled word hangs X11

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: emacs-bugs@HIDDEN; merged with #63404, #63406, #63407; dated Wed, 10 May 2023 01:19:04 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 63404 63406 63407 63408. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> Full text available.

Message received at submit <at>

Received: (at submit) by; 10 May 2023 01:18:12 +0000
From debbugs-submit-bounces <at> Tue May 09 21:18:12 2023
Received: from localhost ([]:44861
	by with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1pwYT5-0000hy-TZ
	for submit <at>; Tue, 09 May 2023 21:18:12 -0400
Received: from ([]:51378)
 by with esmtp (Exim 4.84_2)
 (envelope-from <emacs-bugs@HIDDEN>) id 1pwUzJ-00006R-JO
 for submit <at>; Tue, 09 May 2023 17:35:15 -0400
Received: from ([2001:470:142:3::10])
 by with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <emacs-bugs@HIDDEN>)
 id 1pwUzJ-00018i-8y
 for bug-gnu-emacs@HIDDEN; Tue, 09 May 2023 17:35:13 -0400
Received: from ([])
 by with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <emacs-bugs@HIDDEN>)
 id 1pwUzG-0007hf-4Z
 for bug-gnu-emacs@HIDDEN; Tue, 09 May 2023 17:35:13 -0400
Received: from (
 by (8.17.1/8.17.1) with ESMTPS id 349KZn6f1784732
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL)
 for <bug-gnu-emacs@HIDDEN>; Tue, 9 May 2023 15:35:49 -0500
Received: (from dwm@localhost)
 by (8.17.1/8.17.1/Submit) id 349KZtIF604713
 for bug-gnu-emacs@HIDDEN; Tue, 9 May 2023 15:35:55 -0500
Date: Tue, 09 May 2023 15:35:55 -0500
From: emacs-bugs@HIDDEN
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.90; <mouse-2> on misspelled word hangs X11
Message-ID: <20230509203555.-wzl9%emacs-bugs@HIDDEN>
User-Agent: s-nail v14.9.22
Received-SPF: pass client-ip=;
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 09 May 2023 21:18:05 -0400
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <>
List-Unsubscribe: <>, 
 <mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>, 
 <mailto:debbugs-submit-request <at>>
Errors-To: debbugs-submit-bounces <at>
Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
X-Spam-Score: -2.4 (--)

From: Doug Maxey <emacs-bugs@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.90; <mouse-2> on misspelled word hangs X11
Date: Tue, 09 May 2023 13:18:04 -0500
--text follows this line--

The setup:
- rocky-9 x86_64.
- The graphics session is running in "classic", i.e. Xorg, not wayland.
- multi-monitors joined to single display.
- emacs-lucid from locally built rpm (non-rpm local build behaves same).
- buffer major-mode does not seem to matter.
- <mouse-2> on a misspelled word.

The result is other than having control of the sprite (the mouse can
move the sprite around normally. and I can switch tty with Ctrl-Alt-N)
there is NO other input accepted.  Cannot select any other window than
the last (emacs frame in this case), and there is no keyboard or mouse
button input.  There are no visible change on the screen, no dialog box
pops up.

The net effect is that the screen is frozen, save for the moving sprite.

Have tried waiting it out overnight, with no change.

I have managed to do this several times, the simplest recovery is a
reboot (a PITA as I have lots of things open), as it seems to have
curdled something in the X server, just a log out and back in does not
seem to fix.

A workaround discovered by accident, when trying to find out the command
the <mouse-2> on the misspelled word invokes, <F1-k> when over the
misspelling, seems to stop the hang from happening after the
documentation is displayed, and the dialog box pops up when <mouse-2> is
pressed on the misspelling, and it works as expected.

In GNU Emacs 29.0.90 (build 1, x86_64-redhat-linux-gnu, X toolkit, cairo
 version 1.17.4, Xaw3d scroll bars) of 2023-05-05 built on
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Rocky Linux 9.1 (Blue Onyx)

Configured using:
 'configure --build=x86_64-redhat-linux-gnu
 --host=x86_64-redhat-linux-gnu --program-prefix=
 --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
 --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
 --libexecdir=/usr/libexec --localstatedir=/var
 --sharedstatedir=/var/lib --mandir=/usr/share/man
 --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
 --with-rsvg --with-tiff --with-xft --with-xpm --with-gpm=no
 --with-modules --with-harfbuzz --with-cairo --with-json
 --with-native-compilation --with-tree-sitter --with-x-toolkit=lucid
 build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu
 CC=gcc 'CFLAGS=-DMAIL_USE_LOCKF -O2 -flto=auto -ffat-lto-objects
 -fexceptions -g -grecord-gcc-switches -pipe -Wall
 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2
 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
 -fcf-protection' LDFLAGS=-Wl,-z,relro
 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig CXX=g++
 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g
 -grecord-gcc-switches -pipe -Wall -Werror=format-security
 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2
 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection

Configured features:

Important settings:
  value of $EMACSLOADPATH: $HOME/.config/emacs/lisp:/data/sb/bats-mode:$HOME/lfin/lisp:/usr/local/lisp/packages:
  value of $LANG: C
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Text

Minor modes in effect:
  magit-auto-revert-mode: t
  override-global-mode: t
  global-git-commit-mode: t
  shell-dirtrack-mode: t
  server-mode: t
  dwm-time-keys: t
  flyspell-mode: t
  which-function-mode: t
  savehist-mode: t
  save-place-mode: t
  global-whitespace-mode: t
  global-auto-revert-mode: t
  desktop-save-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  auto-fill-function: yas--auto-fill
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  abbrev-mode: t

Load-path shadows:
/usr/local/lisp/packages/pydoc-0.1/pydoc hides $HOME/.config/emacs/lisp/pydoc
/usr/local/lisp/packages/transient-0.3.7/transient hides /usr/share/emacs/29.0.90/lisp/transient
/usr/local/lisp/packages/xref-1.6.3/xref hides /usr/share/emacs/29.0.90/lisp/progmodes/xref
$HOME/.config/emacs/lisp/sieve-mode hides /usr/share/emacs/29.0.90/lisp/net/sieve-mode

(shadow sort mail-extr emacsbug shortdoc help-fns radix-tree rst gud
misearch multi-isearch tabify vc-cvs vc-rcs log-view vc bug-reference
magit-submodule magit-obsolete magit-blame magit-stash magit-reflog
magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote
magit-commit magit-sequence magit-notes magit-worktree magit-tag
magit-merge magit-branch magit-reset magit-files magit-refs magit-status
magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode
diff magit-core magit-autorevert magit-margin magit-transient
magit-process mule-util jka-compr dired-aux sh-script smie executable
eww xdg url-queue shr pixel-fill kinsoku url-file svg xml mm-url gnus
nnheader range markdown-mode edit-indirect color vc-git diff-mode
vc-dispatcher jinja2-mode sgml-mode dom ansible-minor-mode yasnippet
yaml-mode dwm-python pydoc org ob ob-tangle ob-ref ob-lob ob-table
ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote
org-faces org-entities noutline outline ob-emacs-lisp ob-core ob-eval
org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs
cal-menu calendar cal-loaddefs org-version org-compat org-macs goto-addr
elpy advice elpy-rpc pyvenv eshell esh-cmd esh-ext esh-opt esh-proc
esh-io esh-arg esh-module esh-groups esh-util elpy-shell elpy-profile
elpy-django s elpy-refactor ido files-x etags fileloop generator xref
cus-edit wid-edit python project compat pcase treesit
use-package-bind-key bind-key use-package-core git-commit with-editor
shell pcomplete server log-edit message sendmail yank-media puny dired
dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config
gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils
gmm-utils mailheader pcvs-util add-log magit-mode transient edmacro
format-spec magit-git magit-section magit-utils crm dash vlc-minor-mode
dwm-time-keys easy-mmode perl-stuff cperl-mode facemenu mouse-copy
mkwdlist generic local-generic generic-x flyspell ispell ffap thingatpt
dwm kmacro cc-mode cc-fonts cc-guess cc-menus cc-styles cc-align cc-cmds
cc-engine cc-vars cc-defs dwm-c-mode edebug debug backtrace find-func
vscode-dark-plus-theme which-func imenu savehist saveplace grep
whitespace autorevert filenotify desktop frameset cus-load
xref-autoloads sqlformat-autoloads reformatter-autoloads
perl-doc-autoloads websocket-autoloads magit-autoloads
magit-section-autoloads json-reformat-autoloads jinx-autoloads
gnu-elpa-keyring-update-autoloads transient-autoloads devdocs-autoloads
delight-autoloads csv-mode-autoloads csv-autoloads compat-autoloads
bash-completion-autoloads s-autoloads php-mode-autoloads popup-autoloads
compile text-property-search comint ansi-osc ansi-color ring pp info
finder-inf package browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie generate-lisp-file url-domsuf
url-util mailcap url-handlers url-parse auth-source eieio eieio-core
password-cache json map byte-opt url-vars comp comp-cstr warnings icons
subr-x rx cl-seq cl-macs gv cl-extra help-mode cl-loaddefs cl-lib
bytecomp byte-compile rmc iso-transl tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo x-toolkit
xinput2 x multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 703379 201767)
 (symbols 48 40116 8)
 (strings 32 198676 53509)
 (string-bytes 1 5967080)
 (vectors 16 83138)
 (vector-slots 8 2220180 334346)
 (floats 8 412 938)
 (intervals 56 3794 656)
 (buffers 984 29))

take care,

Acknowledgement sent to emacs-bugs@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#63408; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 10 May 2023 11:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.