From unknown Sun Aug 17 22:13:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44930: 27.1; X protocol error: BadMatch (...) on protocol request 73 Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Nov 2020 19:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44930 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 44930@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16065921776495 (code B ref -1); Sat, 28 Nov 2020 19:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Nov 2020 19:36:17 +0000 Received: from localhost ([127.0.0.1]:49127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kj612-0001gg-RR for submit@debbugs.gnu.org; Sat, 28 Nov 2020 14:36:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:36610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kj60z-0001gY-Vr for submit@debbugs.gnu.org; Sat, 28 Nov 2020 14:36:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kj60z-0004Pa-Na for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2020 14:36:13 -0500 Received: from smtp-clients1.isti.cnr.it ([146.48.28.36]:60404) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kj60v-0005gT-6d for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2020 14:36:12 -0500 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) (Authenticated sender: pot) by smtp-clients1.isti.cnr.it (Postfix) with ESMTPSA id 9D3D6B0833 for ; Sat, 28 Nov 2020 20:36:06 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at smtp-out.isti.cnr.it Received: from pot by tucano.isti.cnr.it with local (Exim 4.94) (envelope-from ) id 1kj60s-0069W8-6x for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2020 20:36:06 +0100 From: Francesco =?UTF-8?Q?Potort=C3=AC?= Date: Sat, 28 Nov 2020 20:36:06 +0100 Organization: X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: Received-SPF: softfail client-ip=146.48.28.36; envelope-from=pot@gnu.org; helo=smtp-clients1.isti.cnr.it X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This looks like a regression since it has happened only since using Emacs 27 (I had Emacs 26 running since a long time). >From the local machine, I run ssh on the remote one. I launch Screen and then I execute Emacs in text mode. I use Screen remotely via ssh. >From the text frame I create an X frame running on a remote Xpra server (which is a sort of Screen running on X), and I use the Xpra client locally. So I have an Emacs text frame on Screen and an X frame on a local Xpra client. I use (setq browse-url-browser-function 'w3m-browse-url) Sometimes, when I use browse-url on an http URL, the X frame dies, but the text frame stays alive and I can relaunch an X frame from there without problems. When the X frame dies, it leaves this error message: X protocol error: BadMatch (invalid parameter attributes) on protocol request 73 Apparently this happens only when w3m does not respond immediately and the *w3m* buffer displays a message asking to wait, but it only happened few times until now, so I am not sure. In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2020-11-08, modified by Debian built on x86-ubc-01 Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Debian GNU/Linux bullseye/sid Recent messages: Expunging deleted messages...done Saving file /home/pot/Mail/RMAIL... Wrote /home/pot/Mail/RMAIL Making completion list... Quit Saving file /home/pot/diary... Preparing diary...done Wrote /home/pot/diary user-error: No undo information in this buffer Report a bug for a [P]ackage or [F]ile: (default P) Quit Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars --without-gsettings 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs-6jKC2B/emacs-27.1+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LC_COLLATE: it_IT.UTF-8 value of $LC_CTYPE: it_IT.UTF-8 value of $LC_NUMERIC: C value of $LANG: C.UTF-8 locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: filladapt-mode: t desktop-save-mode: t epa-global-mail-mode: t shell-dirtrack-mode: t openwith-mode: t xterm-mouse-mode: t display-time-mode: t tooltip-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t Load-path shadows: ~/elisp/bhl hides /usr/share/emacs/site-lisp/bhl /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-autoloads hides /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/debian-autoloads /usr/share/emacs/site-lisp/elpa/csv-mode-1.12/csv-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/csv-mode-1.12/csv-mode-pkg /usr/share/emacs/site-lisp/elpa/csv-mode-1.12/csv-mode hides /usr/share/emacs/site-lisp/elpa-src/csv-mode-1.12/csv-mode /usr/share/emacs/site-lisp/elpa/csv-mode-1.12/csv-mode-tests hides /usr/share/emacs/site-lisp/elpa-src/csv-mode-1.12/csv-mode-tests /usr/share/emacs/site-lisp/elpa/csv-mode-1.12/csv-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/csv-mode-1.12/csv-mode-autoloads /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-el hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-el /usr/share/emacs/site-lisp/elpa/debian-el-37/gnus-BTS hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/gnus-BTS /usr/share/emacs/site-lisp/elpa/debian-el-37/preseed hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/preseed /usr/share/emacs/site-lisp/elpa/debian-el-37/deb-view hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/deb-view /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-el-autoloads hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-el-autoloads /usr/share/emacs/site-lisp/elpa/debian-el-37/apt-utils hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/apt-utils /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-bug hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-bug /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-el-pkg hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-el-pkg /usr/share/emacs/site-lisp/elpa/debian-el-37/apt-sources hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/apt-sources /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-autoloads hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-autoloads /usr/share/emacs/site-lisp/elpa/dictionary-1.10/dictionary hides /usr/share/emacs/site-lisp/elpa-src/dictionary-1.10/dictionary /usr/share/emacs/site-lisp/elpa/dictionary-1.10/link hides /usr/share/emacs/site-lisp/elpa-src/dictionary-1.10/link /usr/share/emacs/site-lisp/elpa/dictionary-1.10/dictionary-pkg hides /usr/share/emacs/site-lisp/elpa-src/dictionary-1.10/dictionary-pkg /usr/share/emacs/site-lisp/elpa/dictionary-1.10/dictionary-autoloads hides /usr/share/emacs/site-lisp/elpa-src/dictionary-1.10/dictionary-autoloads /usr/share/emacs/site-lisp/elpa/dictionary-1.10/connection hides /usr/share/emacs/site-lisp/elpa-src/dictionary-1.10/connection /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/gnuplot hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/gnuplot /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/gnuplot-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/gnuplot-mode-pkg /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-autoloads hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/debian-autoloads /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/gnuplot-context hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/gnuplot-context /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/gnuplot-gui hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/gnuplot-gui /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/gnuplot-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/gnuplot-mode-autoloads /usr/share/emacs/site-lisp/elpa/markdown-mode-2.4/markdown-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.4/markdown-mode-autoloads /usr/share/emacs/site-lisp/elpa/markdown-mode-2.4/markdown-mode hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.4/markdown-mode /usr/share/emacs/site-lisp/elpa/markdown-mode-2.4/markdown-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.4/markdown-mode-pkg ~/elisp/bibtex hides /usr/share/emacs/27.1/lisp/textmodes/bibtex ~/elisp/octave hides /usr/share/emacs/27.1/lisp/progmodes/octave /usr/share/emacs/site-lisp/flim/sasl hides /usr/share/emacs/27.1/lisp/net/sasl ~/elisp/rmailout hides /usr/share/emacs/27.1/lisp/mail/rmailout Features: (debian-bug ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util smerge-mode compare-w rmail-spam-filter wdired cal-move cal-x gnutls network-stream url-cache dabbrev rmailsort unrmail undigest shadow emacsbug two-column iso-transl edmacro latexenc grep arc-mode archive-mode url-http url-auth url-gw nsm w3m-filter w3m-cookie markdown-mode rx noutline outline macros kmacro rmailedit debug backtrace eieio-opt speedbar sb-image ezimage dframe find-func w3m-form w3m-bookmark w3m-tabmenu w3m-session w3m doc-view jka-compr image-mode exif timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util pp cl-print help-fns radix-tree mailalias rmailout rect rmailkwd shr-color cus-edit cus-start cus-load diff-mode easy-mmode diff cl-extra time-stamp dired-aux misearch multi-isearch server conf-mode sh-script executable vc-dispatcher vc-svn octave skeleton texinfo pcase tex-mode compile generic bibtex vc-filewise vc-rcs mhtml-mode css-mode smie eww mm-url gnus nnheader wid-edit url-queue url url-proxy url-privacy url-expand url-methods url-history mailcap shr url-cookie url-domsuf url-util svg xml color js imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs sgml-mode dom qp rmailmm message rmc puny rfc822 mml mml-sec gnus-util text-property-search mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 desktop frameset cal-julian solar cal-dst pot warnings rmailsum rmail rmail-loaddefs sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mime-compose epa-mail mail-utils epa derived epg epg-config view mule-util holidays hol-loaddefs appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete comint ring parse-time iso8601 time-date ls-lisp format-spec bhl visual-fill-column switch-to-shell openwith hi-lock anything-config anything advice woman man cl locate xt-mouse ffap thingatpt scroll-in-place filladapt ansi-color time quail help-mode dired-x dired dired-loaddefs generic-x disp-table finder-inf w3m-load info debian-el package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type 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 elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 705358 95183) (symbols 48 31974 0) (strings 32 148973 24999) (string-bytes 1 4675891) (vectors 16 53037) (vector-slots 8 1480670 149866) (floats 8 759 779) (intervals 56 52765 4485) (buffers 1000 123)) From unknown Sun Aug 17 22:13:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44930: I can reproduce it References: In-Reply-To: Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Nov 2020 21:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44930 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 44930@debbugs.gnu.org Received: via spool by 44930-submit@debbugs.gnu.org id=B44930.160677282121604 (code B ref 44930); Mon, 30 Nov 2020 21:47:02 +0000 Received: (at 44930) by debbugs.gnu.org; 30 Nov 2020 21:47:01 +0000 Received: from localhost ([127.0.0.1]:56935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjr0f-0005cD-2f for submit@debbugs.gnu.org; Mon, 30 Nov 2020 16:47:01 -0500 Received: from smtp-clients1.isti.cnr.it ([146.48.28.36]:33712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjr0d-0005Zg-9o for 44930@debbugs.gnu.org; Mon, 30 Nov 2020 16:46:59 -0500 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) (Authenticated sender: pot) by smtp-clients1.isti.cnr.it (Postfix) with ESMTPSA id 329A6B0833 for <44930@debbugs.gnu.org>; Mon, 30 Nov 2020 22:46:56 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at smtp-out.isti.cnr.it Received: from pot by tucano.isti.cnr.it with local (Exim 4.94) (envelope-from ) id 1kjr0a-00A7KG-KO for 44930@debbugs.gnu.org; Mon, 30 Nov 2020 22:46:56 +0100 From: Francesco =?UTF-8?Q?Potort=C3=AC?= Date: Mon, 30 Nov 2020 22:46:56 +0100 Organization: X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) In this moment I have a *w3m* buffer on a live Emacs. If I switch to it on a text frame, everything is well. If I switch to it on an X display, the frame dies (but Emacs survives). The error is X protocol error: BadMatch (invalid parameter attributes) on protocol request 73 until I don't kill the buffer, I can reproduce the error at will. I have no idea how to debug it. If I am instructed, I can try until Emacs is alive. Xpra is apparently not relevant. The same things happens on display :7 (where the Xpra server is running) and on display localhost:10.0 If I set debug-on-error this is what I read in the backtrace: Debugger entered--Lisp error: (error "X protocol error: BadMatch (invalid parameter attributes) on protocol request 73") redisplay_internal\ \(C\ function\)() From unknown Sun Aug 17 22:13:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44930: I can reproduce it Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Dec 2020 15:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44930 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Francesco =?UTF-8?Q?Potort=C3=AC?= Cc: 44930@debbugs.gnu.org Received: via spool by 44930-submit@debbugs.gnu.org id=B44930.160683565522151 (code B ref 44930); Tue, 01 Dec 2020 15:15:02 +0000 Received: (at 44930) by debbugs.gnu.org; 1 Dec 2020 15:14:15 +0000 Received: from localhost ([127.0.0.1]:32944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk7M7-0005lC-3a for submit@debbugs.gnu.org; Tue, 01 Dec 2020 10:14:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk7M5-0005l0-TA for 44930@debbugs.gnu.org; Tue, 01 Dec 2020 10:14:14 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56046) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kk7M0-0001Vw-M7; Tue, 01 Dec 2020 10:14:08 -0500 Received: from [176.228.60.248] (port=3535 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kk7M0-0007P4-0j; Tue, 01 Dec 2020 10:14:08 -0500 Date: Tue, 01 Dec 2020 17:14:03 +0200 Message-Id: <83pn3timo4.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Francesco =?UTF-8?Q?Potort=C3=AC?= on Mon, 30 Nov 2020 22:46:56 +0100) References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Francesco Potortì > Date: Mon, 30 Nov 2020 22:46:56 +0100 > > In this moment I have a *w3m* buffer on a live Emacs. If I switch to it > on a text frame, everything is well. If I switch to it on an X display, > the frame dies (but Emacs survives). The error is > > X protocol error: BadMatch (invalid parameter attributes) on protocol request 73 > > until I don't kill the buffer, I can reproduce the error at will. I > have no idea how to debug it. If I am instructed, I can try until Emacs > is alive. etc/DEBUG has some instructions for debugging X protocol errors; search for "If you encounter X protocol errors". In addition to what that says, it would be beneficial to understand what kind of X request is "request 73". From unknown Sun Aug 17 22:13:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44930: I can reproduce it Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Dec 2020 17:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44930 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 44930@debbugs.gnu.org Received: via spool by 44930-submit@debbugs.gnu.org id=B44930.160684320118491 (code B ref 44930); Tue, 01 Dec 2020 17:21:02 +0000 Received: (at 44930) by debbugs.gnu.org; 1 Dec 2020 17:20:01 +0000 Received: from localhost ([127.0.0.1]:33199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk9Jp-0004o4-41 for submit@debbugs.gnu.org; Tue, 01 Dec 2020 12:20:01 -0500 Received: from smtp-clients2.isti.cnr.it ([146.48.28.37]:42630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk9Jl-0004np-CP for 44930@debbugs.gnu.org; Tue, 01 Dec 2020 12:19:59 -0500 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) (Authenticated sender: pot) by smtp-clients2.isti.cnr.it (Postfix) with ESMTPSA id 6D825B0838; Tue, 1 Dec 2020 18:19:55 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at smtp-out.isti.cnr.it Received: from pot by tucano.isti.cnr.it with local (Exim 4.94) (envelope-from ) id 1kk9Ji-00BycL-VL; Tue, 01 Dec 2020 18:19:54 +0100 From: Francesco =?UTF-8?Q?Potort=C3=AC?= Date: Tue, 01 Dec 2020 18:19:54 +0100 In-Reply-To: <83pn3timo4.fsf@gnu.org> (eliz@gnu.org) References: <83pn3timo4.fsf@gnu.org> Organization: X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) >> In this moment I have a *w3m* buffer on a live Emacs. If I switch to it >> on a text frame, everything is well. If I switch to it on an X display, >> the frame dies (but Emacs survives). The error is >> >> X protocol error: BadMatch (invalid parameter attributes) on protocol request 73 >> >> until I don't kill the buffer, I can reproduce the error at will. I >> have no idea how to debug it. If I am instructed, I can try until Emacs >> is alive. > >etc/DEBUG has some instructions for debugging X protocol errors; >search for "If you encounter X protocol errors". Ok. I fear I will not be able to do that quickly. >In addition to what that says, it would be beneficial to understand >what kind of X request is "request 73". According to http://www.rahul.net/kenton/xproto/xrequests.html 73 is the X protocol GetImage call. According to https://www.x.org/wiki/guide/concepts/#index2h3, this is seldom used, for example for making screenshots or for redrawing. The second usage could explain why it happens when I switch buffer and why the debugger points to the internal C function redisplay_internal() The XGetImage function is called twice from gtkutil.c and thrice from image.c, so one of these is apparently failing. According to https://www.x.org/releases/X11R7.7/doc/xproto/x11protocol.html#requests:GetImage the call may return a Match error when the pixmap or window to be returned do not satisfy certain geometric criteria. This is strange, because the error happens only when I switch to a specific buffer, which makes me think that it depends on the buffer contents. Is there a way to save the buffer contents including attributes (fonts, overlays and other things that I do not know about) to disk, so that I can easily recreate a buffer with the strange property of causing this error? From unknown Sun Aug 17 22:13:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44930: I can reproduce it Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Dec 2020 18:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44930 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Francesco =?UTF-8?Q?Potort=C3=AC?= Cc: 44930@debbugs.gnu.org Received: via spool by 44930-submit@debbugs.gnu.org id=B44930.160684735324962 (code B ref 44930); Tue, 01 Dec 2020 18:30:02 +0000 Received: (at 44930) by debbugs.gnu.org; 1 Dec 2020 18:29:13 +0000 Received: from localhost ([127.0.0.1]:33270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkAOn-0006UY-Ed for submit@debbugs.gnu.org; Tue, 01 Dec 2020 13:29:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkAOl-0006UJ-Os for 44930@debbugs.gnu.org; Tue, 01 Dec 2020 13:29:12 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60488) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkAOg-00042w-IA; Tue, 01 Dec 2020 13:29:06 -0500 Received: from [176.228.60.248] (port=3996 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kkAOe-0004Fv-S3; Tue, 01 Dec 2020 13:29:05 -0500 Date: Tue, 01 Dec 2020 20:29:00 +0200 Message-Id: <83im9lgz2r.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Francesco =?UTF-8?Q?Potort=C3=AC?= on Tue, 01 Dec 2020 18:19:54 +0100) References: <83pn3timo4.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Francesco Potortì > Date: Tue, 01 Dec 2020 18:19:54 +0100 > Cc: 44930@debbugs.gnu.org > > This is strange, because the error happens only when I switch to a > specific buffer, which makes me think that it depends on the buffer > contents. Is there a way to save the buffer contents including > attributes (fonts, overlays and other things that I do not know about) > to disk, so that I can easily recreate a buffer with the strange > property of causing this error? I know of no such way except writing Lisp that will recreate the contents. From unknown Sun Aug 17 22:13:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44930: I can reproduce it Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Dec 2020 04:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44930 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: pot@gnu.org, 44930@debbugs.gnu.org Reply-To: rms@gnu.org Received: via spool by 44930-submit@debbugs.gnu.org id=B44930.160688330632414 (code B ref 44930); Wed, 02 Dec 2020 04:29:01 +0000 Received: (at 44930) by debbugs.gnu.org; 2 Dec 2020 04:28:26 +0000 Received: from localhost ([127.0.0.1]:33858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkJkf-0008Qj-Q6 for submit@debbugs.gnu.org; Tue, 01 Dec 2020 23:28:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkJkd-0008QU-PE for 44930@debbugs.gnu.org; Tue, 01 Dec 2020 23:28:25 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42300) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkJkY-0004uk-Cj; Tue, 01 Dec 2020 23:28:18 -0500 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kkJkV-0005qc-EB; Tue, 01 Dec 2020 23:28:15 -0500 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman In-Reply-To: <83im9lgz2r.fsf@gnu.org> (message from Eli Zaretskii on Tue, 01 Dec 2020 20:29:00 +0200) References: <83pn3timo4.fsf@gnu.org> <83im9lgz2r.fsf@gnu.org> Message-Id: Date: Tue, 01 Dec 2020 23:28:15 -0500 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > This is strange, because the error happens only when I switch to a > > specific buffer, which makes me think that it depends on the buffer > > contents. Is there a way to save the buffer contents including > > attributes (fonts, overlays and other things that I do not know about) > > to disk, so that I can easily recreate a buffer with the strange > > property of causing this error? > I know of no such way except writing Lisp that will recreate the > contents. It should be possible to write Lisp code to do that. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From unknown Sun Aug 17 22:13:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44930: I can reproduce it Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Dec 2020 18:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44930 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Francesco =?UTF-8?Q?Potort=C3=AC?= Cc: Eli Zaretskii , 44930@debbugs.gnu.org Received: via spool by 44930-submit@debbugs.gnu.org id=B44930.16071932333254 (code B ref 44930); Sat, 05 Dec 2020 18:34:02 +0000 Received: (at 44930) by debbugs.gnu.org; 5 Dec 2020 18:33:53 +0000 Received: from localhost ([127.0.0.1]:48230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klcNT-0000qI-AV for submit@debbugs.gnu.org; Sat, 05 Dec 2020 13:33:53 -0500 Received: from smtp-clients1.isti.cnr.it ([146.48.28.36]:52498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kla6c-0003ZI-Tt for 44930@debbugs.gnu.org; Sat, 05 Dec 2020 11:08:20 -0500 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) (Authenticated sender: pot) by smtp-clients1.isti.cnr.it (Postfix) with ESMTPSA id 9D4BAAF4C1; Sat, 5 Dec 2020 17:08:16 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at smtp-out.isti.cnr.it Received: from pot by tucano.isti.cnr.it with local (Exim 4.94) (envelope-from ) id 1kla6a-002Iqq-A3; Sat, 05 Dec 2020 17:08:16 +0100 From: Francesco =?UTF-8?Q?Potort=C3=AC?= Date: Sat, 05 Dec 2020 17:08:15 +0100 In-Reply-To: ("pot@gnu.org"'s message of Tue, 01 Dec 2020 18:19:54 +0100) References: <83pn3timo4.fsf@gnu.org> Organization: X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Sat, 05 Dec 2020 13:33:49 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>> In this moment I have a *w3m* buffer on a live Emacs. If I switch to it >>> on a text frame, everything is well. If I switch to it on an X display, >>> the frame dies (but Emacs survives). The error is >>> >>> X protocol error: BadMatch (invalid parameter attributes) on protocol request 73 I managed to find the time to compile emacs with symbols. The previous instance of Emacs crashed, so apparently there is a serious problem somewhere. On the plus side, now apparently every instance of a *w3m* buffer exhibits the problem, which is now easy to reproduce for me. The error is: redisplay: X protocol error: BadMatch (invalid parameter attributes) on protocol request 73 which points to an XGetImage call where the pixmap or window to be returned does not satisfy certain geometric criteria, according to https://www.x.org/releases/X11R7.7/doc/xproto/x11protocol.html#requests:GetImage Setting debug-on-error to t tells me that this happens inside redisplay_internal(). I evaluated (x-synchronize t) and then switched to the *w3b* buffer. Here is the backtrace. If you help me I can try and continue debugging. Current directory is ~/gnu/emacs-27.1+1/src/ GNU gdb (Debian 10.1-1+b1) 10.1 ... Reading symbols from ../debian/emacs-lucid/usr/bin/emacs-lucid... Attaching to program: /home/pot/gnu/emacs-27.1+1/debian/emacs-lucid/usr/bin/emacs-lucid, process 95547 [New LWP 95548] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00007fc663663926 in __pselect (nfds=9, readfds=0x7ffcc787bb40, writefds=0x7ffcc787bbc0, exceptfds=0x0, timeout=, sigmask=0x7ffcc787b950) at ../sysdeps/unix/sysv/linux/pselect.c:48 48 ../sysdeps/unix/sysv/linux/pselect.c: No such file or directory. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = localhost:10.0 TERM = dumb Breakpoint 2 at 0x5596a186fa29: file ./debian/build-src/src/xterm.c, line 10131. (gdb) (gdb) c Continuing. Thread 1 "emacs" hit Breakpoint 2, x_error_quitter (display=0x5596a89b0990, event=0x7ffcc7879e90) at ./debian/build-src/src/xterm.c:10131 10131 { (gdb) bt #0 x_error_quitter (display=0x5596a89b0990, event=0x7ffcc7879e90) at ./debian/build-src/src/xterm.c:10131 #1 0x00005596a186fae1 in x_error_handler (display=, event=) at ./debian/build-src/src/xterm.c:10119 #2 0x00007fc6655fd36b in _XError () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #3 0x00007fc6655fa197 in () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #4 0x00007fc6655fb373 in _XReply () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #5 0x00007fc6655e033a in XGetImage () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #6 0x00005596a19c3788 in image_get_x_image (f=, img=img@entry=0x5596a57dccd0, mask_p=mask_p@entry=false) at ./debian/build-src/src/image.c:2934 #7 0x00005596a19c938e in image_background (img=0x5596a57dccd0, f=, pimg=pimg@entry=0x0) at ./debian/build-src/src/image.c:1376 #8 0x00005596a1870fed in x_setup_relief_colors (s=s@entry=0x7ffcc787a4b0) at ./debian/build-src/src/xterm.c:2735 #9 0x00005596a18733eb in x_draw_glyph_string_box (s=s@entry=0x7ffcc787a4b0) at ./debian/build-src/src/xterm.c:3025 #10 0x00005596a1873d14 in x_draw_glyph_string (s=0x7ffcc787a4b0) at ./debian/build-src/src/xterm.c:3966 #11 0x00005596a17e7bc4 in draw_glyphs (w=w@entry=0x5596a345c320, x=506, row=row@entry=0x5596a5fc8980, area=area@entry=TEXT_AREA, start=, start@entry=0, end=, end@entry=14, hl=, overlaps=) at ./debian/build-src/src/xdisp.c:28675 #12 0x00005596a17ea3c2 in gui_write_glyphs (w=0x5596a345c320, updated_row=0x5596a5fc8980, start=, updated_area=TEXT_AREA, len=14) at ./debian/build-src/src/xdisp.c:30702 #13 0x00005596a1790ca7 in update_text_area (w=w@entry=0x5596a345c320, updated_row=updated_row@entry=0x5596a5fc8980, vpos=vpos@entry=0) at ./debian/build-src/src/dispnew.c:3843 #14 0x00005596a17917a6 in update_window_line (w=w@entry=0x5596a345c320, vpos=vpos@entry=0, mouse_face_overwritten_p=mouse_face_overwritten_p@entry=0x7ffcc787b277) at ./debian/build-src/src/dispnew.c:4086 #15 0x00005596a1794231 in update_window (w=w@entry=0x5596a345c320, force_p=force_p@entry=true) at ./debian/build-src/src/dispnew.c:3612 #16 0x00005596a1794708 in update_frame (f=f@entry=0x5596a3767da0, force_p=true, force_p@entry=false, inhibit_hairy_id_p=inhibit_hairy_id_p@entry=false) at ./debian/build-src/src/dispnew.c:3214 #17 0x00005596a17e21ad in redisplay_internal () at ./debian/build-src/src/xdisp.c:15842 #18 0x00005596a17e364a in redisplay () at ./debian/build-src/src/xdisp.c:14989 Python Exception value has been optimized out: #19 0x00005596a18ab1c4 in read_char (commandflag=1, map=, map@entry=XIL(0x5596a4254f73), prev_event=XIL(0x7ffcc787caa0), used_mouse_menu=used_mouse_menu@entry=0x7ffcc787c9cb, end_time=end_time@entry=0x0) at ./debian/build-src/src/keyboard.c:2493 #20 0x00005596a18ada5f in read_key_sequence (keybuf=keybuf@entry=0x7ffcc787caa0, prompt=XIL(0x15), dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false) at ./debian/build-src/src/keyboard.c:9553 #21 0x00005596a18ae5ce in command_loop_1 () at ./debian/build-src/src/keyboard.c:1350 Python Exception value has been optimized out: #22 0x00005596a193096c in internal_condition_case (bfun=bfun@entry=0x5596a18ae34a , handlers=, hfun=hfun@entry=0x5596a18a26a9 ) at ./debian/build-src/src/eval.c:1356 Python Exception value has been optimized out: #23 0x00005596a189c485 in command_loop_2 (ignore=, ignore@entry=XIL(0)) at ./debian/build-src/src/keyboard.c:1091 Python Exception value has been optimized out: Python Exception value has been optimized out: #24 0x00005596a19308b0 in internal_catch (tag=, func=func@entry=0x5596a189c461 , arg=, arg@entry=XIL(0)) at ./debian/build-src/src/eval.c:1117 #25 0x00005596a189c435 in command_loop () at ./debian/build-src/src/keyboard.c:1070 #26 0x00005596a18a22df in recursive_edit_1 () at ./debian/build-src/src/keyboard.c:714 #27 0x00005596a18a25cd in Frecursive_edit () at ./debian/build-src/src/keyboard.c:786 #28 0x00005596a189b050 in main (argc=3, argv=) at ./debian/build-src/src/emacs.c:2062 Lisp Backtrace: "redisplay_internal (C function)" (0x0) (gdb) c Continuing. From unknown Sun Aug 17 22:13:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44930: I can reproduce it Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Dec 2020 19:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44930 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Francesco =?UTF-8?Q?Potort=C3=AC?= Cc: Francesco =?UTF-8?Q?Potort=C3=AC?= , 44930@debbugs.gnu.org Received: via spool by 44930-submit@debbugs.gnu.org id=B44930.160719747210037 (code B ref 44930); Sat, 05 Dec 2020 19:45:01 +0000 Received: (at 44930) by debbugs.gnu.org; 5 Dec 2020 19:44:32 +0000 Received: from localhost ([127.0.0.1]:48262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kldTr-0002bn-Uz for submit@debbugs.gnu.org; Sat, 05 Dec 2020 14:44:32 -0500 Received: from outbound.soverin.net ([116.202.65.218]:48405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kldTq-0002bV-2S for 44930@debbugs.gnu.org; Sat, 05 Dec 2020 14:44:31 -0500 Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id D67FF60164; Sat, 5 Dec 2020 19:44:23 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 1EC4B20285F098; Sat, 5 Dec 2020 19:44:13 +0000 (GMT) Date: Sat, 5 Dec 2020 19:44:13 +0000 From: Alan Third Message-ID: Mail-Followup-To: Alan Third , Francesco =?UTF-8?Q?Potort=C3=AC?= , Francesco =?UTF-8?Q?Potort=C3=AC?= , 44930@debbugs.gnu.org References: <83pn3timo4.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="9n5hNDhyW2/qpxPV" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --9n5hNDhyW2/qpxPV Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Sat, Dec 05, 2020 at 05:08:15PM +0100, Francesco Potortì wrote: > >>> In this moment I have a *w3m* buffer on a live Emacs. If I switch to it > >>> on a text frame, everything is well. If I switch to it on an X display, > >>> the frame dies (but Emacs survives). The error is > >>> > >>> X protocol error: BadMatch (invalid parameter attributes) on protocol request 73 > > I managed to find the time to compile emacs with symbols. > > The previous instance of Emacs crashed, so apparently there is a serious > problem somewhere. > > On the plus side, now apparently every instance of a *w3m* buffer > exhibits the problem, which is now easy to reproduce for me. > > The error is: > redisplay: X protocol error: BadMatch (invalid parameter attributes) on protocol request 73 > which points to an XGetImage call where the pixmap or window to be > returned does not satisfy certain geometric criteria, according to > https://www.x.org/releases/X11R7.7/doc/xproto/x11protocol.html#requests:GetImage > > Setting debug-on-error to t tells me that this happens inside > redisplay_internal(). > > I evaluated (x-synchronize t) and then switched to the *w3b* buffer. > > Here is the backtrace. If you help me I can try and continue debugging. > #5 0x00007fc6655e033a in XGetImage () at /usr/lib/x86_64-linux-gnu/libX11.so.6 > #6 0x00005596a19c3788 in image_get_x_image (f=, img=img@entry=0x5596a57dccd0, mask_p=mask_p@entry=false) at ./debian/build-src/src/image.c:2934 > #7 0x00005596a19c938e in image_background (img=0x5596a57dccd0, f=, pimg=pimg@entry=0x0) at ./debian/build-src/src/image.c:1376 Hmm, my suspicion here is that we're calling XGetImage with dimensions that don't match the pixmap since we no longer store the dimensions of the original image. It hadn't occurred to me that we'd ever pull the image BACK from the X server. Can you try with the attached patch, please? -- Alan Third --9n5hNDhyW2/qpxPV Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-Fix-crash-when-using-XRender-and-restoring-image-fro.patch" >From b2457ae612bd53c3d08cec7ddba703f400a78a2d Mon Sep 17 00:00:00 2001 From: Alan Third Date: Sat, 5 Dec 2020 19:40:08 +0000 Subject: [PATCH] Fix crash when using XRender and restoring image from X (bug#44930) * src/dispextern.h (struct image): Add original dimension elements. * src/image.c (image_set_transform): Store the original dimensions. (image_get_x_image): If we're using transforms use the original dimensions with XGetImage. --- src/dispextern.h | 4 ++++ src/image.c | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/src/dispextern.h b/src/dispextern.h index da51772b37..c76822ff39 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -3040,6 +3040,10 @@ reset_mouse_highlight (Mouse_HLInfo *hlinfo) # if !defined USE_CAIRO && defined HAVE_XRENDER /* Picture versions of pixmap and mask for compositing. */ Picture picture, mask_picture; + + /* We need to store the original image dimensions in case we have to + call XGetImage. */ + int original_width, original_height; # endif #endif /* HAVE_X_WINDOWS */ #ifdef HAVE_NTGUI diff --git a/src/image.c b/src/image.c index 5eb4132295..9494f9ddc6 100644 --- a/src/image.c +++ b/src/image.c @@ -2131,6 +2131,10 @@ image_set_transform (struct frame *f, struct image *img) # if !defined USE_CAIRO && defined HAVE_XRENDER if (!img->picture) return; + + /* Store the original dimensions as we'll overwrite them later. */ + img->original_width = img->width; + img->original_height = img->height; # endif /* Determine size. */ @@ -2990,6 +2994,11 @@ image_get_x_image (struct frame *f, struct image *img, bool mask_p) if (ximg_in_img) return ximg_in_img; +#ifdef HAVE_XRENDER + else if (img->picture) + return XGetImage (FRAME_X_DISPLAY (f), !mask_p ? img->pixmap : img->mask, + 0, 0, img->original_width, img->original_height, ~0, ZPixmap); +#endif else return XGetImage (FRAME_X_DISPLAY (f), !mask_p ? img->pixmap : img->mask, 0, 0, img->width, img->height, ~0, ZPixmap); -- 2.29.2 --9n5hNDhyW2/qpxPV-- From unknown Sun Aug 17 22:13:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44930: I can reproduce it Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Dec 2020 22:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44930 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Third Cc: 44930@debbugs.gnu.org Received: via spool by 44930-submit@debbugs.gnu.org id=B44930.160720827927162 (code B ref 44930); Sat, 05 Dec 2020 22:45:02 +0000 Received: (at 44930) by debbugs.gnu.org; 5 Dec 2020 22:44:39 +0000 Received: from localhost ([127.0.0.1]:48423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klgIB-000742-5K for submit@debbugs.gnu.org; Sat, 05 Dec 2020 17:44:39 -0500 Received: from smtp-clients1.isti.cnr.it ([146.48.28.36]:59976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klgI8-00073t-Nt for 44930@debbugs.gnu.org; Sat, 05 Dec 2020 17:44:37 -0500 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) (Authenticated sender: pot) by smtp-clients1.isti.cnr.it (Postfix) with ESMTPSA id 047AFB07F2; Sat, 5 Dec 2020 23:44:34 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at smtp-out.isti.cnr.it Received: from pot by tucano.isti.cnr.it with local (Exim 4.94) (envelope-from ) id 1klgI6-002nzL-EC; Sat, 05 Dec 2020 23:44:34 +0100 From: Francesco =?UTF-8?Q?Potort=C3=AC?= Date: Sat, 05 Dec 2020 23:44:34 +0100 In-Reply-To: (alan@idiocy.org) References: <83pn3timo4.fsf@gnu.org> Organization: X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-Id: X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) >Can you try with the attached patch, please? I did. It does not error any more with my previous bug reproducing recipe. If it does not happen in a week of normal usage I would say it has gone away. Thanks From unknown Sun Aug 17 22:13:12 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Francesco =?UTF-8?Q?Potort=C3=AC?= Subject: bug#44930: closed (Re: bug#44930: I can reproduce it) Message-ID: References: X-Gnu-PR-Message: they-closed 44930 X-Gnu-PR-Package: emacs Reply-To: 44930@debbugs.gnu.org Date: Sat, 12 Dec 2020 10:45:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1607769902-22587-1" This is a multi-part message in MIME format... ------------=_1607769902-22587-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #44930: 27.1; X protocol error: BadMatch (...) on protocol request 73 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 44930@debbugs.gnu.org. --=20 44930: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D44930 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1607769902-22587-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 44930-done) by debbugs.gnu.org; 12 Dec 2020 10:44:09 +0000 Received: from localhost ([127.0.0.1]:43977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ko2Nl-0005r6-GP for submit@debbugs.gnu.org; Sat, 12 Dec 2020 05:44:09 -0500 Received: from outbound.soverin.net ([116.202.65.218]:47381) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ko2Nj-0005qW-IB for 44930-done@debbugs.gnu.org; Sat, 12 Dec 2020 05:44:07 -0500 Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 1E95B6013A; Sat, 12 Dec 2020 10:44:02 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1607769841; bh=q4BVhoI0oPi+xrWgH4geeRu62LIO0BjTZmXFN4iNDUU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dDqGgq9Ugo+dj7ifwdrEBFJJb/6xz0DBDGtpNF+gaVy5CC9f9vwRpSOzIxwd1ImIE pErWZFIUeW5/pupZ9sMRx8G9VkOh5ku0Nazd+5yixkr0mHYIytnW+obyuqaEdEIS4j Ozv8Kw5Hr3LDnH8LH2eeu89fyz0kgP/ZtWb5Bb4XC1JTDhbzev/BvoNHaPzrADYdAI LgGoPyT2yMk7y25G6LptJeM8jc35H54YGImy+IriFpH1S2FFCvNVDNMpI/nLVtu3+t caYhvSZCnCtIbblJIDrrG00xeGOg2A9dgOUHjmFefJPnvrR8wEG0I4j9U1S3vTF1QU F3GnzJYuT+n+g== Received: by breton.holly.idiocy.org (Postfix, from userid 501) id E8FD92028755E6; Sat, 12 Dec 2020 10:43:59 +0000 (GMT) Date: Sat, 12 Dec 2020 10:43:59 +0000 From: Alan Third To: Francesco =?iso-8859-1?Q?Potort=EC?= Subject: Re: bug#44930: I can reproduce it Message-ID: Mail-Followup-To: Alan Third , Francesco =?iso-8859-1?Q?Potort=EC?= , 44930-done@debbugs.gnu.org References: <83pn3timo4.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44930-done Cc: 44930-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Sat, Dec 05, 2020 at 11:44:34PM +0100, Francesco Potortì wrote: > >Can you try with the attached patch, please? > > I did. It does not error any more with my previous bug reproducing > recipe. If it does not happen in a week of normal usage I would say it > has gone away. I've pushed this to the emacs-27 branch. Thanks! -- Alan Third ------------=_1607769902-22587-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Nov 2020 19:36:17 +0000 Received: from localhost ([127.0.0.1]:49127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kj612-0001gg-RR for submit@debbugs.gnu.org; Sat, 28 Nov 2020 14:36:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:36610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kj60z-0001gY-Vr for submit@debbugs.gnu.org; Sat, 28 Nov 2020 14:36:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kj60z-0004Pa-Na for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2020 14:36:13 -0500 Received: from smtp-clients1.isti.cnr.it ([146.48.28.36]:60404) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kj60v-0005gT-6d for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2020 14:36:12 -0500 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) (Authenticated sender: pot) by smtp-clients1.isti.cnr.it (Postfix) with ESMTPSA id 9D3D6B0833 for ; Sat, 28 Nov 2020 20:36:06 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at smtp-out.isti.cnr.it Received: from pot by tucano.isti.cnr.it with local (Exim 4.94) (envelope-from ) id 1kj60s-0069W8-6x for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2020 20:36:06 +0100 From: =?utf-8?Q?Francesco_Potort=C3=AC?= Date: Sat, 28 Nov 2020 20:36:06 +0100 To: bug-gnu-emacs@gnu.org Subject: 27.1; X protocol error: BadMatch (...) on protocol request 73 Organization: X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: Received-SPF: softfail client-ip=146.48.28.36; envelope-from=pot@gnu.org; helo=smtp-clients1.isti.cnr.it X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This looks like a regression since it has happened only since using Emacs 27 (I had Emacs 26 running since a long time). >From the local machine, I run ssh on the remote one. I launch Screen and then I execute Emacs in text mode. I use Screen remotely via ssh. >From the text frame I create an X frame running on a remote Xpra server (which is a sort of Screen running on X), and I use the Xpra client locally. So I have an Emacs text frame on Screen and an X frame on a local Xpra client. I use (setq browse-url-browser-function 'w3m-browse-url) Sometimes, when I use browse-url on an http URL, the X frame dies, but the text frame stays alive and I can relaunch an X frame from there without problems. When the X frame dies, it leaves this error message: X protocol error: BadMatch (invalid parameter attributes) on protocol request 73 Apparently this happens only when w3m does not respond immediately and the *w3m* buffer displays a message asking to wait, but it only happened few times until now, so I am not sure. In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2020-11-08, modified by Debian built on x86-ubc-01 Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Debian GNU/Linux bullseye/sid Recent messages: Expunging deleted messages...done Saving file /home/pot/Mail/RMAIL... Wrote /home/pot/Mail/RMAIL Making completion list... Quit Saving file /home/pot/diary... Preparing diary...done Wrote /home/pot/diary user-error: No undo information in this buffer Report a bug for a [P]ackage or [F]ile: (default P) Quit Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars --without-gsettings 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs-6jKC2B/emacs-27.1+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LC_COLLATE: it_IT.UTF-8 value of $LC_CTYPE: it_IT.UTF-8 value of $LC_NUMERIC: C value of $LANG: C.UTF-8 locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: filladapt-mode: t desktop-save-mode: t epa-global-mail-mode: t shell-dirtrack-mode: t openwith-mode: t xterm-mouse-mode: t display-time-mode: t tooltip-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t Load-path shadows: ~/elisp/bhl hides /usr/share/emacs/site-lisp/bhl /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-autoloads hides /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/debian-autoloads /usr/share/emacs/site-lisp/elpa/csv-mode-1.12/csv-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/csv-mode-1.12/csv-mode-pkg /usr/share/emacs/site-lisp/elpa/csv-mode-1.12/csv-mode hides /usr/share/emacs/site-lisp/elpa-src/csv-mode-1.12/csv-mode /usr/share/emacs/site-lisp/elpa/csv-mode-1.12/csv-mode-tests hides /usr/share/emacs/site-lisp/elpa-src/csv-mode-1.12/csv-mode-tests /usr/share/emacs/site-lisp/elpa/csv-mode-1.12/csv-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/csv-mode-1.12/csv-mode-autoloads /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-el hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-el /usr/share/emacs/site-lisp/elpa/debian-el-37/gnus-BTS hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/gnus-BTS /usr/share/emacs/site-lisp/elpa/debian-el-37/preseed hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/preseed /usr/share/emacs/site-lisp/elpa/debian-el-37/deb-view hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/deb-view /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-el-autoloads hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-el-autoloads /usr/share/emacs/site-lisp/elpa/debian-el-37/apt-utils hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/apt-utils /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-bug hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-bug /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-el-pkg hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-el-pkg /usr/share/emacs/site-lisp/elpa/debian-el-37/apt-sources hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/apt-sources /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-autoloads hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-autoloads /usr/share/emacs/site-lisp/elpa/dictionary-1.10/dictionary hides /usr/share/emacs/site-lisp/elpa-src/dictionary-1.10/dictionary /usr/share/emacs/site-lisp/elpa/dictionary-1.10/link hides /usr/share/emacs/site-lisp/elpa-src/dictionary-1.10/link /usr/share/emacs/site-lisp/elpa/dictionary-1.10/dictionary-pkg hides /usr/share/emacs/site-lisp/elpa-src/dictionary-1.10/dictionary-pkg /usr/share/emacs/site-lisp/elpa/dictionary-1.10/dictionary-autoloads hides /usr/share/emacs/site-lisp/elpa-src/dictionary-1.10/dictionary-autoloads /usr/share/emacs/site-lisp/elpa/dictionary-1.10/connection hides /usr/share/emacs/site-lisp/elpa-src/dictionary-1.10/connection /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/gnuplot hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/gnuplot /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/gnuplot-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/gnuplot-mode-pkg /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-autoloads hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/debian-autoloads /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/gnuplot-context hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/gnuplot-context /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/gnuplot-gui hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/gnuplot-gui /usr/share/emacs/site-lisp/elpa/gnuplot-mode-20141231/gnuplot-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/gnuplot-mode-20141231/gnuplot-mode-autoloads /usr/share/emacs/site-lisp/elpa/markdown-mode-2.4/markdown-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.4/markdown-mode-autoloads /usr/share/emacs/site-lisp/elpa/markdown-mode-2.4/markdown-mode hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.4/markdown-mode /usr/share/emacs/site-lisp/elpa/markdown-mode-2.4/markdown-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.4/markdown-mode-pkg ~/elisp/bibtex hides /usr/share/emacs/27.1/lisp/textmodes/bibtex ~/elisp/octave hides /usr/share/emacs/27.1/lisp/progmodes/octave /usr/share/emacs/site-lisp/flim/sasl hides /usr/share/emacs/27.1/lisp/net/sasl ~/elisp/rmailout hides /usr/share/emacs/27.1/lisp/mail/rmailout Features: (debian-bug ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util smerge-mode compare-w rmail-spam-filter wdired cal-move cal-x gnutls network-stream url-cache dabbrev rmailsort unrmail undigest shadow emacsbug two-column iso-transl edmacro latexenc grep arc-mode archive-mode url-http url-auth url-gw nsm w3m-filter w3m-cookie markdown-mode rx noutline outline macros kmacro rmailedit debug backtrace eieio-opt speedbar sb-image ezimage dframe find-func w3m-form w3m-bookmark w3m-tabmenu w3m-session w3m doc-view jka-compr image-mode exif timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util pp cl-print help-fns radix-tree mailalias rmailout rect rmailkwd shr-color cus-edit cus-start cus-load diff-mode easy-mmode diff cl-extra time-stamp dired-aux misearch multi-isearch server conf-mode sh-script executable vc-dispatcher vc-svn octave skeleton texinfo pcase tex-mode compile generic bibtex vc-filewise vc-rcs mhtml-mode css-mode smie eww mm-url gnus nnheader wid-edit url-queue url url-proxy url-privacy url-expand url-methods url-history mailcap shr url-cookie url-domsuf url-util svg xml color js imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs sgml-mode dom qp rmailmm message rmc puny rfc822 mml mml-sec gnus-util text-property-search mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 desktop frameset cal-julian solar cal-dst pot warnings rmailsum rmail rmail-loaddefs sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mime-compose epa-mail mail-utils epa derived epg epg-config view mule-util holidays hol-loaddefs appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete comint ring parse-time iso8601 time-date ls-lisp format-spec bhl visual-fill-column switch-to-shell openwith hi-lock anything-config anything advice woman man cl locate xt-mouse ffap thingatpt scroll-in-place filladapt ansi-color time quail help-mode dired-x dired dired-loaddefs generic-x disp-table finder-inf w3m-load info debian-el package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type 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 elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 705358 95183) (symbols 48 31974 0) (strings 32 148973 24999) (string-bytes 1 4675891) (vectors 16 53037) (vector-slots 8 1480670 149866) (floats 8 759 779) (intervals 56 52765 4485) (buffers 1000 123)) ------------=_1607769902-22587-1-- From unknown Sun Aug 17 22:13:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44930: I can reproduce it Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Dec 2020 13:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44930 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Third Cc: 44930-done@debbugs.gnu.org, Alan Third Received: via spool by 44930-done@debbugs.gnu.org id=D44930.160777860031667 (code D ref 44930); Sat, 12 Dec 2020 13:10:02 +0000 Received: (at 44930-done) by debbugs.gnu.org; 12 Dec 2020 13:10:00 +0000 Received: from localhost ([127.0.0.1]:44152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ko4eu-0008Eh-KM for submit@debbugs.gnu.org; Sat, 12 Dec 2020 08:10:00 -0500 Received: from smtp-clients1.isti.cnr.it ([146.48.28.36]:50514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ko4et-0008EZ-3d for 44930-done@debbugs.gnu.org; Sat, 12 Dec 2020 08:09:59 -0500 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) (Authenticated sender: pot) by smtp-clients1.isti.cnr.it (Postfix) with ESMTPSA id 4BC81B0833; Sat, 12 Dec 2020 14:09:57 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at smtp-out.isti.cnr.it Received: from pot by tucano.isti.cnr.it with local (Exim 4.94) (envelope-from ) id 1ko4eq-00FXuo-Qc; Sat, 12 Dec 2020 14:09:56 +0100 From: Francesco =?UTF-8?Q?Potort=C3=AC?= Date: Sat, 12 Dec 2020 14:09:56 +0100 In-Reply-To: (alan@idiocy.org) References: <83pn3timo4.fsf@gnu.org> Organization: X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-Id: X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) >On Sat, Dec 05, 2020 at 11:44:34PM +0100, Francesco Potortì wrote: >> >Can you try with the attached patch, please? >> >> I did. It does not error any more with my previous bug reproducing >> recipe. If it does not happen in a week of normal usage I would say it >> has gone away. > >I've pushed this to the emacs-27 branch. I confirm that I have not observed the problem any more in conctinuous emacs usage till now. Thank you