From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 20 01:27:18 2015 Received: (at submit) by debbugs.gnu.org; 20 Dec 2015 06:27:18 +0000 Received: from localhost ([127.0.0.1]:57370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aAXSf-0000EF-V2 for submit@debbugs.gnu.org; Sun, 20 Dec 2015 01:27:18 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56331) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aAXSe-0000E0-3y for submit@debbugs.gnu.org; Sun, 20 Dec 2015 01:27:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aAXSW-0008SL-4L for submit@debbugs.gnu.org; Sun, 20 Dec 2015 01:27:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAXSW-0008SH-0q for submit@debbugs.gnu.org; Sun, 20 Dec 2015 01:27:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAXST-0008SH-9O for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2015 01:27:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aAXSP-0008RT-W2 for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2015 01:27:05 -0500 Received: from mail-ig0-x236.google.com ([2607:f8b0:4001:c05::236]:33716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAXSP-0008R0-NJ for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2015 01:27:01 -0500 Received: by mail-ig0-x236.google.com with SMTP id mv3so15344580igc.0 for ; Sat, 19 Dec 2015 22:27:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:subject:date:message-id:mime-version:content-type; bh=3Lp1QbbkA6FBp9oaJSF0qX4TKcyOCF9R2uufcG7bV3E=; b=XK4hpvegYwRZL0S1VahRZ7der27xtd+uz2v+JHuvYamgCZ2bg8W1ogcBVM1Mwfq0w0 e6n0pC6+sp7OuQpQUc6ln1fJGmXxy9QG6Q73Tv7y1HIZ7T7pnYWKL8XR//+r7v+7GyVP CumVK9Q/VLn1bO5bPfDXtbH7Xl8VVqZCVY9WQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=3Lp1QbbkA6FBp9oaJSF0qX4TKcyOCF9R2uufcG7bV3E=; b=DFFsi/wZPfMrAonDivPJ6jP7tXZFj8qJFW0M7YW9cnZCTnfsyXoziQfQVqqEZkf0mX rOYXHmNbpw9EMFl+Tsrah3GSVIfdbSirMVaK7mowC8eXQs3PkX2QIpx6cX+klaKj550C NkKbxpgT2jFW7HENgF6gxELqjLwtzLjGltzXkJTEvkVGlqg28VAwhHDr714lgbpxUpb8 5v0nc2bzHdwTRJ3JmmroWmJKz6GElNoV33vCw086mdySEQy88GiixhwG9KWmuskaVoaF 7LKnyQNvnfoSZpnaSVlBHwGM9pvyU1Rvg55RFupjePa91jbe7FGMPKbozO/ru7f3y93N y7MA== X-Gm-Message-State: ALoCoQmbh0j5Awpqlv8mlpmfuqS1TUQ6bpKpxCk9Z+86ms89XU62fxFr84RbpLZY0uTgx8xFYeSI+wQvr5zqW9TPO5aO7o4Wiw== X-Received: by 10.50.2.66 with SMTP id 2mr11836658igs.66.1450592820795; Sat, 19 Dec 2015 22:27:00 -0800 (PST) Received: from phe.ftfl.ca.ftfl.ca (hlfxns016cw-142167179056.dhcp-dynamic.FibreOp.ns.bellaliant.net. [142.167.179.56]) by smtp.gmail.com with ESMTPSA id ck3sm5838478igb.5.2015.12.19.22.26.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 Dec 2015 22:26:59 -0800 (PST) From: Joseph Mingrone To: bug-gnu-emacs@gnu.org Subject: 25.0.50; lock up with gui dialogs and clipmon-mode Date: Sun, 20 Dec 2015 02:26:57 -0400 Message-ID: <86y4cpk53i.fsf@phe.ftfl.ca> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) 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: -4.1 (----) If clipmon-mode is enaled and a gui dialog box is displayed, then emacs will lock up and its process will use 100% CPU. This happens with both GNU Emacs 25.0.50.1 (amd64-portbld-freebsd10.1, GTK+ Version 2.24.29) of 2015-12-20 and GNU Emacs 25.0.50.3 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23) of 2015-11-11. Here is a recipe to repeat the problem: % emacs -Q evaluate (load "/path/to/clipmon-20150306.1223/clipmon.el") S- Thanks, Joseph Sometimes X will lock up and the only way to regain control is to switch to a virtual terminal and kill emacs. Running emacs on a remote box, with the same recipe can lock the local window manager. I will bring this to the attention of the clipmon developer in case this is a problem with the package. In GNU Emacs 25.0.50.1 (amd64-portbld-freebsd10.1, GTK+ Version 2.24.29) of 2015-12-20 Windowing system distributor 'The X.Org Foundation', version 11.0.11704000 Configured using: 'configure --localstatedir=/var --with-gameuser=games:games --disable-acl --without-dbus --without-file-notification --without-gconf --with-gif --with-gnutls --without-gsettings --with-jpeg --with-m17n-flt --with-imagemagick --with-libotf --with-png --without-toolkit-scroll-bars --with-rsvg --with-tiff --with-x --with-xft --with-xim --with-xml2 --with-xpm --with-x-toolkit=gtk2 --with-sound=oss --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/share/emacs/info/ --build=amd64-portbld-freebsd10.1 'CFLAGS=-O2 -pipe -fstack-protector -fno-strict-aliasing' CPPFLAGS=-I/usr/local/include 'LDFLAGS= -L/usr/local/lib -Wl,-rpath=/usr/lib:/usr/local/lib -fstack-protector'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB GTK2 X11 Important settings: value of $LANG: en_CA.UTF-8 locale-coding-system: utf-8-unix Major mode: ERC Minor modes in effect: diff-auto-refine-mode: t savehist-mode: t global-company-mode: t company-mode: t erc-spelling-mode: t flyspell-mode: t erc-log-mode: t show-paren-mode: t global-auto-revert-mode: t clipmon-mode: t global-undo-tree-mode: t undo-tree-mode: t pdf-occur-global-minor-mode: t helm-flx-mode: t helm-mode: t google-this-mode: t shell-dirtrack-mode: t erc-list-mode: t erc-menu-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t beacon-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-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 visual-line-mode: t transient-mark-mode: t Recent messages: Mark set Mark saved where search started Invalid face reference: package-status-builtin-face Type C-x 1 to delete the help window. Invalid face reference: package-status-builtin-face [32 times] gui-get-selection: (error "Timed out waiting for reply from selection owner") [6 times] Quit Type C-x 1 to delete the help window. Quit Mark set Load-path shadows: /home/jrm/.emacs.d/elpa/helm-20151218.1216/helm-multi-match hides /home/jrm/.emacs.d/elpa/helm-core-20151213.17/helm-multi-match /home/jrm/.emacs.d/elpa/org-20151214/org-element hides /usr/local/share/emacs/25.0.50/lisp/org/org-element /home/jrm/.emacs.d/elpa/org-20151214/org-pcomplete hides /usr/local/share/emacs/25.0.50/lisp/org/org-pcomplete /home/jrm/.emacs.d/elpa/org-20151214/ob-dot hides /usr/local/share/emacs/25.0.50/lisp/org/ob-dot /home/jrm/.emacs.d/elpa/org-20151214/org-gnus hides /usr/local/share/emacs/25.0.50/lisp/org/org-gnus /home/jrm/.emacs.d/elpa/org-20151214/org-attach hides /usr/local/share/emacs/25.0.50/lisp/org/org-attach /home/jrm/.emacs.d/elpa/org-20151214/ob-latex hides /usr/local/share/emacs/25.0.50/lisp/org/ob-latex /home/jrm/.emacs.d/elpa/org-20151214/org-mhe hides /usr/local/share/emacs/25.0.50/lisp/org/org-mhe /home/jrm/.emacs.d/elpa/org-20151214/ob-org hides /usr/local/share/emacs/25.0.50/lisp/org/ob-org /home/jrm/.emacs.d/elpa/org-20151214/ob-python hides /usr/local/share/emacs/25.0.50/lisp/org/ob-python /home/jrm/.emacs.d/elpa/org-20151214/ob-sqlite hides /usr/local/share/emacs/25.0.50/lisp/org/ob-sqlite /home/jrm/.emacs.d/elpa/org-20151214/ob-exp hides /usr/local/share/emacs/25.0.50/lisp/org/ob-exp /home/jrm/.emacs.d/elpa/org-20151214/ob-octave hides /usr/local/share/emacs/25.0.50/lisp/org/ob-octave /home/jrm/.emacs.d/elpa/org-20151214/ob-lisp hides /usr/local/share/emacs/25.0.50/lisp/org/ob-lisp /home/jrm/.emacs.d/elpa/org-20151214/ob hides /usr/local/share/emacs/25.0.50/lisp/org/ob /home/jrm/.emacs.d/elpa/org-20151214/org-list hides /usr/local/share/emacs/25.0.50/lisp/org/org-list /home/jrm/.emacs.d/elpa/org-20151214/org-colview hides /usr/local/share/emacs/25.0.50/lisp/org/org-colview /home/jrm/.emacs.d/elpa/org-20151214/org-src hides /usr/local/share/emacs/25.0.50/lisp/org/org-src /home/jrm/.emacs.d/elpa/org-20151214/org-bbdb hides /usr/local/share/emacs/25.0.50/lisp/org/org-bbdb /home/jrm/.emacs.d/elpa/org-20151214/ob-screen hides /usr/local/share/emacs/25.0.50/lisp/org/ob-screen /home/jrm/.emacs.d/elpa/org-20151214/org-macs hides /usr/local/share/emacs/25.0.50/lisp/org/org-macs /home/jrm/.emacs.d/elpa/org-20151214/ob-scheme hides /usr/local/share/emacs/25.0.50/lisp/org/ob-scheme /home/jrm/.emacs.d/elpa/org-20151214/org-macro hides /usr/local/share/emacs/25.0.50/lisp/org/org-macro /home/jrm/.emacs.d/elpa/org-20151214/ob-keys hides /usr/local/share/emacs/25.0.50/lisp/org/ob-keys /home/jrm/.emacs.d/elpa/org-20151214/ob-sql hides /usr/local/share/emacs/25.0.50/lisp/org/ob-sql /home/jrm/.emacs.d/elpa/org-20151214/ob-makefile hides /usr/local/share/emacs/25.0.50/lisp/org/ob-makefile /home/jrm/.emacs.d/elpa/org-20151214/ob-C hides /usr/local/share/emacs/25.0.50/lisp/org/ob-C /home/jrm/.emacs.d/elpa/org-20151214/org hides /usr/local/share/emacs/25.0.50/lisp/org/org /home/jrm/.emacs.d/elpa/org-20151214/ob-sass hides /usr/local/share/emacs/25.0.50/lisp/org/ob-sass /home/jrm/.emacs.d/elpa/org-20151214/ob-ditaa hides /usr/local/share/emacs/25.0.50/lisp/org/ob-ditaa /home/jrm/.emacs.d/elpa/org-20151214/ob-js hides /usr/local/share/emacs/25.0.50/lisp/org/ob-js /home/jrm/.emacs.d/elpa/org-20151214/ox-texinfo hides /usr/local/share/emacs/25.0.50/lisp/org/ox-texinfo /home/jrm/.emacs.d/elpa/org-20151214/ob-io hides /usr/local/share/emacs/25.0.50/lisp/org/ob-io /home/jrm/.emacs.d/elpa/org-20151214/ob-awk hides /usr/local/share/emacs/25.0.50/lisp/org/ob-awk /home/jrm/.emacs.d/elpa/org-20151214/org-feed hides /usr/local/share/emacs/25.0.50/lisp/org/org-feed /home/jrm/.emacs.d/elpa/org-20151214/ob-shen hides /usr/local/share/emacs/25.0.50/lisp/org/ob-shen /home/jrm/.emacs.d/elpa/org-20151214/ox-md hides /usr/local/share/emacs/25.0.50/lisp/org/ox-md /home/jrm/.emacs.d/elpa/org-20151214/ob-gnuplot hides /usr/local/share/emacs/25.0.50/lisp/org/ob-gnuplot /home/jrm/.emacs.d/elpa/org-20151214/org-eshell hides /usr/local/share/emacs/25.0.50/lisp/org/org-eshell /home/jrm/.emacs.d/elpa/org-20151214/ob-core hides /usr/local/share/emacs/25.0.50/lisp/org/ob-core /home/jrm/.emacs.d/elpa/org-20151214/ob-matlab hides /usr/local/share/emacs/25.0.50/lisp/org/ob-matlab /home/jrm/.emacs.d/elpa/org-20151214/org-agenda hides /usr/local/share/emacs/25.0.50/lisp/org/org-agenda /home/jrm/.emacs.d/elpa/org-20151214/ox-html hides /usr/local/share/emacs/25.0.50/lisp/org/ox-html /home/jrm/.emacs.d/elpa/org-20151214/org-table hides /usr/local/share/emacs/25.0.50/lisp/org/org-table /home/jrm/.emacs.d/elpa/org-20151214/ob-asymptote hides /usr/local/share/emacs/25.0.50/lisp/org/ob-asymptote /home/jrm/.emacs.d/elpa/org-20151214/org-clock hides /usr/local/share/emacs/25.0.50/lisp/org/org-clock /home/jrm/.emacs.d/elpa/org-20151214/ob-fortran hides /usr/local/share/emacs/25.0.50/lisp/org/ob-fortran /home/jrm/.emacs.d/elpa/org-20151214/ob-ledger hides /usr/local/share/emacs/25.0.50/lisp/org/ob-ledger /home/jrm/.emacs.d/elpa/org-20151214/org-compat hides /usr/local/share/emacs/25.0.50/lisp/org/org-compat /home/jrm/.emacs.d/elpa/org-20151214/org-indent hides /usr/local/share/emacs/25.0.50/lisp/org/org-indent /home/jrm/.emacs.d/elpa/org-20151214/org-plot hides /usr/local/share/emacs/25.0.50/lisp/org/org-plot /home/jrm/.emacs.d/elpa/org-20151214/ob-clojure hides /usr/local/share/emacs/25.0.50/lisp/org/ob-clojure /home/jrm/.emacs.d/elpa/org-20151214/org-ctags hides /usr/local/share/emacs/25.0.50/lisp/org/org-ctags /home/jrm/.emacs.d/elpa/org-20151214/ob-java hides /usr/local/share/emacs/25.0.50/lisp/org/ob-java /home/jrm/.emacs.d/elpa/org-20151214/org-protocol hides /usr/local/share/emacs/25.0.50/lisp/org/org-protocol /home/jrm/.emacs.d/elpa/org-20151214/ox hides /usr/local/share/emacs/25.0.50/lisp/org/ox /home/jrm/.emacs.d/elpa/org-20151214/ob-table hides /usr/local/share/emacs/25.0.50/lisp/org/ob-table /home/jrm/.emacs.d/elpa/org-20151214/org-habit hides /usr/local/share/emacs/25.0.50/lisp/org/org-habit /home/jrm/.emacs.d/elpa/org-20151214/org-entities hides /usr/local/share/emacs/25.0.50/lisp/org/org-entities /home/jrm/.emacs.d/elpa/org-20151214/org-info hides /usr/local/share/emacs/25.0.50/lisp/org/org-info /home/jrm/.emacs.d/elpa/org-20151214/org-capture hides /usr/local/share/emacs/25.0.50/lisp/org/org-capture /home/jrm/.emacs.d/elpa/org-20151214/ob-scala hides /usr/local/share/emacs/25.0.50/lisp/org/ob-scala /home/jrm/.emacs.d/elpa/org-20151214/org-crypt hides /usr/local/share/emacs/25.0.50/lisp/org/org-crypt /home/jrm/.emacs.d/elpa/org-20151214/ob-ruby hides /usr/local/share/emacs/25.0.50/lisp/org/ob-ruby /home/jrm/.emacs.d/elpa/org-20151214/ob-ref hides /usr/local/share/emacs/25.0.50/lisp/org/ob-ref /home/jrm/.emacs.d/elpa/org-20151214/ob-picolisp hides /usr/local/share/emacs/25.0.50/lisp/org/ob-picolisp /home/jrm/.emacs.d/elpa/org-20151214/ob-haskell hides /usr/local/share/emacs/25.0.50/lisp/org/ob-haskell /home/jrm/.emacs.d/elpa/org-20151214/org-rmail hides /usr/local/share/emacs/25.0.50/lisp/org/org-rmail /home/jrm/.emacs.d/elpa/org-20151214/ob-calc hides /usr/local/share/emacs/25.0.50/lisp/org/ob-calc /home/jrm/.emacs.d/elpa/org-20151214/ox-org hides /usr/local/share/emacs/25.0.50/lisp/org/ox-org /home/jrm/.emacs.d/elpa/org-20151214/ob-emacs-lisp hides /usr/local/share/emacs/25.0.50/lisp/org/ob-emacs-lisp /home/jrm/.emacs.d/elpa/org-20151214/ox-icalendar hides /usr/local/share/emacs/25.0.50/lisp/org/ox-icalendar /home/jrm/.emacs.d/elpa/org-20151214/ob-lob hides /usr/local/share/emacs/25.0.50/lisp/org/ob-lob /home/jrm/.emacs.d/elpa/org-20151214/ox-beamer hides /usr/local/share/emacs/25.0.50/lisp/org/ox-beamer /home/jrm/.emacs.d/elpa/org-20151214/ob-comint hides /usr/local/share/emacs/25.0.50/lisp/org/ob-comint /home/jrm/.emacs.d/elpa/org-20151214/org-footnote hides /usr/local/share/emacs/25.0.50/lisp/org/org-footnote /home/jrm/.emacs.d/elpa/org-20151214/org-timer hides /usr/local/share/emacs/25.0.50/lisp/org/org-timer /home/jrm/.emacs.d/elpa/org-20151214/ob-css hides /usr/local/share/emacs/25.0.50/lisp/org/ob-css /home/jrm/.emacs.d/elpa/org-20151214/org-w3m hides /usr/local/share/emacs/25.0.50/lisp/org/org-w3m /home/jrm/.emacs.d/elpa/org-20151214/ox-publish hides /usr/local/share/emacs/25.0.50/lisp/org/ox-publish /home/jrm/.emacs.d/elpa/org-20151214/ob-maxima hides /usr/local/share/emacs/25.0.50/lisp/org/ob-maxima /home/jrm/.emacs.d/elpa/org-20151214/ob-lilypond hides /usr/local/share/emacs/25.0.50/lisp/org/ob-lilypond /home/jrm/.emacs.d/elpa/org-20151214/ob-eval hides /usr/local/share/emacs/25.0.50/lisp/org/ob-eval /home/jrm/.emacs.d/elpa/org-20151214/org-mouse hides /usr/local/share/emacs/25.0.50/lisp/org/org-mouse /home/jrm/.emacs.d/elpa/org-20151214/org-faces hides /usr/local/share/emacs/25.0.50/lisp/org/org-faces /home/jrm/.emacs.d/elpa/org-20151214/ob-plantuml hides /usr/local/share/emacs/25.0.50/lisp/org/ob-plantuml /home/jrm/.emacs.d/elpa/org-20151214/org-id hides /usr/local/share/emacs/25.0.50/lisp/org/org-id /home/jrm/.emacs.d/elpa/org-20151214/ox-ascii hides /usr/local/share/emacs/25.0.50/lisp/org/ox-ascii /home/jrm/.emacs.d/elpa/org-20151214/ob-perl hides /usr/local/share/emacs/25.0.50/lisp/org/ob-perl /home/jrm/.emacs.d/elpa/org-20151214/ox-odt hides /usr/local/share/emacs/25.0.50/lisp/org/ox-odt /home/jrm/.emacs.d/elpa/org-20151214/ob-R hides /usr/local/share/emacs/25.0.50/lisp/org/ob-R /home/jrm/.emacs.d/elpa/org-20151214/ob-mscgen hides /usr/local/share/emacs/25.0.50/lisp/org/ob-mscgen /home/jrm/.emacs.d/elpa/org-20151214/org-mobile hides /usr/local/share/emacs/25.0.50/lisp/org/org-mobile /home/jrm/.emacs.d/elpa/org-20151214/ob-tangle hides /usr/local/share/emacs/25.0.50/lisp/org/ob-tangle /home/jrm/.emacs.d/elpa/org-20151214/org-loaddefs hides /usr/local/share/emacs/25.0.50/lisp/org/org-loaddefs /home/jrm/.emacs.d/elpa/org-20151214/org-archive hides /usr/local/share/emacs/25.0.50/lisp/org/org-archive /home/jrm/.emacs.d/elpa/org-20151214/org-docview hides /usr/local/share/emacs/25.0.50/lisp/org/org-docview /home/jrm/.emacs.d/elpa/org-20151214/org-datetree hides /usr/local/share/emacs/25.0.50/lisp/org/org-datetree /home/jrm/.emacs.d/elpa/org-20151214/org-install hides /usr/local/share/emacs/25.0.50/lisp/org/org-install /home/jrm/.emacs.d/elpa/org-20151214/ox-latex hides /usr/local/share/emacs/25.0.50/lisp/org/ox-latex /home/jrm/.emacs.d/elpa/org-20151214/ox-man hides /usr/local/share/emacs/25.0.50/lisp/org/ox-man /home/jrm/.emacs.d/elpa/org-20151214/org-inlinetask hides /usr/local/share/emacs/25.0.50/lisp/org/org-inlinetask /home/jrm/.emacs.d/elpa/org-20151214/ob-ocaml hides /usr/local/share/emacs/25.0.50/lisp/org/ob-ocaml /home/jrm/.emacs.d/elpa/org-20151214/org-irc hides /usr/local/share/emacs/25.0.50/lisp/org/org-irc /home/jrm/.emacs.d/elpa/org-20151214/org-bibtex hides /usr/local/share/emacs/25.0.50/lisp/org/org-bibtex /home/jrm/.emacs.d/elpa/org-20151214/org-version hides /usr/local/share/emacs/25.0.50/lisp/org/org-version /home/jrm/.emacs.d/elpa/company-statistics-0.2.2/.dir-locals hides /usr/local/share/emacs/25.0.50/lisp/gnus/.dir-locals /home/jrm/.emacs.d/elpa/cl-generic-0.2/cl-generic hides /usr/local/share/emacs/25.0.50/lisp/emacs-lisp/cl-generic /home/jrm/.emacs.d/elpa/seq-20151121.1017/seq hides /usr/local/share/emacs/25.0.50/lisp/emacs-lisp/seq Features: (shadow sort bbdb-message mail-extr gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig emacsbug sendmail lisp-mnt mm-archive url-handlers url-http url-gw url-cache url-auth eieio-opt speedbar sb-image ezimage dframe ace-window time-stamp vc vc-dispatcher vc-git diff-mode tramp-sh tramp-cache pcmpl-unix em-xtra em-unix em-term term disp-table ehelp em-script em-prompt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util multi-eshell character-fold misearch multi-isearch epa-file epa derived epg gnutls network-stream nsm starttls znc winner flx helm-command helm-elisp helm-eval edebug server ace-link avy cal-china lunar solar cal-dst cal-islam cal-hebrew holidays hol-loaddefs bbdb-anniv bbdb-com crm bbdb bbdb-site timezone appt diary-lib diary-loaddefs savehist company-files company-oddmuse company-keywords company-etags etags xref project company-gtags company-dabbrev-code company-dabbrev company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company smart-mode-line-dark-theme smart-mode-line rich-minority org-w3m org-protocol org-mhe org-irc org-info org-gnus org-docview doc-view org-bibtex bibtex org-bbdb org-element avl-tree erc-spelling flyspell ispell erc-log paren hl-line autorevert filenotify clipmon undo-tree diff transpar s ucs-normalize pdf-occur ibuf-ext ibuffer tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch let-alist pdf-misc imenu pdf-tools cus-edit cus-start cus-load pdf-view jka-compr pdf-cache pdf-info tq pdf-util image-mode org-clock org-location-google-maps org-agenda google-maps google-maps-static google-maps-geocode google-maps-base json map org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar cal-loaddefs nnmairix nnml gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls utf7 netrc parse-time gnus-spec gnus-int gnus-range message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnoo nnheader mail-utils misc key-chord helm-flx helm-mode helm-files rx tramp tramp-compat tramp-loaddefs trampver ffap helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info bookmark helm-locate helm-grep helm-regexp helm-plugin helm-external helm-net xml helm-utils helm-help helm-types helm helm-source eieio-compat helm-multi-match helm-lib google-this url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap ido ess-toolbar ess-mouse mouseme browse-url ess-menu ess-swv ess-noweb ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a shell ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp3-d ess-julia julia-mode ert find-func ewoc debug ess-r-d ess-r-syntax ess-r-completion ess-tracebug ess-roxy hideshow ess-help ess-developer ess-s-l ess ess-inf compile ess-mode ess-noweb-mode ess-utils ess-custom executable ess-compat ess-site erc-tex edmacro kmacro erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete comint ansi-color ring erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv gnus-util time-date mm-util help-fns mail-prsvr password-cache thingatpt pp cl help-mode easy-mmode dired+ image-dired format-spec image-file dired-x dired-aux dired beacon seq finder-inf tex-site advice info eieio-core cl-macs gv cl-loaddefs pcase cl-lib package easymenu epg-config mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame 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 charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 806808 121139) (symbols 48 64587 0) (miscs 40 601 1849) (strings 32 185147 27482) (string-bytes 1 6065476) (vectors 16 112110) (vector-slots 8 2716270 41641) (floats 8 5055 482) (intervals 56 16971 4539) (buffers 976 60)) <#secure method=pgpmime mode=sign> From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 20 10:54:15 2015 Received: (at 22214) by debbugs.gnu.org; 20 Dec 2015 15:54:15 +0000 Received: from localhost ([127.0.0.1]:58167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aAgJK-0006eh-UD for submit@debbugs.gnu.org; Sun, 20 Dec 2015 10:54:15 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37623) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aAgJI-0006eS-TG for 22214@debbugs.gnu.org; Sun, 20 Dec 2015 10:54:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aAgJA-0006Xo-F3 for 22214@debbugs.gnu.org; Sun, 20 Dec 2015 10:54:07 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAgJA-0006Xk-Bk; Sun, 20 Dec 2015 10:54:04 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4437 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aAgJ7-0006Gu-3X; Sun, 20 Dec 2015 10:54:04 -0500 Date: Sun, 20 Dec 2015 17:54:30 +0200 Message-Id: <83oadlt8sp.fsf@gnu.org> From: Eli Zaretskii To: Joseph Mingrone In-reply-to: <86y4cpk53i.fsf@phe.ftfl.ca> (message from Joseph Mingrone on Sun, 20 Dec 2015 02:26:57 -0400) Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <86y4cpk53i.fsf@phe.ftfl.ca> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22214 Cc: 22214@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Joseph Mingrone > Date: Sun, 20 Dec 2015 02:26:57 -0400 > > If clipmon-mode is enaled and a gui dialog box is displayed, then > emacs will lock up and its process will use 100% CPU. This happens > with both > > GNU Emacs 25.0.50.1 (amd64-portbld-freebsd10.1, GTK+ Version 2.24.29) of 2015-12-20 > > and > > GNU Emacs 25.0.50.3 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23) of 2015-11-11. > > Here is a recipe to repeat the problem: > > % emacs -Q > evaluate (load "/path/to/clipmon-20150306.1223/clipmon.el") > S- > > Thanks, > > Joseph > > Sometimes X will lock up and the only way to regain control is to > switch to a virtual terminal and kill emacs. Running emacs on a > remote box, with the same recipe can lock the local window manager. I > will bring this to the attention of the clipmon developer in case this > is a problem with the package. What is your value of x-selection-timeout? I think there is indeed a problem in clipmon: it calls x-get-selection-value from a timer that runs every 2 sec. But if the call times out, and the value of x-selection-timeout is more than 2 sec (the default is 5, I think), then this will indeed wedge Emacs cold, for obvious reasons. In addition, the function that waits for the timeout to expire also runs timers, which probably exacerbates the problem. Can you attach a debugger to Emacs when it is wedged, and see which threads run and consume CPU? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 20 19:33:40 2015 Received: (at submit) by debbugs.gnu.org; 21 Dec 2015 00:33:40 +0000 Received: from localhost ([127.0.0.1]:58389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aAoQ0-0003la-0A for submit@debbugs.gnu.org; Sun, 20 Dec 2015 19:33:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50075) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aAoEv-0003TE-Ux for submit@debbugs.gnu.org; Sun, 20 Dec 2015 19:22:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aAoEp-0002Jc-NV for submit@debbugs.gnu.org; Sun, 20 Dec 2015 19:22:08 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAoEp-0002JY-Ko for submit@debbugs.gnu.org; Sun, 20 Dec 2015 19:22:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAoEo-0006Ux-G8 for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2015 19:22:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aAoEn-0002Im-2t for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2015 19:22:06 -0500 Received: from mail-ig0-x236.google.com ([2607:f8b0:4001:c05::236]:35760) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAoEm-0002IQ-T1; Sun, 20 Dec 2015 19:22:04 -0500 Received: by mail-ig0-x236.google.com with SMTP id to4so26697499igc.0; Sun, 20 Dec 2015 16:22:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=WnHWBieTPQOVCOjObaSJjnYuK6/6Wg4EqrgVJ8DCVRw=; b=tngoyFxGvRAKtERx/JE7AEv52HznFOYhdx/BcOkhq0h1vl4SS1JtnI+tZjMtY5iMmJ LMyo7omxXeoSlQmUC7Ahg58EkefLgl20FipHC0jUj/Oni00bGB0Is5Lrr+OfcmzM1LaN ThElII+d/qYIYMUcaQYt5Jei2P/mmjaixBKJJE+VmhNOWdCmjtGVUIon0z0Dy6f/XSFz egxrIqtlSmcCgP/NaWkcUT0rt/zl0tAgwkSQ/FcxbdVPkfyhVdit+X0iaeC5hZACRWh8 FiTITmysNcxVwbABN74M+xt0vEqQ3P69DJrgXNRigExkMo9Eh/jmKHvdStrCuIPbDFmJ r8gw== X-Received: by 10.50.126.8 with SMTP id mu8mr14548673igb.52.1450657324227; Sun, 20 Dec 2015 16:22:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.212.74 with HTTP; Sun, 20 Dec 2015 16:21:24 -0800 (PST) From: Brian Burns Date: Sun, 20 Dec 2015 18:21:24 -0600 Message-ID: Subject: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode To: eliz@gnu.org, jrm@ftfl.ca, bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=047d7b1635bf80620105275d7ad7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 20 Dec 2015 19:33:39 -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: -4.0 (----) --047d7b1635bf80620105275d7ad7 Content-Type: text/plain; charset=UTF-8 > I think there is indeed a problem in clipmon: it calls x-get-selection-value > from a timer that runs every 2 sec. But if the call times out, and the value of > x-selection-timeout is more than 2 sec (the default is 5, I think), then this > will indeed wedge Emacs cold, for obvious reasons. In addition, the function > that waits for the timeout to expire also runs timers, which probably > exacerbates the problem. Hi, clipmon author here - this seems to be a problem on Linux as the Windows build (25.0.50.1) works okay on Windows 8.1, but I read that `x-get-selection-value' is obsolete in Emacs 25, and was changed to `gui-get-primary-selection' - http://stackoverflow.com/questions/28403647/emacs-25-yank-from-x-windows-primary-clipboard-buffer-with-keyboard . Does anyone know what might have changed in this function? If not I'll check git for any changes, and then I'll setup a Linux VM then I can test it out and do some debugging. Also tracking the issue here - https://github.com/bburns/clipmon/issues/3 Regards, Brian --047d7b1635bf80620105275d7ad7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> I think there is indeed a problem in clipmon: it call= s x-get-selection-value
> from a timer that runs every 2 sec. But if = the call times out, and the value of
> x-selection-timeout is more th= an 2 sec (the default is 5, I think), then this
> will indeed wedge E= macs cold, for obvious reasons. In addition, the function
> that wait= s for the timeout to expire also runs timers, which probably
> exacer= bates the problem.

Hi, clipmon author here - this seems to be a prob= lem on Linux as the Windows
build (25.0.50.1) works okay on Windows 8.1,= but I read that
`x-get-selection-value' is obsolete in Emacs 25, an= d was changed to
`gui-get-primary-selection' -
http://stackoverflow.com/questions/28403647/= emacs-25-yank-from-x-windows-primary-clipboard-buffer-with-keyboard.
Does anyone know what might have changed in this function? If not I= 9;ll check git
for any changes, and then I'll setup a Linux VM then = I can test it out and do
some debugging.

Also tracking the issue = here - https://githu= b.com/bburns/clipmon/issues/3

Regards,
Brian

--047d7b1635bf80620105275d7ad7-- From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 20 19:46:23 2015 Received: (at submit) by debbugs.gnu.org; 21 Dec 2015 00:46:23 +0000 Received: from localhost ([127.0.0.1]:58397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aAocI-00044m-Lr for submit@debbugs.gnu.org; Sun, 20 Dec 2015 19:46:22 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55654) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aAocH-00044a-RA for submit@debbugs.gnu.org; Sun, 20 Dec 2015 19:46:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aAocB-0007tb-DH for submit@debbugs.gnu.org; Sun, 20 Dec 2015 19:46:16 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAocB-0007tX-9s for submit@debbugs.gnu.org; Sun, 20 Dec 2015 19:46:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAocA-0003MT-4j for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2015 19:46:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aAoc8-0007t1-2I for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2015 19:46:14 -0500 Received: from mail-io0-x244.google.com ([2607:f8b0:4001:c06::244]:34629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAoc7-0007sZ-UT for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2015 19:46:11 -0500 Received: by mail-io0-x244.google.com with SMTP id k127so1169082iok.1 for ; Sun, 20 Dec 2015 16:46:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=WwWJEePf3HxGNZgePwIEO27jdmOEd0o1Yu4d5QyW1B4=; b=byHKJrprzH05huXsaAub2GkbvuSUdGt5wxIT0mQvq9DmbT/mQ+ZzEsRMiCuYE/q08Z Relhg+uX7ZYvu8Z7HEc5SedRt7D2GPDRg4iNimedcQ3chICCXHQFEPXyVllQD09PVzII xB0EFpw7yIPHr0jUjVtvlZryEyOc6MUmbBdPs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=WwWJEePf3HxGNZgePwIEO27jdmOEd0o1Yu4d5QyW1B4=; b=BCF2hZXu06YnMeSlm1TkKNVFhAKRYvIMhRu52/+9GFRN1tHr8OdME0Y3gKJg6LU9/4 SJwHdf1GtPlWcLuWo2NIpOfYJUUloRuSZJbqjTUaQPFk+IrMAixd1TK31XIHKLjtGoN0 ux/1YJozvb1f48iTIhoeX7HxoxfTA2GKmHNtJkRMzmLbL/tsWuNiLtJdA9ervsstOXUA p10uAI2/kh4g5AUA7P0gBv3DosnUwiiSklJKdbBRT7KB5cQYLY59c1bCLglvoeMMSVBY dtBoChOK6+GTLxPgyIEox7hJ226o81TJUtm70u5anC+aHUT6A5wBt/cAMQrFOITswxms RUiw== X-Gm-Message-State: ALoCoQmtf9cj77WqxVZln+fPdaMwE72lSqUmvv+WJ7WYCXNLFvbtqwhJewhiv5rOmNerbOK+xC1COXHR1W02kCPgdbyrNICqnQ== X-Received: by 10.107.166.82 with SMTP id p79mr16396537ioe.187.1450658770216; Sun, 20 Dec 2015 16:46:10 -0800 (PST) Received: from phe.ftfl.ca.ftfl.ca (hlfxns016cw-142167179056.dhcp-dynamic.FibreOp.ns.bellaliant.net. [142.167.179.56]) by smtp.gmail.com with ESMTPSA id q74sm11057116ioe.42.2015.12.20.16.46.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Dec 2015 16:46:07 -0800 (PST) From: Joseph Mingrone To: Brian Burns Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: Date: Sun, 20 Dec 2015 20:45:56 -0400 In-Reply-To: (Brian Burns's message of "Sun, 20 Dec 2015 18:21:24 -0600") Message-ID: <86zix4fx2z.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit Cc: eliz@gnu.org, bug-gnu-emacs@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: -4.1 (----) --=-=-= Content-Type: text/plain Brian Burns writes: >> I think there is indeed a problem in clipmon: it calls > x-get-selection-value >> from a timer that runs every 2 sec. But if the call times out, and the > value of >> x-selection-timeout is more than 2 sec (the default is 5, I think), then > this >> will indeed wedge Emacs cold, for obvious reasons. In addition, the > function >> that waits for the timeout to expire also runs timers, which probably >> exacerbates the problem. > Hi, clipmon author here - this seems to be a problem on Linux as the Windows > build (25.0.50.1) works okay on Windows 8.1, but I read that > `x-get-selection-value' is obsolete in Emacs 25, and was changed to > `gui-get-primary-selection' - > http://stackoverflow.com/questions/28403647/emacs-25-yank-from-x-windows-primary-clipboard-buffer-with-keyboard > . > Does anyone know what might have changed in this function? If not I'll > check git > for any changes, and then I'll setup a Linux VM then I can test it out and > do > some debugging. > Also tracking the issue here - https://github.com/bburns/clipmon/issues/3 Eli and Brian, The value of x-selection-timeout was indeed 5000 milliseconds. I tried changing it to 0 and 500 milliseconds with no change. The results of the simple test were the same on 24.5.1. I'm working on attaching the debugger, so hopefully more information will follow soon. Joseph --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWd0vEAAoJEDakDIOw1u+efPcQAJhC0vmrYKoCT/owYXCKgkaO db/J7ZjE8AALNPpxBRAPREp2z8tFFu5fKL6axPEnmmmg0KtSNUtOv5xpMOmwPEZE EiKlzq7bn0qaQFvaw3TC/qD7sdhPu3opoa5yhQoNj3bdcI6Kugv+BK3phuXq8T4n 97J/hwpMCQOH6jZbIfmIkd3xrXdNzxPQQaJXrpB2ixnoeUDade+J3Aceu/jlxTJp 4FlrBcaFqOjyRHJkkLHuQtXkw4BhCyqF0UEfruy/xpB38bPU7Yxv1Ef+1rvfkqg1 kepWz2yzqZK3Z+dTs43dlihfNdT/schvbnSlR96OtiBC+SslHfCR1W7T6tTVRrw2 FsvNx6wsexdCs0XkhaMQIJETMF6iRL3hNN3i0g6KxCdZOyvYuu8iVsYNB6u2DvaB 4EppFllI1cvkuDMsUfs4mZygY609R/wvUhL5mNQsJMWpKmQ8iJ00NA8gshOrS64A F1SXwHDw6ybwPfR2i+IsjNDkrPfn5zuOTKpnSx0ldFQpko1Oaw5BvhBSXw8OZyWa zqH+qZ4RoPJUyR18xf9m+LOHU4yp/O1gmS47LGs0LIpyQ792+YUwog1iZuV/PrGK zm4x6ek3iWlQzlRLUKPLysjFiyb4mKjTUsrGyl0vcdtO+0RQqSTILUk/LirNTXaW XrurX+otl4F1J0HAHDBj =72CE -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 20 21:31:18 2015 Received: (at 22214) by debbugs.gnu.org; 21 Dec 2015 02:31:18 +0000 Received: from localhost ([127.0.0.1]:58426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aAqFq-0006Yt-KU for submit@debbugs.gnu.org; Sun, 20 Dec 2015 21:31:18 -0500 Received: from mail-io0-f179.google.com ([209.85.223.179]:36340) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aAqFp-0006Ye-NC for 22214@debbugs.gnu.org; Sun, 20 Dec 2015 21:31:18 -0500 Received: by mail-io0-f179.google.com with SMTP id o67so141337049iof.3 for <22214@debbugs.gnu.org>; Sun, 20 Dec 2015 18:31:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=JDQRzy9iA9PrvZXPut4m/Wk+VePyepRAcrrsUGZf/jU=; b=ITWBozGmjwcE6hPTYN3y3dqQXytdKS2H3DKSgchvCCq91mqzSeOdQGqNzAwtAxxwpF riqrWFwGPuHbz65cob/YgLvfiPJ/P1peKN4JRGO8JIs+xv6g4yQLqglKJ+i5XYaI5nHu uPoyQp0hHtCOp94en3hjBYCU6LdXpeLlGTSkc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=JDQRzy9iA9PrvZXPut4m/Wk+VePyepRAcrrsUGZf/jU=; b=BnhrXVTf/INx0m1EV2ascJsDJO07+fWB/8+gitHcG20b6vhPQEoFfbLn0y9EoQiURz iqETLCdPKJaJpp6/0Tr6/PTDNM2VIkVq19bhxAE5zjfv5Qh/NSCKg4pNRrfADiKz1+Sv 3g/7ZWFZubn43te8Zpv0dkOCrTv0ZXi6ywOH2ev1k41yao+g36lzM5qsGenypPv3/zGv XJdoduYQ+OphPFk09T7MzeJNuHo64KBMToOswLt4+L91gprTPE1MXQ597lNSoWIVXlfD ICoZIWIL0qXWjzZI+5T3xvl2pVFKEgJlSj2U9QpAlcHz8tL6h65/6MhtuegvJ6ygtV49 CJkw== X-Gm-Message-State: ALoCoQllo4Xwu+LtZ5ewEZj5yep6bmoN3SGHrgz95/oJLt9ap4t7NYV9F+Q21y9L2gZr8gb1Gp9yYx9g/W0Xe1DlRg9omYQRGg== X-Received: by 10.107.157.213 with SMTP id g204mr18901631ioe.169.1450665071904; Sun, 20 Dec 2015 18:31:11 -0800 (PST) Received: from phe.ftfl.ca.ftfl.ca (hlfxns016cw-142167179056.dhcp-dynamic.FibreOp.ns.bellaliant.net. [142.167.179.56]) by smtp.gmail.com with ESMTPSA id k6sm7254050igx.20.2015.12.20.18.31.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Dec 2015 18:31:10 -0800 (PST) From: Joseph Mingrone To: Eli Zaretskii Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <86y4cpk53i.fsf@phe.ftfl.ca> <83oadlt8sp.fsf@gnu.org> Date: Sun, 20 Dec 2015 22:31:08 -0400 In-Reply-To: <83oadlt8sp.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 20 Dec 2015 17:54:30 +0200") Message-ID: <86vb7sfs7n.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22214 Cc: 22214@debbugs.gnu.org, Brian Burns 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.7 (/) --=-=-= Content-Type: text/plain Eli Zaretskii writes: > Can you attach a debugger to Emacs when it is wedged, and see which > threads run and consume CPU? Does below include what you're looking for? If not, just let me know and I'll investigate further. Joseph GNU gdb (GDB) 7.10 [GDB v7.10 for FreeBSD] . . . Type "apropos word" to search for commands related to "word". Attaching to process 57303 Reading symbols from /usr/home/jrm/scm/nm/emacs.git/src/emacs-25.0.50.1...done. . . . [New Thread 16b5c00 (LWP 101370)] [New Thread 1902400 (LWP 100742)] . . . [Switching to Thread 1902400 (LWP 100742)] 0x0000000807444cfa in _sigprocmask () from /lib/libc.so.7 SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = :0.0 TERM = screen-256color Breakpoint 1 at 0x5dfb54: file emacs.c, line 371. Temporary breakpoint 2 at 0x61e9d9: file sysdep.c, line 905. (gdb) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWd2RsAAoJEDakDIOw1u+e+UMP/izyukGbN0EMdU+EkG83cRpt 0/D8v1b77MnGudi2PWpF1iQrsuC791kvCIn8slpB/Tfbv+4r7oZNl0t5z3dvGwZH B/dCyUa/S3IW20ikjrClLmS+BKpk9sA9/pOGAXUaKP5ETsGZb0OGm2VrKoggIgsK OrdHlOY4e9+X3P/q2yjjRnly+0TEk869a4qk3g0EbddMz4euJwTLIXNhIqVAaQIE 1aiokmF5LoRUpbvbjZ7uJL3c6xQuojNJ6yclfWJO+U1xPOFEnFfQFUIhTUbhtnhj qwPhw+3gD6TuFWy5tqNGnrRRH2ylWPogrI7UVyawmvo4WWDLcB1trzvkiQyH0RH9 JNOl11Tr4I/4RiQYQKxBRENkyYSefz0EyNj99bCxF3BGIdh/CvW0DPEya57a1cqr ImxdItps6jDSFYoxNIFOqwZJ4D9djmgWsL0EFmOoCCam1B0fgfxuAS0whRot3YLU brarwZQYFvKRXbBYoOO3MPjmDHjIa4OOP6gUzxpuRSVv5xq3rEMVkrKKABIwWJo4 hgly2NUEP8pLQE4E1VksxJmuER6Ky9FKRNW6UldNkuRXx9pHCBCB8NRXTaOWU2HM hMHJ73m/EIRboEIf3IFRUxeE7L7ayTotuHYcgIsrY4A538PA5TySkbyEd+BR+crt 2XN0cxdKzUUn55OE8Z7U =EVeu -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 21 10:24:24 2015 Received: (at 22214) by debbugs.gnu.org; 21 Dec 2015 15:24:24 +0000 Received: from localhost ([127.0.0.1]:58994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB2K0-0001DL-JL for submit@debbugs.gnu.org; Mon, 21 Dec 2015 10:24:24 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57489) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB2Jz-0001Cy-Hn for 22214@debbugs.gnu.org; Mon, 21 Dec 2015 10:24:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aB2Jt-0003vh-EV for 22214@debbugs.gnu.org; Mon, 21 Dec 2015 10:24:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB2Jq-0003uq-29; Mon, 21 Dec 2015 10:24:14 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4893 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aB2Jn-0007Z6-6B; Mon, 21 Dec 2015 10:24:12 -0500 Date: Mon, 21 Dec 2015 17:24:43 +0200 Message-Id: <83si2vsu2s.fsf@gnu.org> From: Eli Zaretskii To: Joseph Mingrone In-reply-to: <86vb7sfs7n.fsf@phe.ftfl.ca> (message from Joseph Mingrone on Sun, 20 Dec 2015 22:31:08 -0400) Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <86y4cpk53i.fsf@phe.ftfl.ca> <83oadlt8sp.fsf@gnu.org> <86vb7sfs7n.fsf@phe.ftfl.ca> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22214 Cc: 22214@debbugs.gnu.org, bburns.km@gmail.com 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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Joseph Mingrone > Cc: 22214@debbugs.gnu.org, Brian Burns > Date: Sun, 20 Dec 2015 22:31:08 -0400 > > Eli Zaretskii writes: > > Can you attach a debugger to Emacs when it is wedged, and see which > > threads run and consume CPU? > > Does below include what you're looking for? If not, just let me know and I'll investigate further. > > Joseph > > GNU gdb (GDB) 7.10 [GDB v7.10 for FreeBSD] > . > . > . > Type "apropos word" to search for commands related to "word". > Attaching to process 57303 > Reading symbols from /usr/home/jrm/scm/nm/emacs.git/src/emacs-25.0.50.1...done. > . > . > . > [New Thread 16b5c00 (LWP 101370)] > [New Thread 1902400 (LWP 100742)] > . > . > . > [Switching to Thread 1902400 (LWP 100742)] > 0x0000000807444cfa in _sigprocmask () from /lib/libc.so.7 > SIGINT is used by the debugger. > Are you sure you want to change it? (y or n) [answered Y; input not from terminal] > DISPLAY = :0.0 > TERM = screen-256color > Breakpoint 1 at 0x5dfb54: file emacs.c, line 371. > Temporary breakpoint 2 at 0x61e9d9: file sysdep.c, line 905. > (gdb) Yes, but at this point please type thread apply all bt and post everything that GDB displays. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 21 10:26:32 2015 Received: (at submit) by debbugs.gnu.org; 21 Dec 2015 15:26:32 +0000 Received: from localhost ([127.0.0.1]:58999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB2M3-0001GR-W7 for submit@debbugs.gnu.org; Mon, 21 Dec 2015 10:26:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58163) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB2M3-0001GG-0P for submit@debbugs.gnu.org; Mon, 21 Dec 2015 10:26:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aB2Ls-0004Qe-Tw for submit@debbugs.gnu.org; Mon, 21 Dec 2015 10:26:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB2Ls-0004Qa-Qy for submit@debbugs.gnu.org; Mon, 21 Dec 2015 10:26:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB2Lr-0001T1-Rt for bug-gnu-emacs@gnu.org; Mon, 21 Dec 2015 10:26:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aB2Lp-0004PH-4A for bug-gnu-emacs@gnu.org; Mon, 21 Dec 2015 10:26:19 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB2Lp-0004PD-0j; Mon, 21 Dec 2015 10:26:17 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4895 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aB2Lo-00083P-9r; Mon, 21 Dec 2015 10:26:16 -0500 Date: Mon, 21 Dec 2015 17:26:48 +0200 Message-Id: <83r3ifstzb.fsf@gnu.org> From: Eli Zaretskii To: Brian Burns In-reply-to: (message from Brian Burns on Sun, 20 Dec 2015 18:21:24 -0600) Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit Cc: jrm@ftfl.ca, bug-gnu-emacs@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Brian Burns > Date: Sun, 20 Dec 2015 18:21:24 -0600 > > Hi, clipmon author here - this seems to be a problem on Linux as the Windows > build (25.0.50.1) works okay on Windows 8.1, but I read that > `x-get-selection-value' is obsolete in Emacs 25, and was changed to > `gui-get-primary-selection' - > http://stackoverflow.com/questions/28403647/emacs-25-yank-from-x-windows-primary-clipboard-buffer-with-keyboard. That shouldn't matter -- these are equivalent. I'm guessing that GTK has something to do with this issue. But in any case, calling x-get-selection-value from a timer that runs every few seconds is not a very good idea. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 21 11:41:59 2015 Received: (at 22214) by debbugs.gnu.org; 21 Dec 2015 16:42:00 +0000 Received: from localhost ([127.0.0.1]:59036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB3X5-00030K-5z for submit@debbugs.gnu.org; Mon, 21 Dec 2015 11:41:59 -0500 Received: from mail-ig0-f181.google.com ([209.85.213.181]:34388) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB3X3-000306-Ep for 22214@debbugs.gnu.org; Mon, 21 Dec 2015 11:41:58 -0500 Received: by mail-ig0-f181.google.com with SMTP id m11so33960213igk.1 for <22214@debbugs.gnu.org>; Mon, 21 Dec 2015 08:41:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=Yo7qq24x8VxCY2afCdSjW6dCIMhd2aAld9XrNmKr+Us=; b=Qb4gccs6qZu2Q78umNNduqo2Awd1ZOKmo9wB9BDuZUWE82jCUClUYpe/pCjEBuZXY1 oxK1gv4PCtqVByV2OyFyU5UZteOYXYzry45R3jbHN8iEQyDdHmeUUd4zcIgEp1ppymPd OzOFtcFmIqy809O4WaCJ/fYtxqTYZCUpeIMjU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=Yo7qq24x8VxCY2afCdSjW6dCIMhd2aAld9XrNmKr+Us=; b=eFhS2OmGJO2rrX4iHe3SIbhjqaISkNspeSJKaN9UVp1uXewzBOgRev1h0gpTp3nLEy rJmMZL7dNejxI81AuW9S0E3MlkN+G2RzSl2Qe+L8Pzac0C2vWPh+/5DMkOm2CrhTqpHh oOGw1IfYGj8BVSx1bgFW0jWIzLMEgEUuhBEA5fsL70ISGoQ8r5SJ60ToL3lBkN9cLjIN r2dQfVA8hYPcffpVQ60Ze6lDnqN+j9Vkhqb6L8gN7cLV7EZa2HmViMatWYq5U/4vFbuC 8YFB3WipzcWJPxN5LciGXwE6F0YWPQl3G59jb/RYUj7Lk4Nbj5PvxssIPK5EhSqW+zPW 66lg== X-Gm-Message-State: ALoCoQmktmLE8RfL+1EEWMzXmzN+k2AjDJZrKbpRYE2y8oA08Yh9POXOw+KYBXbeACZsEvs1h0L1F3/syqQ3hcLb+bD/IVhU5w== X-Received: by 10.50.20.164 with SMTP id o4mr17334286ige.86.1450716111703; Mon, 21 Dec 2015 08:41:51 -0800 (PST) Received: from phe.ftfl.ca.ftfl.ca (hlfxns016cw-142167179056.dhcp-dynamic.FibreOp.ns.bellaliant.net. [142.167.179.56]) by smtp.gmail.com with ESMTPSA id q5sm8368858igh.6.2015.12.21.08.41.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Dec 2015 08:41:49 -0800 (PST) From: Joseph Mingrone To: Eli Zaretskii Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <86y4cpk53i.fsf@phe.ftfl.ca> <83oadlt8sp.fsf@gnu.org> <86vb7sfs7n.fsf@phe.ftfl.ca> <83si2vsu2s.fsf@gnu.org> Date: Mon, 21 Dec 2015 12:41:47 -0400 In-Reply-To: <83si2vsu2s.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 21 Dec 2015 17:24:43 +0200") Message-ID: <86k2o7g3ec.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22214 Cc: 22214@debbugs.gnu.org, bburns.km@gmail.com 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.7 (/) --=-=-= Content-Type: text/plain Eli Zaretskii writes: > Yes, but at this point please type > thread apply all bt > and post everything that GDB displays. jrm@phe ~/scm/nm/emacs.git/src % gdb710 -p 71203 GNU gdb (GDB) 7.10 [GDB v7.10 for FreeBSD] Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd10.1". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 71203 Reading symbols from /usr/home/jrm/scm/nm/emacs.git/src/emacs-25.0.50.1...done. Reading symbols from /usr/local/lib/libtiff.so.5...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libjpeg.so.8...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libpng16.so.16...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libgif.so.7...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libXpm.so.4...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libXaw.so.7...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libXmu.so.6...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libXt.so.6...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libSM.so.6...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libICE.so.6...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libXext.so.6...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libX11.so.6...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libX11-xcb.so.1...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libxcb.so.1...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libXrender.so.1...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libXft.so.2...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/librsvg-2.so.2...(no debugging symbols found)...done. Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libgio-2.0.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libgobject-2.0.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libglib-2.0.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libintl.so.8...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libcairo.so.2...(no debugging symbols found)...done. Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done. [New Thread 16b5c00 (LWP 100166)] [New Thread 1902400 (LWP 100743)] Reading symbols from /usr/local/lib/libMagickWand-6.so.2...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libMagickCore-6.so.2...(no debugging symbols found)...done. Reading symbols from /usr/lib/librt.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libexecinfo.so.1...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libXrandr.so.2...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libXinerama.so.1...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libXfixes.so.3...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libxml2.so.2...(no debugging symbols found)...done. Reading symbols from /lib/libutil.so.9...(no debugging symbols found)...done. Reading symbols from /lib/libncurses.so.8...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libfreetype.so.6...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libfontconfig.so.1...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libotf.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libm17n-flt.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libm17n-core.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libgnutls.so.28...(no debugging symbols found)...done. Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done. Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Reading symbols from /usr/lib/liblzma.so.5...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libjbig.so.2...(no debugging symbols found)...done. Reading symbols from /usr/lib/librpcsvc.so.5...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libXau.so.6...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libpthread-stubs.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libXdmcp.so.6...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libpangocairo-1.0.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libpango-1.0.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libcroco-0.6.so.3...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libffi.so.6...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libgmodule-2.0.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libiconv.so.2...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libpcre.so.1...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libpixman-1.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libEGL.so.1...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libxcb-shm.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libxcb-render.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libGL.so.1...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/liblcms2.so.2...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/liblqr-1.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libfftw3.so.3...(no debugging symbols found)...done. Reading symbols from /usr/lib/libbz2.so.4...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libltdl.so.7...(no debugging symbols found)...done. Reading symbols from /usr/lib/libelf.so.1...(no debugging symbols found)...done. Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libexpat.so.1...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libp11-kit.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libtspi.so.1...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libtasn1.so.6...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libnettle.so.4...done. Reading symbols from /usr/local/lib/libhogweed.so.2...done. Reading symbols from /usr/local/lib/libgmp.so.10...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libpangoft2-1.0.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libgthread-2.0.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libharfbuzz.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libxcb-dri2.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libxcb-xfixes.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libxcb-shape.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libgbm.so.1...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libdrm.so.2...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libglapi.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libXdamage.so.1...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libxcb-glx.so.0...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libXxf86vm.so.1...(no debugging symbols found)...done. Reading symbols from /lib/libcrypto.so.7...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libgraphite2.so.3...(no debugging symbols found)...done. Reading symbols from /usr/lib/libc++.so.1...(no debugging symbols found)...done. Reading symbols from /lib/libcxxrt.so.1...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/libXcursor.so.1...(no debugging symbols found)...done. Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. [Switching to Thread 16b5c00 (LWP 100166)] 0x00000008073dacda in _poll () from /lib/libc.so.7 SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = :0.0 TERM = screen-256color Breakpoint 1 at 0x5dfb54: file emacs.c, line 371. Temporary breakpoint 2 at 0x61e9d9: file sysdep.c, line 905. (gdb) thread apply all bt Thread 3 (Thread 1902400 (LWP 100743)): #0 0x0000000807444cfa in _sigprocmask () from /lib/libc.so.7 #1 0x0000000804656526 in pthread_sigmask () from /lib/libthr.so.3 #2 0x00000000007ab8e9 in block_atimers (oldset=0x7fffffff7970) at atimer.c:70 #3 0x00000000007abffc in do_pending_atimers () at atimer.c:434 #4 0x00000000005f803e in process_pending_signals () at keyboard.c:7043 #5 0x00000000006c1559 in Fmake_list (length=0, init=0) at alloc.c:2718 #6 0x0000000000713c2a in concat (nargs=1, args=0x7fffffff7b28, target_type=Lisp_Cons, last_special=false) at fns.c:633 #7 0x00000000007135d2 in Fcopy_sequence (arg=18186131) at fns.c:501 #8 0x00000000005f25b3 in timer_check () at keyboard.c:4452 #9 0x00000000005efd94 in readable_events (flags=1) at keyboard.c:3309 #10 0x00000000005f7963 in get_input_pending (flags=1) at keyboard.c:6691 #11 0x00000000005f1bbb in swallow_events (do_display=false) at keyboard.c:4203 #12 0x0000000000789ebf in wait_reading_process_output (time_limit=5, nsecs=0, read_kbd=0, do_display=false, wait_for_cell=17528851, wait_proc=0x0, just_wait_proc=0) at process.c:4996 #13 0x00000000005c4e4d in x_get_foreign_selection (selection_symbol=7008, target_type=7344, time_stamp=0, frame=24185909) at xselect.c:1201 #14 0x00000000005c6fe6 in Fx_get_selection_internal (selection_symbol=7008, target_type=7344, time_stamp=0, terminal=0) at xselect.c:1974 #15 0x0000000000706739 in Ffuncall (nargs=5, args=0x7fffffff8238) at eval.c:2704 #16 0x0000000000775a34 in exec_byte_code (bytestr=22986148, vector=23429013, maxdepth=38, args_template=4106, nargs=2, args=0x7fffffff87a8) at bytecode.c:880 #17 0x0000000000707011 in funcall_lambda (fun=24796533, nargs=2, arg_vector=0x7fffffff8798) at eval.c:2855 #18 0x0000000000706907 in Ffuncall (nargs=3, args=0x7fffffff8790) at eval.c:2742 #19 0x0000000000705998 in Fapply (nargs=2, args=0x7fffffff8930) at eval.c:2321 #20 0x000000000070654d in Ffuncall (nargs=3, args=0x7fffffff8928) at eval.c:2673 #21 0x0000000000775a34 in exec_byte_code (bytestr=26299780, vector=23760597, maxdepth=62, args_template=514, nargs=2, args=0x7fffffff8ee0) at bytecode.c:880 #22 0x0000000000707011 in funcall_lambda (fun=23752581, nargs=2, arg_vector=0x7fffffff8ee0) at eval.c:2855 #23 0x0000000000706907 in Ffuncall (nargs=3, args=0x7fffffff8ed8) at eval.c:2742 #24 0x0000000000775a34 in exec_byte_code (bytestr=14113164, vector=14113197, maxdepth=38, args_template=2050, nargs=2, args=0x7fffffff9478) at bytecode.c:880 #25 0x0000000000707011 in funcall_lambda (fun=14113117, nargs=2, arg_vector=0x7fffffff9468) at eval.c:2855 #26 0x0000000000706907 in Ffuncall (nargs=3, args=0x7fffffff9460) at eval.c:2742 #27 0x0000000000775a34 in exec_byte_code (bytestr=14111356, vector=14111389, maxdepth=34, args_template=1030, nargs=1, args=0x7fffffff99d8) at bytecode.c:880 #28 0x0000000000707011 in funcall_lambda (fun=14111309, nargs=1, arg_vector=0x7fffffff99d0) at eval.c:2855 #29 0x0000000000706907 in Ffuncall (nargs=2, args=0x7fffffff99c8) at eval.c:2742 #30 0x0000000000775a34 in exec_byte_code (bytestr=14112060, vector=14112093, maxdepth=10, args_template=2, nargs=0, args=0x7fffffff9e50) at bytecode.c:880 #31 0x0000000000707011 in funcall_lambda (fun=14112013, nargs=0, arg_vector=0x7fffffff9e50) at eval.c:2855 #32 0x0000000000706cbb in apply_lambda (fun=14112013, args=0, count=26) at eval.c:2794 #33 0x000000000070507f in eval_sub (form=18091331) at eval.c:2211 #34 0x00000000006fff4c in Fprogn (body=18091699) at eval.c:426 #35 0x0000000000704ac1 in eval_sub (form=18091715) at eval.c:2119 #36 0x0000000000702af6 in internal_lisp_condition_case (var=0, bodyform=18091715, handlers=12837003) at eval.c:1280 #37 0x00000000007025e8 in Fcondition_case (args=18091747) at eval.c:1206 #38 0x0000000000704ac1 in eval_sub (form=18091763) at eval.c:2119 #39 0x00000000006fff4c in Fprogn (body=18091875) at eval.c:426 #40 0x00000000007073a2 in funcall_lambda (fun=18091827, nargs=0, arg_vector=0x7fffffffa440) at eval.c:2914 #41 0x0000000000706cbb in apply_lambda (fun=18091827, args=0, count=23) at eval.c:2794 #42 0x0000000000705274 in eval_sub (form=18099939) at eval.c:2241 #43 0x00000000007019c8 in Flet (args=18097699) at eval.c:918 #44 0x0000000000704ac1 in eval_sub (form=18097715) at eval.c:2119 #45 0x00000000006fff4c in Fprogn (body=18097779) at eval.c:426 #46 0x00000000007073a2 in funcall_lambda (fun=18097731, nargs=0, arg_vector=0x7fffffffaac8) at eval.c:2914 #47 0x00000000007069fd in Ffuncall (nargs=1, args=0x7fffffffaac0) at eval.c:2754 #48 0x0000000000705387 in Fapply (nargs=2, args=0x7fffffffaac0) at eval.c:2274 #49 0x000000000070654d in Ffuncall (nargs=3, args=0x7fffffffaab8) at eval.c:2673 #50 0x0000000000775a34 in exec_byte_code (bytestr=14127588, vector=14127621, maxdepth=30, args_template=0, nargs=0, args=0x0) at bytecode.c:880 #51 0x0000000000707433 in funcall_lambda (fun=14127541, nargs=1, arg_vector=0xd79205 ) at eval.c:2921 #52 0x0000000000706907 in Ffuncall (nargs=2, args=0x7fffffffb030) at eval.c:2742 #53 0x0000000000706051 in call1 (fn=42864, arg1=24288741) at eval.c:2552 #54 0x00000000005f24e7 in timer_check_2 (timers=0, idle_timers=0) at keyboard.c:4401 #55 0x00000000005f2615 in timer_check () at keyboard.c:4463 #56 0x00000000004cfaa7 in x_menu_wait_for_event (data=0x0) at xmenu.c:173 #57 0x00000000004cfc2d in popup_get_selection (initial_event=0x0, dpyinfo=0x16d5400, id=65537, do_timers=true) at xmenu.c:231 #58 0x00000000004d15af in create_and_show_popup_menu (f=0x1710c30, first_wv=0x1361100, x=997, y=472, for_click=true) at xmenu.c:1383 #59 0x00000000004d1fae in x_menu_show (f=0x1710c30, x=978, y=441, menuflags=3, title=14101652, error_name=0x7fffffffd3f0) at xmenu.c:1588 #60 0x00000000004c9af4 in Fx_popup_menu (position=18447187, menu=18436307) at menu.c:1430 #61 0x00000000007066bb in Ffuncall (nargs=3, args=0x7fffffffd598) at eval.c:2696 #62 0x0000000000775a34 in exec_byte_code (bytestr=14101124, vector=14101157, maxdepth=74, args_template=1030, nargs=1, args=0x7fffffffdc68) at bytecode.c:880 ---Type to continue, or q to quit--- #63 0x0000000000707011 in funcall_lambda (fun=14101069, nargs=1, arg_vector=0x7fffffffdc60) at eval.c:2855 #64 0x0000000000706907 in Ffuncall (nargs=2, args=0x7fffffffdc58) at eval.c:2742 #65 0x00000000006f7b08 in Ffuncall_interactively (nargs=2, args=0x7fffffffdc58) at callint.c:248 #66 0x000000000070654d in Ffuncall (nargs=3, args=0x7fffffffdc50) at eval.c:2673 #67 0x00000000006fa007 in Fcall_interactively (function=9300720, record_flag=0, keys=17352085) at callint.c:836 #68 0x00000000007066f6 in Ffuncall (nargs=4, args=0x7fffffffdf88) at eval.c:2700 #69 0x0000000000775a34 in exec_byte_code (bytestr=13627676, vector=13627709, maxdepth=54, args_template=4102, nargs=1, args=0x7fffffffe510) at bytecode.c:880 #70 0x0000000000707011 in funcall_lambda (fun=13627629, nargs=1, arg_vector=0x7fffffffe508) at eval.c:2855 #71 0x0000000000706907 in Ffuncall (nargs=2, args=0x7fffffffe500) at eval.c:2742 #72 0x0000000000706051 in call1 (fn=13344, arg1=9300720) at eval.c:2552 #73 0x00000000005ea6df in command_loop_1 () at keyboard.c:1457 #74 0x0000000000702b82 in internal_condition_case (bfun=0x5e9ec2 , handlers=17232, hfun=0x5e952d ) at eval.c:1309 #75 0x00000000005e9af0 in command_loop_2 (ignore=0) at keyboard.c:1086 #76 0x0000000000702153 in internal_catch (tag=43440, func=0x5e9ac7 , arg=0) at eval.c:1074 #77 0x00000000005e9a90 in command_loop () at keyboard.c:1065 #78 0x00000000005e9012 in recursive_edit_1 () at keyboard.c:671 #79 0x00000000005e9217 in Frecursive_edit () at keyboard.c:742 #80 0x00000000005e145c in main (argc=2, argv=0x7fffffffe950) at emacs.c:1656 Lisp Backtrace: "x-get-selection-internal" (0xffff8240) 0x17a5d70 PVEC_COMPILED "apply" (0xffff8930) "gui-backend-get-selection" (0xffff8ee0) "gui-get-selection" (0xffff9468) "gui--selection-value-internal" (0xffff99d0) "gui-get-primary-selection" (0xffff9e50) "progn" (0xffffa0b0) "condition-case" (0xffffa2d0) "clipmon--clipboard-contents" (0xffffa440) "let" (0xffffa730) "clipmon--check-clipboard" (0xffffaac8) "apply" (0xffffaac0) "timer-event-handler" (0xffffb038) "x-popup-menu" (0xffffd5a0) "mouse-appearance-menu" (0xffffdc60) "funcall-interactively" (0xffffdc58) "call-interactively" (0xffffdf90) "command-execute" (0xffffe508) Thread 2 (Thread 16b5c00 (LWP 100166)): #0 0x00000008073dacda in _poll () from /lib/libc.so.7 #1 0x0000000804653d26 in ?? () from /lib/libthr.so.3 #2 0x0000000803e708ad in ?? () from /usr/local/lib/libglib-2.0.so.0 #3 0x0000000803e70984 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0 #4 0x0000000803e72196 in ?? () from /usr/local/lib/libglib-2.0.so.0 #5 0x0000000803e9682a in ?? () from /usr/local/lib/libglib-2.0.so.0 #6 0x00000008046517c5 in ?? () from /lib/libthr.so.3 #7 0x0000000000000000 in ?? () Backtrace stopped: Cannot access memory at address 0x7fffdfffe000 ^C Lisp Backtrace: "x-get-selection-internal" (0xffff8240) 0x17a5d70 PVEC_COMPILED "apply" (0xffff8930) "gui-backend-get-selection" (0xffff8ee0) "gui-get-selection" (0xffff9468) "gui--selection-value-internal" (0xffff99d0) "gui-get-primary-selection" (0xffff9e50) "progn" (0xffffa0b0) "condition-case" (0xffffa2d0) "clipmon--clipboard-contents" (0xffffa440) "let" (0xffffa730) "clipmon--check-clipboard" (0xffffaac8) "apply" (0xffffaac0) ---Type to continue, or q to quit--- "timer-event-handler" (0xffffb038) "x-popup-menu" (0xffffd5a0) "mouse-appearance-menu" (0xffffdc60) "funcall-interactively" (0xffffdc58) "call-interactively" (0xffffdf90) "command-execute" (0xffffe508) Thread 1 (Thread 16b5c00 (LWP 100166)): #0 0x00000008073dacda in _poll () from /lib/libc.so.7 #1 0x0000000804653d26 in ?? () from /lib/libthr.so.3 #2 0x0000000803e708ad in ?? () from /usr/local/lib/libglib-2.0.so.0 #3 0x0000000803e70984 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0 #4 0x0000000803e72196 in ?? () from /usr/local/lib/libglib-2.0.so.0 #5 0x0000000803e9682a in ?? () from /usr/local/lib/libglib-2.0.so.0 #6 0x00000008046517c5 in ?? () from /lib/libthr.so.3 #7 0x0000000000000000 in ?? () Backtrace stopped: Cannot access memory at address 0x7fffdfffe000 Lisp Backtrace: "x-get-selection-internal" (0xffff8240) 0x17a5d70 PVEC_COMPILED "apply" (0xffff8930) "gui-backend-get-selection" (0xffff8ee0) "gui-get-selection" (0xffff9468) "gui--selection-value-internal" (0xffff99d0) "gui-get-primary-selection" (0xffff9e50) "progn" (0xffffa0b0) "condition-case" (0xffffa2d0) "clipmon--clipboard-contents" (0xffffa440) "let" (0xffffa730) "clipmon--check-clipboard" (0xffffaac8) "apply" (0xffffaac0) "timer-event-handler" (0xffffb038) "x-popup-menu" (0xffffd5a0) "mouse-appearance-menu" (0xffffdc60) "funcall-interactively" (0xffffdc58) "call-interactively" (0xffffdf90) "command-execute" (0xffffe508) (gdb) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWeCvLAAoJEDakDIOw1u+eeBcP/0NghfCpnaESvpn/b5xZ2L6m aBLMP4mPlS3ZvTrJaiwVJegDuxnzRRFdGyPxnjYuG6gwmNM75BveUeCwYqzWcj0R Hnos8Sp4wvLiWhfjB16vZBJBVmobMY64uCPCsixrxI1qzRvU5v2XXIO6mq5xHB6D a4k9KW+Ns0AY/4zS5BmLSBRlGcOqTCacGGOKCf7Zj/4bksinMAiF9DBWOOfoMk/2 i9U6+pgk9wbomoDI3H7ksrpDIDBE0PomTuYoGTXHamNio99FOrVuwelwe7tmZaEF JFXu2WiYd+H9okb8o1goFVemBjoMpTQfbY9BZBLrMq/bpl/2C5bmRu3LxvANmB55 4XmiLtodd7oEcVxc/PHqZcOVzXIM478yfiJkLVepFudhqzkfKNVDvIvWTDbf9jH7 TX5+FzWA8VKBbm9GptI+SKffD9f5f+qVLpjIoGwC1ZXaf0KSvwSJ7Gwhgv8iExm6 yI7zfr9pWc/+I+xfy/zwuoh4L1oFj8rTIYbQwVRIxn5/ll9u1bmNAxluKLBoqCGf U0gJANyu7wQNKRM57OtrgGEviMmFubmS6N0Jgy316nvOYvSDOdi0DzBroy8C3S93 AanwIZ2PG6GBp8cdM/Aq8rg5Es02hAfSTl6z9uEfq2c+HrzcTZ5e3ktgUhdWf+U7 G53LtgAjpqef6ih7+A7B =A0+7 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 21 12:50:40 2015 Received: (at 22214) by debbugs.gnu.org; 21 Dec 2015 17:50:40 +0000 Received: from localhost ([127.0.0.1]:59070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB4bY-0004az-6Q for submit@debbugs.gnu.org; Mon, 21 Dec 2015 12:50:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46391) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB4bW-0004ah-Vi for 22214@debbugs.gnu.org; Mon, 21 Dec 2015 12:50:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aB4bQ-0001W2-JE for 22214@debbugs.gnu.org; Mon, 21 Dec 2015 12:50:33 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB4bM-0001VW-V5; Mon, 21 Dec 2015 12:50:28 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1272 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aB4bM-0003ir-7G; Mon, 21 Dec 2015 12:50:28 -0500 Date: Mon, 21 Dec 2015 19:50:59 +0200 Message-Id: <8337uvsnb0.fsf@gnu.org> From: Eli Zaretskii To: Joseph Mingrone In-reply-to: <86k2o7g3ec.fsf@phe.ftfl.ca> (message from Joseph Mingrone on Mon, 21 Dec 2015 12:41:47 -0400) Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <86y4cpk53i.fsf@phe.ftfl.ca> <83oadlt8sp.fsf@gnu.org> <86vb7sfs7n.fsf@phe.ftfl.ca> <83si2vsu2s.fsf@gnu.org> <86k2o7g3ec.fsf@phe.ftfl.ca> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22214 Cc: 22214@debbugs.gnu.org, bburns.km@gmail.com 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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Joseph Mingrone > Cc: 22214@debbugs.gnu.org, bburns.km@gmail.com > Date: Mon, 21 Dec 2015 12:41:47 -0400 > > Thread 3 (Thread 1902400 (LWP 100743)): > #0 0x0000000807444cfa in _sigprocmask () from /lib/libc.so.7 > #1 0x0000000804656526 in pthread_sigmask () from /lib/libthr.so.3 > #2 0x00000000007ab8e9 in block_atimers (oldset=0x7fffffff7970) at atimer.c:70 > #3 0x00000000007abffc in do_pending_atimers () at atimer.c:434 > #4 0x00000000005f803e in process_pending_signals () at keyboard.c:7043 > #5 0x00000000006c1559 in Fmake_list (length=0, init=0) at alloc.c:2718 > #6 0x0000000000713c2a in concat (nargs=1, args=0x7fffffff7b28, target_type=Lisp_Cons, last_special=false) at fns.c:633 > #7 0x00000000007135d2 in Fcopy_sequence (arg=18186131) at fns.c:501 > #8 0x00000000005f25b3 in timer_check () at keyboard.c:4452 Thanks. Can you find out which thread uses up the CPU? If that's this thread (the Emacs application main thread), can you use the technique described in etc/DEBUG under "If the symptom of the bug is that Emacs fails to respond" to find out whether Emacs is looping and where? From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 21 14:43:10 2015 Received: (at 22214) by debbugs.gnu.org; 21 Dec 2015 19:43:10 +0000 Received: from localhost ([127.0.0.1]:59110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB6MP-0007CZ-L4 for submit@debbugs.gnu.org; Mon, 21 Dec 2015 14:43:10 -0500 Received: from mail-qk0-f179.google.com ([209.85.220.179]:33003) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aB6MN-0007CJ-Qc for 22214@debbugs.gnu.org; Mon, 21 Dec 2015 14:43:08 -0500 Received: by mail-qk0-f179.google.com with SMTP id k189so141563544qkc.0 for <22214@debbugs.gnu.org>; Mon, 21 Dec 2015 11:43:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=zXeG79HKI9p+pmfI08PmgbpYJcv3KHmnCFwIyVsdf5U=; b=SfwXIwJLWICI2YyGDJQJFz2XRzoU8VCLuuVo1JpcQJa7gMkTP9YTNLJyWELUelZ3JO amlVcagES7MC6rm6ZzIZJLdmDJN7WpxX3wz+yCKEL+BEJqU0hW8imkm6dDqEMUixPXIw jR38S+GTqH4Jq8/l/di5irtBrC15wmA4TgtCM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=zXeG79HKI9p+pmfI08PmgbpYJcv3KHmnCFwIyVsdf5U=; b=YYuMbzGD6MfCg/UVayTq+dFihKqOALk5TL2jAGbouo7L6CGn7JNO2TqvG/9QWuuzth NMkmutf44l/N5t6zmYpkACmav3fwTRBVZoHw+4O6/XXOQN399Ic+xd68CwiQE/frB7XU ZM7tl6dHSF2ohVVhRodTABmHAQnuiu+lk0OHaFE8EeeUQp3s+oodr2TNA0uPbGOGB08j nbiiVPVqo+Bh9EKFzmtp1RPiGx8j7bzPzBCRCbVjivSuuG2aAsh3eHr240bkDaVH9lVz Tr+UUsCaW0w778LqebreS3ynsbi1W42+r88JFIjuy2Yv7XmzPWlCCQBpjliZiaCfKi0A UNvg== X-Gm-Message-State: ALoCoQnKAaL8SS6ByIbzmfG0XT/pBKokdFQqmMCNsNFhFauQxxP4phiEqgPNcgzSWMdSN4s6nDcI40hjBo/c9GBuVigbsZPVwQ== X-Received: by 10.55.75.136 with SMTP id y130mr27248218qka.96.1450726982257; Mon, 21 Dec 2015 11:43:02 -0800 (PST) Received: from phe.ftfl.ca.ftfl.ca (JMingrone.MathStat.Dal.Ca. [129.173.118.13]) by smtp.gmail.com with ESMTPSA id v202sm14723658qka.38.2015.12.21.11.42.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Dec 2015 11:43:00 -0800 (PST) From: Joseph Mingrone To: Eli Zaretskii Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <86y4cpk53i.fsf@phe.ftfl.ca> <83oadlt8sp.fsf@gnu.org> <86vb7sfs7n.fsf@phe.ftfl.ca> <83si2vsu2s.fsf@gnu.org> <86k2o7g3ec.fsf@phe.ftfl.ca> <8337uvsnb0.fsf@gnu.org> Date: Mon, 21 Dec 2015 15:42:57 -0400 In-Reply-To: <8337uvsnb0.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 21 Dec 2015 19:50:59 +0200") Message-ID: <86a8p3fv0e.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22214 Cc: 22214@debbugs.gnu.org, bburns.km@gmail.com 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.7 (/) --=-=-= Content-Type: text/plain Eli Zaretskii writes: >> From: Joseph Mingrone >> Cc: 22214@debbugs.gnu.org, bburns.km@gmail.com >> Date: Mon, 21 Dec 2015 12:41:47 -0400 >> Thread 3 (Thread 1902400 (LWP 100743)): >> #0 0x0000000807444cfa in _sigprocmask () from /lib/libc.so.7 >> #1 0x0000000804656526 in pthread_sigmask () from /lib/libthr.so.3 >> #2 0x00000000007ab8e9 in block_atimers (oldset=0x7fffffff7970) at atimer.c:70 >> #3 0x00000000007abffc in do_pending_atimers () at atimer.c:434 >> #4 0x00000000005f803e in process_pending_signals () at keyboard.c:7043 >> #5 0x00000000006c1559 in Fmake_list (length=0, init=0) at alloc.c:2718 >> #6 0x0000000000713c2a in concat (nargs=1, args=0x7fffffff7b28, target_type=Lisp_Cons, last_special=false) at fns.c:633 >> #7 0x00000000007135d2 in Fcopy_sequence (arg=18186131) at fns.c:501 >> #8 0x00000000005f25b3 in timer_check () at keyboard.c:4452 > Thanks. > Can you find out which thread uses up the CPU? If that's this thread > (the Emacs application main thread), can you use the technique > described in etc/DEBUG under "If the symptom of the bug is that Emacs > fails to respond" to find out whether Emacs is looping and where? It looks like it's looping in process.c starting at line 4565 while (1) { bool process_skipped = false; ... The gdb output below shows the steps through the looping. Joseph jrm@phe ~/scm/nm/emacs.git/src % /usr/local/bin/gdb ./emacs GNU gdb (GDB) 7.10 [GDB v7.10 for FreeBSD] Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd10.1". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./emacs...done. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = :0.0 TERM = screen-256color Breakpoint 1 at 0x5dfb54: file emacs.c, line 371. Temporary breakpoint 2 at 0x61e9d9: file sysdep.c, line 905. (gdb) run -Q Starting program: /usr/home/jrm/scm/nm/emacs.git/src/emacs -Q [New Thread 1902400 (LWP 101016)] ^Z[New Thread 16b5c00 (LWP 100130)] Program received signal SIGTSTP, Stopped (user). [Switching to Thread 1902400 (LWP 101016)] 0x000000080736efaa in ktimer_settime () from /lib/libc.so.7 (gdb) finish Run till exit from #0 0x000000080736efaa in ktimer_settime () from /lib/libc.so.7 0x00000000007abd8b in set_alarm () at atimer.c:312 312 && timer_settime (alarm_timer, TIMER_ABSTIME, &ispec, 0) == 0) (gdb) finish Run till exit from #0 0x00000000007abd8b in set_alarm () at atimer.c:312 run_timers () at atimer.c:382 382 } (gdb) finish Run till exit from #0 run_timers () at atimer.c:382 do_pending_atimers () at atimer.c:436 436 unblock_atimers (&oldset); (gdb) finish Run till exit from #0 do_pending_atimers () at atimer.c:436 process_pending_signals () at keyboard.c:7044 7044 } (gdb) finish Run till exit from #0 process_pending_signals () at keyboard.c:7044 Fmake_list (length=0, init=0) at alloc.c:2689 2689 while (size > 0) (gdb) finish Run till exit from #0 Fmake_list (length=0, init=0) at alloc.c:2689 0x0000000000713c2a in concat (nargs=1, args=0x7fffffff7ad8, target_type=Lisp_Cons, last_special=false) at fns.c:633 633 val = Fmake_list (make_number (result_len), Qnil); Value returned is $1 = 105189203 (gdb) finish Run till exit from #0 0x0000000000713c2a in concat (nargs=1, args=0x7fffffff7ad8, target_type=Lisp_Cons, last_special=false) at fns.c:633 Fcopy_sequence (arg=21640739) at fns.c:502 502 } Value returned is $2 = 105189203 (gdb) finish Run till exit from #0 Fcopy_sequence (arg=21640739) at fns.c:502 0x00000000005f25b3 in timer_check () at keyboard.c:4452 4452 timers = Fcopy_sequence (Vtimer_list); Value returned is $3 = 105189203 (gdb) finish Run till exit from #0 0x00000000005f25b3 in timer_check () at keyboard.c:4452 readable_events (flags=1) at keyboard.c:3313 3313 if (kbd_fetch_ptr != kbd_store_ptr) Value returned is $4 = {tv_sec = 0, tv_nsec = -1} (gdb) finish Run till exit from #0 readable_events (flags=1) at keyboard.c:3313 0x00000000005f7963 in get_input_pending (flags=1) at keyboard.c:6691 6691 input_pending = (!NILP (Vquit_flag) || readable_events (flags)); Value returned is $5 = true (gdb) finish Run till exit from #0 0x00000000005f7963 in get_input_pending (flags=1) at keyboard.c:6691 swallow_events (do_display=false) at keyboard.c:4205 4205 if (!input_pending && timers_run != old_timers_run && do_display) Value returned is $6 = true (gdb) finish Run till exit from #0 swallow_events (do_display=false) at keyboard.c:4205 wait_reading_process_output (time_limit=5, nsecs=0, read_kbd=0, do_display=false, wait_for_cell=17528851, wait_proc=0x0, just_wait_proc=0) at process.c:5004 5004 if (! NILP (wait_for_cell) && ! NILP (XCAR (wait_for_cell))) (gdb) finish Run till exit from #0 wait_reading_process_output (time_limit=5, nsecs=0, read_kbd=0, do_display=false, wait_for_cell=17528851, wait_proc=0x0, just_wait_proc=0) at process.c:5004 ^Z Program received signal SIGTSTP, Stopped (user). 0x000000080736efaa in ktimer_settime () from /lib/libc.so.7 (gdb) finish Run till exit from #0 0x000000080736efaa in ktimer_settime () from /lib/libc.so.7 0x00000000007abd8b in set_alarm () at atimer.c:312 312 && timer_settime (alarm_timer, TIMER_ABSTIME, &ispec, 0) == 0) (gdb) finish Run till exit from #0 0x00000000007abd8b in set_alarm () at atimer.c:312 run_timers () at atimer.c:382 382 } (gdb) finish Run till exit from #0 run_timers () at atimer.c:382 do_pending_atimers () at atimer.c:436 436 unblock_atimers (&oldset); (gdb) finish Run till exit from #0 do_pending_atimers () at atimer.c:436 process_pending_signals () at keyboard.c:7044 7044 } (gdb) finish Run till exit from #0 process_pending_signals () at keyboard.c:7044 0x0000000000788a69 in wait_reading_process_output (time_limit=5, nsecs=0, read_kbd=0, do_display=false, wait_for_cell=17528851, wait_proc=0x0, just_wait_proc=0) at process.c:4573 4573 QUIT; (gdb) finish Run till exit from #0 0x0000000000788a69 in wait_reading_process_output (time_limit=5, nsecs=0, read_kbd=0, do_display=false, wait_for_cell=17528851, wait_proc=0x0, just_wait_proc=0) at process.c:4573 ^Z Program received signal SIGTSTP, Stopped (user). 0x0000000807444cfa in _sigprocmask () from /lib/libc.so.7 (gdb) finish Run till exit from #0 0x0000000807444cfa in _sigprocmask () from /lib/libc.so.7 0x0000000804656526 in pthread_sigmask () from /lib/libthr.so.3 (gdb) finish Run till exit from #0 0x0000000804656526 in pthread_sigmask () from /lib/libthr.so.3 unblock_atimers (oldset=0x7fffffff7920) at atimer.c:76 76 } (gdb) finish Run till exit from #0 unblock_atimers (oldset=0x7fffffff7920) at atimer.c:76 do_pending_atimers () at atimer.c:438 438 } (gdb) finish Run till exit from #0 do_pending_atimers () at atimer.c:438 process_pending_signals () at keyboard.c:7044 7044 } (gdb) finish Run till exit from #0 process_pending_signals () at keyboard.c:7044 Fmake_list (length=0, init=0) at alloc.c:2689 2689 while (size > 0) (gdb) finish Run till exit from #0 Fmake_list (length=0, init=0) at alloc.c:2689 0x0000000000713c2a in concat (nargs=1, args=0x7fffffff7ad8, target_type=Lisp_Cons, last_special=false) at fns.c:633 633 val = Fmake_list (make_number (result_len), Qnil); Value returned is $7 = 757173027 (gdb) finish Run till exit from #0 0x0000000000713c2a in concat (nargs=1, args=0x7fffffff7ad8, target_type=Lisp_Cons, last_special=false) at fns.c:633 Fcopy_sequence (arg=21640739) at fns.c:502 502 } Value returned is $8 = 757173027 (gdb) finish Run till exit from #0 Fcopy_sequence (arg=21640739) at fns.c:502 0x00000000005f25b3 in timer_check () at keyboard.c:4452 4452 timers = Fcopy_sequence (Vtimer_list); Value returned is $9 = 757173027 (gdb) finish Run till exit from #0 0x00000000005f25b3 in timer_check () at keyboard.c:4452 readable_events (flags=1) at keyboard.c:3313 3313 if (kbd_fetch_ptr != kbd_store_ptr) Value returned is $10 = {tv_sec = 0, tv_nsec = -1} (gdb) finish Run till exit from #0 readable_events (flags=1) at keyboard.c:3313 0x00000000005f7963 in get_input_pending (flags=1) at keyboard.c:6691 6691 input_pending = (!NILP (Vquit_flag) || readable_events (flags)); Value returned is $11 = true (gdb) finish Run till exit from #0 0x00000000005f7963 in get_input_pending (flags=1) at keyboard.c:6691 swallow_events (do_display=false) at keyboard.c:4205 4205 if (!input_pending && timers_run != old_timers_run && do_display) Value returned is $12 = true (gdb) finish Run till exit from #0 swallow_events (do_display=false) at keyboard.c:4205 wait_reading_process_output (time_limit=5, nsecs=0, read_kbd=0, do_display=false, wait_for_cell=17528851, wait_proc=0x0, just_wait_proc=0) at process.c:5004 5004 if (! NILP (wait_for_cell) && ! NILP (XCAR (wait_for_cell))) (gdb) next 5013 if (read_kbd && interrupt_input (gdb) next 5020 if (read_kbd || ! NILP (wait_for_cell)) (gdb) next 5021 do_pending_window_change (0); (gdb) next 5024 if (no_avail || nfds == 0) (gdb) next 5025 continue; (gdb) next 5215 } /* End while exit conditions not met. */ (gdb) next 4567 bool process_skipped = false; (gdb) next 4572 if (read_kbd >= 0) (gdb) next 4573 QUIT; (gdb) next 4578 if (! NILP (wait_for_cell) && ! NILP (XCAR (wait_for_cell))) (gdb) next 4583 if (wait == TIMEOUT) (gdb) next 4585 if (!timespec_valid_p (now)) (gdb) next 4587 if (timespec_cmp (end_time, now) <= 0) (gdb) next 4589 timeout = timespec_sub (end_time, now); (gdb) next 4598 if (NILP (wait_for_cell) (gdb) next 4642 if (read_kbd < 0) (gdb) next 4649 if (update_tick != process_tick) (gdb) next 4681 if (wait_proc && wait_proc->raw_status_new) (gdb) next 4683 if (wait_proc (gdb) next 4727 if (wait_proc && just_wait_proc) (gdb) next 4735 else if (!NILP (wait_for_cell)) (gdb) next 4737 Available = non_process_wait_mask; (gdb) next 4738 check_delay = 0; (gdb) next 4739 check_write = 0; (gdb) next 4757 if (frame_garbaged && do_display) (gdb) next 4769 no_avail = 0; (gdb) next 4770 if ((read_kbd || !NILP (wait_for_cell)) (gdb) next 4771 && detect_input_pending ()) (gdb) next 4773 nfds = read_kbd ? 0 : 1; (gdb) next 4774 no_avail = 1; (gdb) next 4775 FD_ZERO (&Available); (gdb) next 4910 xerrno = errno; (gdb) next 4913 clear_waiting_for_input (); (gdb) next 4916 do_pending_window_change (0); (gdb) next 4918 if (nfds == 0) (gdb) next 4942 if (nfds < 0) (gdb) next 4956 if (read_kbd != 0) (gdb) next 4983 if (read_kbd != 0 (gdb) next 4994 if (read_kbd == 0 && detect_input_pending ()) (gdb) next 4996 swallow_events (do_display); (gdb) next 5004 if (! NILP (wait_for_cell) && ! NILP (XCAR (wait_for_cell))) (gdb) next 5013 if (read_kbd && interrupt_input (gdb) next 5020 if (read_kbd || ! NILP (wait_for_cell)) (gdb) next 5021 do_pending_window_change (0); (gdb) next 5024 if (no_avail || nfds == 0) (gdb) next 5025 continue; (gdb) next 5215 } /* End while exit conditions not met. */ (gdb) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWeFZBAAoJEDakDIOw1u+eTZoQAISB0I5ZmGV7kVmOlEDL1EyP jDemUmN2ooBfqTZsNi/cnxRD7cLyuXpVAxicnYuBKzSiKYK6h4R/BY2mcyHcB2eD rQXy8kHVzMBNvIuENtTqf1qxFhPc7ZqGzxBrXSYo9MJyktOxx7Dsp7OJYnqNUYoc rtOXnUoP5lgjwXc5Lh6RAr5JXnZBO841lNZ/N6BvSydJC62c2cT0vxDihaaIfgmq ZpTqdyGdT3eKA5huB4dIAVnhdMxQcEoWcG25qNA0qWuRhHu8jRzPEKbwuTqECYrX PXoflegyWTQmu4am9nqWDTxBUFrn0LRLUJ9A1BCk4to4q5aHFJ17fy52/FvlYd6N LgYadmAx/li+kmT4J6fxVzyBJj6BTuN77Y/kdQc5JH7gx86HzUDVTH6bU3lNY5m2 FidJxw6TbxbT17hXjabaoeLRBWhhFkzZBHwKmnQ5At6bq3T4ZlpHrpsKn5aKpL5R PlQywIgd+FUk8gTBWbzcopYevrhf9v474wPTIqjjNyRwKiP6v9OW4K4lsnCq+XSh bgcWFisCcqUJ3RV0FALS+OB0k8AbkCrT50+mI/9uCDjBbKTnfcziZQjTMJmuQA/f xP0L8OD1gCKZXhfapFlmZVRY3vNElfrngADvwx1rpgM1JMAYz1C9W+lvPrEjTQb0 vrhcXteG0g7rZuX39TVm =IBGQ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 22 00:22:26 2015 Received: (at submit) by debbugs.gnu.org; 22 Dec 2015 05:22:26 +0000 Received: from localhost ([127.0.0.1]:59360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBFP0-0004gf-56 for submit@debbugs.gnu.org; Tue, 22 Dec 2015 00:22:26 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57765) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBFOx-0004gP-Pk for submit@debbugs.gnu.org; Tue, 22 Dec 2015 00:22:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBFOr-0007u0-V6 for submit@debbugs.gnu.org; Tue, 22 Dec 2015 00:22:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBFOr-0007tw-Ro for submit@debbugs.gnu.org; Tue, 22 Dec 2015 00:22:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBFOq-0004fC-VI for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2015 00:22:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBFOn-0007tQ-Mw for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2015 00:22:16 -0500 Received: from plane.gmane.org ([80.91.229.3]:42244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBFOn-0007tI-GZ for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2015 00:22:13 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aBFOg-0005VY-9P for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2015 06:22:06 +0100 Received: from hlfxns016cw-142167179056.dhcp-dynamic.fibreop.ns.bellaliant.net ([142.167.179.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Dec 2015 06:22:06 +0100 Received: from jrm by hlfxns016cw-142167179056.dhcp-dynamic.fibreop.ns.bellaliant.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Dec 2015 06:22:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Joseph Mingrone Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode Date: Tue, 22 Dec 2015 01:21:54 -0400 Lines: 33 Message-ID: <86wps7dpn1.fsf@phe.ftfl.ca> References: <83r3ifstzb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: hlfxns016cw-142167179056.dhcp-dynamic.fibreop.ns.bellaliant.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (berkeley-unix) Cancel-Lock: sha1:VjXdOOnmCzrQiafvZnXn/jKMhBI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit Cc: Eli Zaretskii , Brian Burns 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: -4.1 (----) --=-=-= Content-Type: text/plain Eli Zaretskii writes: > I'm guessing that GTK has something to do with this issue. I built with two different configurations: --with-x-toolkit=gtk2 and --with-x-toolkit=athena and it made no difference. That is, the problem existed with both configurations. Joseph --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWeN3zAAoJEDakDIOw1u+eZH8P/0+4ZqsUxT2ev9P1/769lIGh 2W3CXhxTTVL5QS+9v6jCHQeo6XcDmt8IQ1I/KBI3q5VTJhJizRdmJsThxcKgFeeq hXbUCqwdOXAzGrE2dlO+APVWmtO5AOaEuWpZe/UJkcgMbxN7QHjMGxgKe9N9TBQR JSxHRa17sMQXwPxEAMjPW6TUevfpZlAC62cjPAa62+MKuRpLfPc0tcFcErk9Oyt9 noP276nbxTXazQqR5m94JpWLbewTlH/mGaDorRfJxAsJjZokEn0qqgAwq7PBsIqq zd6qWpI7fLO8P0CObMeOEphKx/kvngZryOyyKaMm/ZAhLV84TLKs2U19NU4Zq0Mi JTvUd75MN3zSle/QlyjJO1gQ7uDJa9jLnKN2YBbHOSNgTHK7GRNeWFfD52ILmcQH e6FHyaed+CrDUP0YrXbS5DwLXxaJJXvLVi6Fm93QEDgKnFY6BWT27XlOWO51O7F9 z+ac3HKgFv8oeJU9i0gdj4TkUny9lNhpM9LV8+SMdNYYV8SGqBL0rggFth6azdvV Fd6D49Lo4/Yb6VgTpQbHNqk8MrozAb+jguDXRwSMNXFNlkcH7K/KfpZspqo62Ri5 PluhY7ryHJFUotSor4rikMZ8LbutsuB2CJ1wwD+TtBE1JBT4rGRrSp1ndy6Fbxr9 4O9Scws65JHGNWotP8wr =EP/y -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 22 02:56:54 2015 Received: (at submit) by debbugs.gnu.org; 22 Dec 2015 07:56:54 +0000 Received: from localhost ([127.0.0.1]:59407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBHoU-0000Eq-EK for submit@debbugs.gnu.org; Tue, 22 Dec 2015 02:56:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43201) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBHoS-0000Ed-Kj for submit@debbugs.gnu.org; Tue, 22 Dec 2015 02:56:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBHoM-0003Sb-IA for submit@debbugs.gnu.org; Tue, 22 Dec 2015 02:56:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBHoM-0003SX-F8 for submit@debbugs.gnu.org; Tue, 22 Dec 2015 02:56:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBHoL-0001NS-Jl for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2015 02:56:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBHoK-0003S7-Jg for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2015 02:56:45 -0500 Received: from mail-io0-x232.google.com ([2607:f8b0:4001:c06::232]:36659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBHoK-0003S3-Eo; Tue, 22 Dec 2015 02:56:44 -0500 Received: by mail-io0-x232.google.com with SMTP id o67so178988914iof.3; Mon, 21 Dec 2015 23:56:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Sx77lJsGtFl81SJFk6QFmVQRgrE3xu9R6fHQj1CAOac=; b=gfBcgu5X6G0vWk8A2pRzYPzQvmbPsqL1xft1vBE0u95B3AJ/zxNiE1OL2li3NknmF7 ZxWlAXWTA8Pekc6p2IjDYdp5bpQZIohqdZh1tVSk35romNq3K1HAd64PZPT7ignetNbE 9CK/JXsnDNXTzsSD1q9K1dQQqlZ+lb9NZCIWR9B80OscMgRf+w/RI2+OR3qsvLec1Ryw 38lqrxspkcGZ2FKF3s+UM3thmzl2vH6tZDgnPha2osUFb8Fd1YEppe9CAjrQg/fdtE6t /ClXt8Fa1dKIBkZ5zmgN0VV8ATPTcaps1pKwRiabD6aMG8YpiUUyvwpGCnAXPh37/BcF rCFA== X-Received: by 10.107.27.4 with SMTP id b4mr24689397iob.17.1450771003603; Mon, 21 Dec 2015 23:56:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.212.74 with HTTP; Mon, 21 Dec 2015 23:56:04 -0800 (PST) In-Reply-To: <86zix4fx2z.fsf@phe.ftfl.ca> References: <86zix4fx2z.fsf@phe.ftfl.ca> From: Brian Burns Date: Tue, 22 Dec 2015 01:56:04 -0600 Message-ID: Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode To: Joseph Mingrone Content-Type: multipart/alternative; boundary=001a113fecac5201cf052777f240 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: eliz@gnu.org, bug-gnu-emacs@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: -4.0 (----) --001a113fecac5201cf052777f240 Content-Type: text/plain; charset=UTF-8 On Sun, Dec 20, 2015 at 6:45 PM, Joseph Mingrone wrote: > The results of the simple test were the same on 24.5.1. I'm working > on attaching the debugger, so hopefully more information will follow > soon. > Thanks for all your help Joseph and Eli - I just tried it with Emacs 24.5.1 in Xubuntu 15.10 under VirtualBox emulation on Windows but it didn't have a problem - x-selection-timeout was 5000 ms - I tried at 2000 and 0 but no problem there either. I'll see if I can get a dual boot setup tomorrow so I can help debug it, in case the VM is interfering with the clipboard somehow. The x-selection-timeout is something specific to Linux - I wasn't aware that the selection could timeout like that - I'd tested it on a Linux VM (with Ubuntu) when it was released back in March or April, and it seemed to work alright, though I most likely didn't try the shift+click window. I'll look into the X window selection routines in some more detail tomorrow also. Brian --001a113fecac5201cf052777f240 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
--001a113fecac5201cf052777f240-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 22 11:05:55 2015 Received: (at 22214) by debbugs.gnu.org; 22 Dec 2015 16:05:55 +0000 Received: from localhost ([127.0.0.1]:60111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBPRj-0004yj-CM for submit@debbugs.gnu.org; Tue, 22 Dec 2015 11:05:55 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52855) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBPRh-0004yU-Un for 22214@debbugs.gnu.org; Tue, 22 Dec 2015 11:05:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBPRX-0003Df-Sw for 22214@debbugs.gnu.org; Tue, 22 Dec 2015 11:05:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBPRX-0003DV-OY; Tue, 22 Dec 2015 11:05:43 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1543 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aBPRX-0001ru-20; Tue, 22 Dec 2015 11:05:43 -0500 Date: Tue, 22 Dec 2015 18:06:17 +0200 Message-Id: <83lh8mqxhi.fsf@gnu.org> From: Eli Zaretskii To: Joseph Mingrone In-reply-to: <86wps7dpn1.fsf@phe.ftfl.ca> (message from Joseph Mingrone on Tue, 22 Dec 2015 01:21:54 -0400) Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22214 Cc: bburns.km@gmail.com, 22214@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) [Please keep the bug address on the CC list.] > From: Joseph Mingrone > Cc: Eli Zaretskii , Brian Burns > Date: Tue, 22 Dec 2015 01:21:54 -0400 > > Eli Zaretskii writes: > > I'm guessing that GTK has something to do with this issue. > > I built with two different configurations: --with-x-toolkit=gtk2 and > --with-x-toolkit=athena and it made no difference. That is, the > problem existed with both configurations. What was the last version of Emacs in which this worked on GNU/Linux? From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 23 12:01:04 2015 Received: (at 22214) by debbugs.gnu.org; 23 Dec 2015 17:01:04 +0000 Received: from localhost ([127.0.0.1]:32906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBmme-0007cu-Ir for submit@debbugs.gnu.org; Wed, 23 Dec 2015 12:01:04 -0500 Received: from mail-qg0-f53.google.com ([209.85.192.53]:35564) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBmmc-0007cK-Tl for 22214@debbugs.gnu.org; Wed, 23 Dec 2015 12:01:03 -0500 Received: by mail-qg0-f53.google.com with SMTP id o11so80958012qge.2 for <22214@debbugs.gnu.org>; Wed, 23 Dec 2015 09:01:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=uYVXoAmlp18eFNyLm9AFiX/52Fy5ma6jsqXSfxh62G0=; b=Ggwn33Ulo5Csoza5Of7sh4fF2jN2Z+Dr6H6SZSDP/8Sj4vmOEUL/SrkiHy14zBXzFr 6tKdVjkBWd57N2OM4JnEm6vqx6JJ13O/RV8sftaFrBCBIozwt1crlMNzm7Np3oE3XNx4 AqFNFPU+gUAoHpqAYP6nEWGjdhYfrRVih0t1o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=uYVXoAmlp18eFNyLm9AFiX/52Fy5ma6jsqXSfxh62G0=; b=YIppr4D/HfQ28RhQDSSaTcizWfFJxeD87oiUCgPJtrFNlvPp3q2Al8mAMQw88RQXDM 8M39WK7WKrkLGBIWfmZoWRfQ6CR+uAfx7DlHn/IjMkLsnJ1KhbB14vBOqeVq/tFueFGH rIR9sgU0Z/UvOwIknct8FpouC7Dzn213Icx3A/T80QAa5n3Cq3PwLGIN3IKzZfroDhnR 3AGKVxZnwJ0WXRceYMp2tVEO1yism8+D/blL5osto5P/VRxj3wMLGdVuzgM9zBBUiq2G vFQUI0RPnG2ivy5FPaEmGtcnE9Vb4lge2gaA2prof8PpFg9QOqRLxEEd3BbSnLQWg5kS scAA== X-Gm-Message-State: ALoCoQkcg6DNrhM84y5c/ZcmTDXNP8AxOxwGUA95V4XjCNkjRFUjGVBdzWHdXVKcS1ZVlpGl4iHi0A+G1W0WRO11aoMdR+MCsA== X-Received: by 10.140.217.211 with SMTP id n202mr44574055qhb.26.1450890057421; Wed, 23 Dec 2015 09:00:57 -0800 (PST) Received: from phe.ftfl.ca.ftfl.ca (JMingrone.MathStat.Dal.Ca. [129.173.118.13]) by smtp.gmail.com with ESMTPSA id l38sm18351514qgd.27.2015.12.23.09.00.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Dec 2015 09:00:55 -0800 (PST) From: Joseph Mingrone To: Eli Zaretskii Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> Date: Wed, 23 Dec 2015 13:00:49 -0400 In-Reply-To: <83lh8mqxhi.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 22 Dec 2015 18:06:17 +0200") Message-ID: <86twn99k1q.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22214 Cc: bburns.km@gmail.com, 22214@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: -0.7 (/) --=-=-= Content-Type: text/plain Eli Zaretskii writes: > What was the last version of Emacs in which this worked on GNU/Linux? I've only gone back as far as 24. The Debian box I was testing on isn't accessible to me now that the holidays have started. I'm able to do the following: test on FreeBSD 10.2, test on GNU/Linux by running it remotely with X forwarding, test on GNU/Linux by running it through a VM. Joseph --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWetNBAAoJEDakDIOw1u+eRiUP/A3+1dmu57x4Yok9iQan5tRr /xPjHDUodnlbCGcE1tkZ7/lWMBgX2WaRSpunMUrIeqqERGUPJUNkf+cuLAZuAfX2 E9i5QlUCTWFW90WhV1rjrbUF/GxOaTZ/OqxI6ywDEAqgAMJBP2zWwtLbNru9jeiW 2Z1mMB0tEZNVT+AfYpnseXi4YYcZisv0tOHLAtn+E0YIRsk7vl+k+lBI0lcN8NmG IpikYybRX1MfZkOI7JPBqeIale2EcfKsrLVRxuIte3c3NAKGYrA0Zdffb+w1A1h4 OTmphaV2KTeNPjxbIyYpuEeQHm1EkqPfoFuXVsFylKci9Ko4i5QimXLgmjmaSTk3 nRB89hRJiXXvwFQDHRoivSuvw2NAX334eJO8dxbeV1oSKGS2wUMj+pkCBiszBZSd /KmYOj42nvnXVtah0UNEWzpg5aaAqJ4Ha+X1MTTC1A1qVruzD9E6K4dnyl4pLfxS O7Gf2ZQOcvmsbO3NzTMg5+R3Au2/77qeNjJjkPSwk3aTOxXhal74D0GR9/Mav+aB O2hOxjfmPBuAjfCX26FCN+1gxWhovQycm5Kq5FT+j79JPQWEIiqHByC0nuk5Ms94 mzTzEYI3mr6FsbBo5Q9YIPQT5YRZfAa1b1iBwYgTTFZxEYPvGXoz9GenbI0y4nSX WQ1mtTxXpqsj4H9e3pza =Hd/M -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 23 12:11:55 2015 Received: (at 22214) by debbugs.gnu.org; 23 Dec 2015 17:11:55 +0000 Received: from localhost ([127.0.0.1]:32911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBmx9-0007rT-J1 for submit@debbugs.gnu.org; Wed, 23 Dec 2015 12:11:55 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42742) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBmx8-0007rH-9m for 22214@debbugs.gnu.org; Wed, 23 Dec 2015 12:11:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBmwz-0008Sd-Lq for 22214@debbugs.gnu.org; Wed, 23 Dec 2015 12:11:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBmwz-0008SR-J5; Wed, 23 Dec 2015 12:11:45 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2284 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aBmwx-0003zk-Lh; Wed, 23 Dec 2015 12:11:44 -0500 Date: Wed, 23 Dec 2015 19:12:21 +0200 Message-Id: <83bn9hozre.fsf@gnu.org> From: Eli Zaretskii To: Joseph Mingrone In-reply-to: <86twn99k1q.fsf@phe.ftfl.ca> (message from Joseph Mingrone on Wed, 23 Dec 2015 13:00:49 -0400) Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22214 Cc: bburns.km@gmail.com, 22214@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Joseph Mingrone > Cc: bburns.km@gmail.com, 22214@debbugs.gnu.org > Date: Wed, 23 Dec 2015 13:00:49 -0400 > > Eli Zaretskii writes: > > What was the last version of Emacs in which this worked on GNU/Linux? > > I've only gone back as far as 24. Can you test 24.4 or 24.3? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 23 13:18:35 2015 Received: (at 22214) by debbugs.gnu.org; 23 Dec 2015 18:18:36 +0000 Received: from localhost ([127.0.0.1]:32966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBnzf-0000ze-PL for submit@debbugs.gnu.org; Wed, 23 Dec 2015 13:18:35 -0500 Received: from mail-qk0-f171.google.com ([209.85.220.171]:35504) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBnze-0000zS-Eb for 22214@debbugs.gnu.org; Wed, 23 Dec 2015 13:18:34 -0500 Received: by mail-qk0-f171.google.com with SMTP id n135so43164137qka.2 for <22214@debbugs.gnu.org>; Wed, 23 Dec 2015 10:18:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=GB+aK+tQwxb/ntsKnMQSC7bUY5NtIVbFZHElCVtrVAY=; b=ZUIgylNYtygbF9JM+XFePNNXADkbuqtDGbaSXgR5jL56yj6kXe0hbdhqNDYQJC7kO1 FU2DeYeFB8IQUdlClH8jgYUCSk2mc5Kc+tgVMFZpFqBOiJ/FdPth2wffQ0SQg2MaJYd5 g3G9r+H/y50+A0meGSXH8vUDSdo5NnX6IwS4U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=GB+aK+tQwxb/ntsKnMQSC7bUY5NtIVbFZHElCVtrVAY=; b=Bk8IVNJjQP/kyl0OStCLZDK2S5znIZFR5s1IrEaUFIuXrYPE28UFUN1nXYkX3pUiA4 bDpIMV3QX7QRNvXHRGSBJ3XJ/9c9s7lfzMPy5uuBCBILJ1NxKEYKXGxgf2/gr88PnpvQ aTv4Gagud9QnB3f/Kqd27M/8EJhb+9dRqtuOaOP2Bs8S12k6m8g4cop/5/upkSe0K2DJ xNuf4w+RY20IDpVgcn0GQGYYTNg1dw4HdMSXheRMhlFnOFaOkZAt2XoznT7L2teB4wU4 mVvZX6c4LkiQ7mnwyBdkOx2Z5/uW6XcC2y5rqrmxo50gUJdoIG0WkkSGM1jPjX1CUsO7 4tKA== X-Gm-Message-State: ALoCoQl8p1ssJzyufXcLDmjny1uhY2thPaRBZsyLQx7QFpCaboZYDNPXI3Avfz/gCdat3xWdmUEe1HqKcuwC3cVdK1fZeuuz4A== X-Received: by 10.55.198.152 with SMTP id s24mr42508241qkl.75.1450894709016; Wed, 23 Dec 2015 10:18:29 -0800 (PST) Received: from phe.ftfl.ca.ftfl.ca (JMingrone.MathStat.Dal.Ca. [129.173.118.13]) by smtp.gmail.com with ESMTPSA id j67sm10643663qgj.35.2015.12.23.10.18.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Dec 2015 10:18:27 -0800 (PST) From: Joseph Mingrone To: Eli Zaretskii Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> Date: Wed, 23 Dec 2015 14:18:25 -0400 In-Reply-To: <83bn9hozre.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 23 Dec 2015 19:12:21 +0200") Message-ID: <86mvt19gge.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22214 Cc: bburns.km@gmail.com, 22214@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: -0.7 (/) --=-=-= Content-Type: text/plain Eli Zaretskii writes: > Can you test 24.4 or 24.3? The tarball listed as emacs-24.4.tar.xz is actually 24.4.1. Is that OK or should I checkout a specific tag? The colleague running Debian is actually still here, so I tested there with 24.4.1. % emacs -Q (load "/path/to/clipmon.el") M-x clipmon-mode S-- causes the problem. Joseph --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWeuVxAAoJEDakDIOw1u+e5HAP/3zr3dvMuWq+lRzDY/FlC/2b eNkBTfxFnQ6wlur4DF2JGQ6hICRS6A7EaOo41nXl8W6/21QlIwVXdNd6jppcWaHr m3x5KLXORIbS99rvc/SDyIutP5e4yHvEoCRzk1F2jkW4p6GNjRiTisCUY32SaWEv dc+DZdQR/Raw68wvGdDdJA6bs/DvVf0FsbN2e/I0KZMY4QqZ7Pyh5G+23EQ9JXll tN3i7415D2flLxeynRO8LyNi1ACVfEmoQGSqqLVb1OA07xtT4LmNBQm0Qv4UMxCP Rst6ZISpIQFLlPjB5NGkBL5ekFprfLE9o+oanRE9mvNSkrkiOqH9q86ox2qYGqyB BRtS+sXg548Z9z6dRkVugd2h//UYKhOXwJsfeZqbmoPLNWZRDu2Ij/7ykBRRIG0r +ICnhZ3AIe7yv8dQAvaVniM57wCY/gbRn7Skionj2zFTarLueQax22xO7rHgiBjo 2drZXuHAniwNRteRNeX0s9Whmu/ijDd9CwH0v13cFqUr61Ap6k+AAXcU2B5pCMC6 +CZUTmG83J4ctEs+/8tpGb3HRlSY6GHR/UmSMBYni8GcyFpFHr4vGODHt2juR8pa CwQw6Vz9yCUNB/QooEgplzSZ43bvoAjquqhHx/HyDAi3LQQoaqZB5HBVhPGqYGB0 4jZuD5bDYcshpkBQ+96Z =p6dZ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 23 13:21:48 2015 Received: (at 22214) by debbugs.gnu.org; 23 Dec 2015 18:21:48 +0000 Received: from localhost ([127.0.0.1]:32976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBo2m-000159-Fz for submit@debbugs.gnu.org; Wed, 23 Dec 2015 13:21:48 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34886) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBo2l-00014x-1M for 22214@debbugs.gnu.org; Wed, 23 Dec 2015 13:21:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBo2c-0003da-SM for 22214@debbugs.gnu.org; Wed, 23 Dec 2015 13:21:41 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBo2c-0003dW-PU; Wed, 23 Dec 2015 13:21:38 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2368 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aBo2b-0007Lv-U6; Wed, 23 Dec 2015 13:21:38 -0500 Date: Wed, 23 Dec 2015 20:22:15 +0200 Message-Id: <83y4clnhyg.fsf@gnu.org> From: Eli Zaretskii To: Joseph Mingrone In-reply-to: <86mvt19gge.fsf@phe.ftfl.ca> (message from Joseph Mingrone on Wed, 23 Dec 2015 14:18:25 -0400) Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22214 Cc: bburns.km@gmail.com, 22214@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Joseph Mingrone > Cc: bburns.km@gmail.com, 22214@debbugs.gnu.org > Date: Wed, 23 Dec 2015 14:18:25 -0400 > > Eli Zaretskii writes: > > Can you test 24.4 or 24.3? > > The tarball listed as emacs-24.4.tar.xz is actually 24.4.1. Is that OK or should I checkout a specific tag? 24.4.1 is okay. > The colleague running Debian is actually still here, so I tested there with 24.4.1. > > % emacs -Q > (load "/path/to/clipmon.el") > M-x clipmon-mode > > S-- causes the problem. So it's likely clipmon never worked well on X, is that right? From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 23 15:17:44 2015 Received: (at 22214) by debbugs.gnu.org; 23 Dec 2015 20:17:44 +0000 Received: from localhost ([127.0.0.1]:33018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBpqy-0003mv-5f for submit@debbugs.gnu.org; Wed, 23 Dec 2015 15:17:44 -0500 Received: from mail-ig0-f179.google.com ([209.85.213.179]:35068) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBpqw-0003mi-JJ for 22214@debbugs.gnu.org; Wed, 23 Dec 2015 15:17:42 -0500 Received: by mail-ig0-f179.google.com with SMTP id to4so87299641igc.0 for <22214@debbugs.gnu.org>; Wed, 23 Dec 2015 12:17:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=TYsGtdGxhrBdPM2VQENw3rAmsxuQUun4wIPKB/qKoZU=; b=AZ3nAw7K6R7GjCDrs5fDbaTpx4zYK43rMl0it359gmB3CN82sPObQ3cJK1j3zguGxh H9jujdcQV+2hZY399nDhd9S2uphIsMAxoKvGXkHkbEO7up7EW527gSNs6CixNTq1hYm5 K2G+8a+DRzewvFDf52jyLN9PSO28iuVrLUl8+IdOdid/p+T9imHcbd+ISzk5zwSkmZXb kUGX6ZtGY6AQ0LuqYnm2q/glIvmMSbrD8blH5NKVmcaY//Jb3Ff7Ztk25WQDlYKQbsmK eB2s4ra1nV0RiIYG218VT31+wIU7spR5GaYl+CVOBMFN/lwzlF6EWmdmcPTkkAqM91dB x1uQ== X-Received: by 10.50.30.100 with SMTP id r4mr29317705igh.23.1450901856890; Wed, 23 Dec 2015 12:17:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.212.74 with HTTP; Wed, 23 Dec 2015 12:16:57 -0800 (PST) In-Reply-To: <83y4clnhyg.fsf@gnu.org> References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> From: Brian Burns Date: Wed, 23 Dec 2015 14:16:57 -0600 Message-ID: Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode To: Eli Zaretskii Content-Type: multipart/alternative; boundary=e89a8f839387c8b6f5052796697e X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22214 Cc: Joseph Mingrone , 22214@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: -0.7 (/) --e89a8f839387c8b6f5052796697e Content-Type: text/plain; charset=UTF-8 > So it's likely clipmon never worked well on X, is that right? It sounds like it - it's only been out for 8 or 9 months but I guess no-one had tried shift+dragging with the mouse yet, or else hadn't reported the problem. I just got the dual boot working with Xubuntu 15.10 and got it to hang, testing with 24.5.1, but it's okay on Windows or in a Xubuntu VM. I'll add a warning to the package, and see if I can make a minimal function to reproduce the error - I guess it would be something like check the clipboard contents, shift+down, then shift+mouse+dragdown? I'm not sure how the polling timer might fit into it, as it seemed to hang instantly on dragging the mouse down. Brian --e89a8f839387c8b6f5052796697e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> So it's likely cl= ipmon never worked well on X, is that right?

It sounds like it - it's only been= out for 8 or 9 months but I guess no-one had tried shift+dragging with the= mouse yet, or else hadn't reported the problem.

I just got th= e dual boot working with Xubuntu 15.10 and got it to hang, testing with 24.= 5.1, but it's okay on Windows or in a Xubuntu VM.

I'll add a warning to the package, and see if I can= make a minimal function to reproduce the error - I guess it would be somet= hing like check the clipboard contents, shift+down, then shift+mouse+dragdo= wn? I'm not sure how the polling timer might fit into it, as it seemed = to hang instantly on dragging the mouse down.

Brian
<= div>






--e89a8f839387c8b6f5052796697e-- From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 23 16:21:29 2015 Received: (at 22214) by debbugs.gnu.org; 23 Dec 2015 21:21:29 +0000 Received: from localhost ([127.0.0.1]:33037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBqqf-0005GM-JG for submit@debbugs.gnu.org; Wed, 23 Dec 2015 16:21:29 -0500 Received: from mail-qg0-f45.google.com ([209.85.192.45]:35614) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBqqd-0005G8-Lr for 22214@debbugs.gnu.org; Wed, 23 Dec 2015 16:21:27 -0500 Received: by mail-qg0-f45.google.com with SMTP id o11so85869114qge.2 for <22214@debbugs.gnu.org>; Wed, 23 Dec 2015 13:21:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=bChyvSQnLEtkTH74O47ufacD9Kd8ZLJ4zgd338S8HOc=; b=ALM5exA39Fe4r9WShulYR3SdsPgCfMDfGwJr+WV7bW0Ux31wYk7l332bMrzk1c0AwX bXrLBzusaTx3I2wwJltFL2lbnqVa9YVR/ybkRvKndyceunMMCy1UlfVlmy6l83dZZS3z z0nhUD+rUOuB7bGcjxH9+CP83580phwgB97q0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=bChyvSQnLEtkTH74O47ufacD9Kd8ZLJ4zgd338S8HOc=; b=DWUwOTfu0lFtd4O8LksEgw0BYQfHDbqD56g7xqhXSnGsL/WTlthyovcAFTgxKtQNJe mj5xeTLB8ed8gDwZRmVoNqeeiLbIOoCq74rTGK9BsbNn5L+zD5Non9hcJ6eIJm/sSfkY 7+FTH9IlV3zp1fqLG/UKjEYmAzzh3SQmyUgdQXg2hVcCPUS7nxPtqFxUmCCNuL8eIrHo axNRSjAZioVj+eDbpg3mcNSWPkP1ICCFFj3pEixIDPOo8U3BDXI+HWXPUVtxIH0FrRmN PeKpNsY+oOEzX0bFlxT9hI5eQGilY7j5rTp9UpQGCrjSlXBY49fV2sJOB/qOfvOjf+bb ONMw== X-Gm-Message-State: ALoCoQkC3H+gowfIexqC4UYvCwkBtUQ/aiPinzbWYXnrWacxY36SEZDtfkpaVYzKahprLGxYe9yc7pDRHpUJUnHgP3ZFnJNogw== X-Received: by 10.140.142.207 with SMTP id 198mr36500091qho.77.1450905682221; Wed, 23 Dec 2015 13:21:22 -0800 (PST) Received: from phe.ftfl.ca.ftfl.ca (JMingrone.MathStat.Dal.Ca. [129.173.118.13]) by smtp.gmail.com with ESMTPSA id 81sm18744401qhx.15.2015.12.23.13.21.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Dec 2015 13:21:20 -0800 (PST) From: Joseph Mingrone To: Brian Burns Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> Date: Wed, 23 Dec 2015 17:21:18 -0400 In-Reply-To: (Brian Burns's message of "Wed, 23 Dec 2015 14:16:57 -0600") Message-ID: <861tacamk1.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22214 Cc: Eli Zaretskii , 22214@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: -0.7 (/) --=-=-= Content-Type: text/plain Brian Burns writes: > I'll add a warning to the package, and see if I can make a minimal function > to reproduce the error - I guess it would be something like check the > clipboard contents, shift+down, then shift+mouse+dragdown? I'm not sure how > the polling timer might fit into it, as it seemed to hang instantly on > dragging the mouse down. Here is the simplest example I can come up with that causes the problem. ;; substitute x-get-selection-value for 24.x (run-at-time nil 2 (gui-get-primary-selection)) (menu-set-font) Substituting larger values for the first argument of `run-at-time` just (possibly) delays when Emacs locks up. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWexBOAAoJEDakDIOw1u+euQUP/itZHUZ89+xmSA94yNoLyHAQ rl1QqzbShyZkw/mXWsZldEBIx0ObRWpwMkma8jHOUS1IDpbKK0d/sSBCW18hio9e fENainHLk7M8mQ2Ncle0/ksSKxxMKk/Ny5c3U0Fw8YqO75z4zu2q0XKikjpM+aIa uDasBfIBdBu+otgcOku/f2ea22BdazJpXHTx6mj7KGhFHFQ55cLkoL82sbFgw78+ X1QdJpF6XujO5pzsFt7cTCwBRJcBHEVuv8GWpxDLjjKOsom7yGIFGF4t79Riy2JU Xmj3MF1DzsSVpvI//cb0x3Lxm38pMeluVdnL6Bt+QwHECXugqO1y6mrdHYXuNTBM IHy90ls8D7bvNEgv6byj04W/mTlEMkx5KwkLCAlI8c8PF5H+tfCyEG1XZaBp3JR4 kZadWQnM6TP0FvolbdgCMJjJRBYWu+SHsoPgFv1aQa6cWoWsaePM1UdtfE/wn9vf 1upMENAD/KlbcPar7WcL9VyiQleGue4EGCkDOg2PgeMRe2QJaj+EtLhadGwESSMd VTlDt9uJwvvjNl8UpZ309qqJnBmD+DPyOWt0ZoEpH5uAgQlrwWW4loOPJVuNNWZJ gHinh2E4ivXUm+h0EU4Mkm1Dpbi10HmswU+ff4dkZFFKov2CDYJ5yNuxBhWNq52j 6CgpqoHLuTs2rpfqvN10 =a/We -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 24 02:44:27 2015 Received: (at 22214) by debbugs.gnu.org; 24 Dec 2015 07:44:27 +0000 Received: from localhost ([127.0.0.1]:33184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aC0ZX-0002mx-Cz for submit@debbugs.gnu.org; Thu, 24 Dec 2015 02:44:27 -0500 Received: from mail-ig0-f180.google.com ([209.85.213.180]:38092) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aC0ZV-0002mk-2h for 22214@debbugs.gnu.org; Thu, 24 Dec 2015 02:44:25 -0500 Received: by mail-ig0-f180.google.com with SMTP id jw2so92558606igc.1 for <22214@debbugs.gnu.org>; Wed, 23 Dec 2015 23:44:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=joUMa/FuvZL0CpzdPy9VFJvZguon3QO7lvCHaYu1MkM=; b=A80sI+5NyCyxeMOj3D4fh3LT3XEnLWAxp4E8W3B1nVtqQWwgJE8sAeOocIk4s26Z7O wipprxawqqDw4TAJW+Pk45ZgecGpwPrZubHdfuE2X19qkhyBM+58YeHtD5UDgrPYpRgv 3J+g+r4kql9NQd8BEqxFAeWqlltoF0ynxM34M6awsnlSNxXwXAJI9uljbt3OnGHKwkK7 PXzaeb8OH1KNpip/mdU5hZKNqBzj33XRbgwC9VyJ9iOYeEKaG7oe7pwfe/Vppz7gYznD I0h2PfIRoSh7gkYo5kik7tLE+bfjtEID1GRg3hDfhfXno4Q4FbkKTfczwfrP0z8lO6cM yM2g== X-Received: by 10.50.30.100 with SMTP id r4mr31527224igh.23.1450943059465; Wed, 23 Dec 2015 23:44:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.212.74 with HTTP; Wed, 23 Dec 2015 23:43:39 -0800 (PST) In-Reply-To: <861tacamk1.fsf@phe.ftfl.ca> References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> <861tacamk1.fsf@phe.ftfl.ca> From: Brian Burns Date: Thu, 24 Dec 2015 01:43:39 -0600 Message-ID: Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode To: Joseph Mingrone Content-Type: multipart/alternative; boundary=e89a8f839387a61ed30527a0015e X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22214 Cc: Eli Zaretskii , 22214@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: -0.7 (/) --e89a8f839387a61ed30527a0015e Content-Type: text/plain; charset=UTF-8 Joseph Mingrone wrote: > Here is the simplest example I can come up with that causes the problem. > > ;; substitute x-get-selection-value for 24.x > (run-at-time nil 2 (gui-get-primary-selection)) > (menu-set-font) > Thanks, that does it - I tried adding menu-or-popup-active-p around it but it didn't help - (defun foo () (if (not (menu-or-popup-active-p)) (x-get-selection-value))) (run-at-time nil 2 'foo) (menu-set-font) Maybe there's some other way to tell if a gui window is showing / waiting for input? Then as a workaround I could just skip checking the clipboard. I looked at some of the internals - as Eli said there's an event loop for the x dialog that also checks the existing Emacs timers, which in this case would be checking the x selection and starting another timer. I'm not sure why that would cause a hang though, if the x selection returns immediately. Thanks again for your help in tracking this down - I'll keep tracing through the code to see if I can figure out what's going on, and why menu-or-popup-active-p doesn't help. Brian --e89a8f839387a61ed30527a0015e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Joseph Mingrone <jrm@ftfl.ca> wrote:=
Here is the simplest example I can come up with that causes the problem.
;; substitute x-get-selection-value for 24.x
(run-at-time nil 2 (gui-get-primary-selection))
(menu-set-font)

Thanks, that does it - I tried ad= ding menu-or-popup-active-p around it but it didn't help -

(def= un foo ()
=C2=A0 (if (not (menu-or-popup-active-p))
=C2=A0=C2=A0=C2= =A0 (x-get-selection-value)))

(run-at-time nil 2 'foo)
(menu-= set-font)

Maybe there's some ot= her way to tell if a gui window is showing / waiting for input? Then as a w= orkaround I could just skip checking the clipboard.

I looked at some of the internals - as Eli said there'= ;s an event loop for the x dialog that also checks the existing Emacs timer= s, which in this case would be checking the x selection and starting anothe= r timer.

I'm not sure why that would cause a hang though, if th= e x selection returns immediately.

Thanks again for your help in tr= acking this down - I'll keep tracing through the code to see if I can f= igure out what's going on, and why menu-or-popup-active-p doesn't h= elp.

Brian

--e89a8f839387a61ed30527a0015e-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 24 11:19:35 2015 Received: (at 22214) by debbugs.gnu.org; 24 Dec 2015 16:19:36 +0000 Received: from localhost ([127.0.0.1]:33786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aC8c3-0007y9-ON for submit@debbugs.gnu.org; Thu, 24 Dec 2015 11:19:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37273) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aC8c2-0007xx-M3 for 22214@debbugs.gnu.org; Thu, 24 Dec 2015 11:19:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aC8bu-0008VB-Al for 22214@debbugs.gnu.org; Thu, 24 Dec 2015 11:19:29 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aC8bu-0008V6-6e; Thu, 24 Dec 2015 11:19:26 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3069 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aC8bt-0005ZQ-61; Thu, 24 Dec 2015 11:19:25 -0500 Date: Thu, 24 Dec 2015 18:20:05 +0200 Message-Id: <83a8ozom2y.fsf@gnu.org> From: Eli Zaretskii To: Brian Burns In-reply-to: (message from Brian Burns on Thu, 24 Dec 2015 01:43:39 -0600) Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> <861tacamk1.fsf@phe.ftfl.ca> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22214 Cc: jrm@ftfl.ca, 22214@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Brian Burns > Date: Thu, 24 Dec 2015 01:43:39 -0600 > Cc: Eli Zaretskii , 22214@debbugs.gnu.org > > I looked at some of the internals - as Eli said there's an event loop for the x > dialog that also checks the existing Emacs timers, which in this case would be > checking the x selection and starting another timer. What I don't understand is how menus enter the picture, since the lockup doesn't happen unless a menu is open. Understanding that might be an important step towards finding a solution. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 02:29:55 2015 Received: (at 22214) by debbugs.gnu.org; 27 Dec 2015 07:29:55 +0000 Received: from localhost ([127.0.0.1]:42356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aD5m6-0002ot-OU for submit@debbugs.gnu.org; Sun, 27 Dec 2015 02:29:54 -0500 Received: from mail-ig0-f178.google.com ([209.85.213.178]:38180) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aD5m4-0002og-Sq for 22214@debbugs.gnu.org; Sun, 27 Dec 2015 02:29:53 -0500 Received: by mail-ig0-f178.google.com with SMTP id mw1so7852327igb.1 for <22214@debbugs.gnu.org>; Sat, 26 Dec 2015 23:29:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=bBFC20UfAzX4fGxAzPHdzsnt7HABjpwNaSylYrB+vx4=; b=q1tsjLrVux5j+Bc6amZJdJ3Ho0x7mExlfPvQ7wg/yA8w5Nss9xMbf14EBrVvkrw17o Q8tX17kaOZJBN5pLjRqnWWITneLiJUNGvvWIKhj+uWtNRL9X8HxvhatmWv5rLs3wVgpQ UabP65x+2ZI3+VKYyF7d2tBFco60D2+V2a+gpDFu9asxGBZRlfC9Claf8vs3lRN0lKpC scNdGKAnRuVIXjDJoKBBXHJxXLME+O/1vvQEiw1AmqWU6INHFK3k0PhGmSWCOWC32YBC 021uSYKBXeEObf/UtdisnCSFRoiVuqjNJfXWfgxgkpZX726sCDKNnBc7ytiReNDPrAJk ecRg== X-Received: by 10.50.126.8 with SMTP id mu8mr44575285igb.52.1451201387171; Sat, 26 Dec 2015 23:29:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.212.74 with HTTP; Sat, 26 Dec 2015 23:29:07 -0800 (PST) In-Reply-To: <83a8ozom2y.fsf@gnu.org> References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> <861tacamk1.fsf@phe.ftfl.ca> <83a8ozom2y.fsf@gnu.org> From: Brian Burns Date: Sun, 27 Dec 2015 01:29:07 -0600 Message-ID: Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode To: Eli Zaretskii Content-Type: multipart/alternative; boundary=047d7b1635bf2e17760527dc2721 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22214 Cc: Joseph Mingrone , 22214@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: -0.7 (/) --047d7b1635bf2e17760527dc2721 Content-Type: text/plain; charset=UTF-8 It looks like the gui menu runs through timer_check to check for any emacs timers, and when the clipmon timer is triggered, it checks the x selection, which also runs through timer_check. Putting the clipmon timer through that routine twice might be throwing things off - it seems like it's the second pass which get stuck in an endless loop. I'm not positive about that though - I'm still learning my way around the system and gdb. I'll keep tracing through it - I've been wanted to learn more about Emacs internals so I could work on them someday, and this looks like as good a place as any to start... Brian On Thu, Dec 24, 2015 at 10:20 AM, Eli Zaretskii wrote: > > From: Brian Burns > > Date: Thu, 24 Dec 2015 01:43:39 -0600 > > Cc: Eli Zaretskii , 22214@debbugs.gnu.org > > > > I looked at some of the internals - as Eli said there's an event loop > for the x > > dialog that also checks the existing Emacs timers, which in this case > would be > > checking the x selection and starting another timer. > > What I don't understand is how menus enter the picture, since the > lockup doesn't happen unless a menu is open. > > Understanding that might be an important step towards finding a > solution. > --047d7b1635bf2e17760527dc2721 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It looks like the gui menu runs through timer_check t= o check for any emacs timers, and when the clipmon timer is triggered, it c= hecks the x selection, which also runs through timer_check. Putting the cli= pmon timer through that routine twice might be throwing things off - it see= ms like it's the second pass which get stuck in an endless loop.
I'm not positive about that though - I'm still learning my way ar= ound the system and gdb. I'll keep tracing through it - I've been w= anted to learn more about Emacs internals so I could work on them someday, = and this looks like as good a place as any to start...

B= rian



On Thu, Dec 24, 2015 at 10:20 AM, Eli Zaretskii <eliz@gnu= .org> wrote:
> From: Bri= an Burns <bburns.km@gmail.com= >
> Date: Thu, 24 Dec 2015 01:43:39 -0600
> Cc: Eli Zaretskii <eliz@gnu.org= >, 22214@debbugs.gnu.org >
> I looked at some of the internals - as Eli said there's an event l= oop for the x
> dialog that also checks the existing Emacs timers, which in this case = would be
> checking the x selection and starting another timer.

What I don't understand is how menus enter the picture, since the
lockup doesn't happen unless a menu is open.

Understanding that might be an important step towards finding a
solution.

--047d7b1635bf2e17760527dc2721-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 23 10:07:06 2022 Received: (at 22214) by debbugs.gnu.org; 23 Apr 2022 14:07:06 +0000 Received: from localhost ([127.0.0.1]:56826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niGPi-00066P-DO for submit@debbugs.gnu.org; Sat, 23 Apr 2022 10:07:06 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niGPh-00065q-2i for 22214@debbugs.gnu.org; Sat, 23 Apr 2022 10:07:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=d+q6HsQ9lJ4jZpqe/VzTle1316C3OF3y0wtubzoxtBk=; b=mM/oeZ0f4Odj8cpjMKFRfTNh8N 5HO43lf9o+3hgJkJA6rV8VsMUSHGWvEALdEPkJFRqB/1TUPATKwyd/7RYe3aK7FGeHL3pg4csC1To 7QTwh6WzcCeJ761dPfPRFVWxJ0Mo1pLxuaayAuS/KIrJOkain10j27EqOd8O9b0BiNBo=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1niGPY-0003mw-0P; Sat, 23 Apr 2022 16:06:58 +0200 From: Lars Ingebrigtsen To: Joseph Mingrone Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> <861tacamk1.fsf@phe.ftfl.ca> X-Now-Playing: Liturgy's _Origin of the Alimonies_: "OIOION's Birth" Date: Sat, 23 Apr 2022 16:06:53 +0200 In-Reply-To: <861tacamk1.fsf@phe.ftfl.ca> (Joseph Mingrone's message of "Wed, 23 Dec 2015 17:21:18 -0400") Message-ID: <878rrvsxky.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Joseph Mingrone writes: > Here is the simplest example I can come up with that causes the problem. > > ; ; substitute x-get-selection-value for 24.x > (run-at-time nil 2 (gui-get-primary-selection)) > (menu-set-font) Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 22214 Cc: 22214@debbugs.gnu.org, Brian Burns , Eli Zaretskii 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 (---) Joseph Mingrone writes: > Here is the simplest example I can come up with that causes the problem. > > ;; substitute x-get-selection-value for 24.x > (run-at-time nil 2 (gui-get-primary-selection)) > (menu-set-font) (I'm going through old bug reports that unfortunately weren't resolved at the time.) Skimming this bug report, there were different cases for reproduction, but I tried this one (well actually (run-at-time nil 2 (lambda () (gui-get-primary-selection))) (menu-set-font) , since that's valid code), and I couldn't reproduce the lock up. Are you still seeing this problem in recent Emacs versions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 23 10:07:10 2022 Received: (at control) by debbugs.gnu.org; 23 Apr 2022 14:07:10 +0000 Received: from localhost ([127.0.0.1]:56829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niGPm-00066h-Lx for submit@debbugs.gnu.org; Sat, 23 Apr 2022 10:07:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niGPk-00066F-OJ for control@debbugs.gnu.org; Sat, 23 Apr 2022 10:07:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=M6T9rAOTrFr+aAgTRViYpSaDlN1LqXq6arZcg3dNuC8=; b=tiePOwDCzJVRbMq6RpS6r6FKeA fe+gk1kmvlKNR+VufVx2BnjUdibeF/5PMduSU3HKADt4dHInoY5VIUlYbyONoru/cEQgVg6uhL3JR z/tiWHDScBnMdZcesau3ijVQix1u1I7yO5aep2tnQ/vNWGosGajfouxV4099LGv5WZEg=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1niGPd-0003nI-52 for control@debbugs.gnu.org; Sat, 23 Apr 2022 16:07:03 +0200 Date: Sat, 23 Apr 2022 16:07:00 +0200 Message-Id: <877d7fsxkr.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #22214 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 22214 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) tags 22214 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 24 09:24:07 2022 Received: (at 22214) by debbugs.gnu.org; 24 Apr 2022 13:24:07 +0000 Received: from localhost ([127.0.0.1]:57901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nicDe-00012C-QT for submit@debbugs.gnu.org; Sun, 24 Apr 2022 09:24:07 -0400 Received: from mail-qt1-f182.google.com ([209.85.160.182]:43906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nicDQ-00011V-Id for 22214@debbugs.gnu.org; Sun, 24 Apr 2022 09:24:04 -0400 Received: by mail-qt1-f182.google.com with SMTP id hh4so8678920qtb.10 for <22214@debbugs.gnu.org>; Sun, 24 Apr 2022 06:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=yblmxLgh4sjvuuyGyspA+EhIXMYBrEZcZ8u8r4W1Qbw=; b=BnstvPC9DI1X5LbES6Bwzlj77eoZ+ANX/zsl6X67E6Dq64VyxHcZiFDLKm8JkuqtJp 5CtCBkTNX1eSEuncmoy/6khYz+GuUSGN/QrhxU/qgDhaj3WLrPzPXOatU/S1JGNWQIQu bubPhOnsXHJnIjzFKzM5d+H5VJDPt3h+wLK1o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=yblmxLgh4sjvuuyGyspA+EhIXMYBrEZcZ8u8r4W1Qbw=; b=1uo/qxRCswrbNWT6erOTTIIFWhQzdXkSRCDe85yJ5nD/zvmizgHyqBfT5ubNVcfOoP CnCBGIZYkZhuMt1MqM0hGAsw5ZMEDgtxV4aCn14SlXPA+t7+Wt59J8hoR4aTtTV+icXj i1FHLD0isvp9/1AgnSQXNGY1zd5oljHiZbA67N3rJzqFaFdomdLzo/ypX7TvBLQrO6Ee IWu0ckuhAoCp8NARq0nkLcKPFKZzmUCAQmcYaALAAI1Lmj+VpQOUB+gtB8uf+WwrJTjf VkzlU8Hj28THQZk4fCNTSH+lA2qJ6EjmmrjcsecEU4KoADfnakGkP4tGV2bC9TtgtKZt Idtw== X-Gm-Message-State: AOAM530rg0kJffo3N/s2HHfVXeYIQ23HLi8y+vdxVzGNN4g1IpNBZXcT 83Avw/lI1b8QioZTxQSXhjf2sWhu7DMjkw== X-Google-Smtp-Source: ABdhPJyJhJYidF5T3VVaPPb0X9plTltBTJDmEJsIEU1uoGRS08I3sUP3wTPDalIuGplVP709MLTDuw== X-Received: by 2002:ac8:5a81:0:b0:2f1:f20d:173a with SMTP id c1-20020ac85a81000000b002f1f20d173amr9071238qtc.686.1650806626495; Sun, 24 Apr 2022 06:23:46 -0700 (PDT) Received: from phe.ftfl.ca.ftfl.ca (drmons0544w-156-34-173-250.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.173.250]) by smtp.gmail.com with ESMTPSA id a1-20020ac844a1000000b002f364521df2sm1597492qto.21.2022.04.24.06.23.44 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 24 Apr 2022 06:23:45 -0700 (PDT) From: Joseph Mingrone To: Lars Ingebrigtsen Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> <861tacamk1.fsf@phe.ftfl.ca> <878rrvsxky.fsf@gnus.org> Date: Sun, 24 Apr 2022 10:23:43 -0300 In-Reply-To: <878rrvsxky.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 23 Apr 2022 16:06:53 +0200") Message-ID: <86v8uyd38g.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22214 Cc: 22214@debbugs.gnu.org, Brian Burns , Eli Zaretskii 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 (-) I stopped using clipmon shortly after this bug was reported, but I just cloned the repository and ran % emacs -Q (load "/path/to/clipmon/clipmon.el") (run-at-time nil 2 (lambda () (gui-get-primary-selection))) (menu-set-font) When I dismissed the dialog box, sometimes things were fine, but other times, Emacs started to use 100% CPU and would not respond to input. Now I am able to kill the run-away emacs process and regain control of the system. Below is information about my current installation. In GNU Emacs 29.0.50 (build 1, amd64-portbld-freebsd14.0, GTK+ Version 3.24.33, cairo version 1.17.4) Repository revision: 1fed6e7 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12014000 System Description: 14.0-CURRENT Configured using: 'configure --disable-build-details --localstatedir=/var --without-libsystemd --without-selinux --with-x --enable-acl --with-cairo --without-dbus --without-gconf --with-gif --with-gnutls --without-gsettings --with-x-toolkit=gtk3 --with-harfbuzz --with-jpeg --with-json --with-file-notification=kqueue --with-lcms2 --without-m17n-flt --without-imagemagick --without-mailutils --with-modules --with-native-compilation --with-sound=oss --without-libotf --without-pgtk --with-png --with-toolkit-scroll-bars --with-sqlite3 --with-rsvg --with-threads --with-tiff --with-webp --without-xft --with-xim --with-xml2 --without-xpm --without-xwidgets --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local --mandir=/usr/local/man --disable-silent-rules --infodir=/usr/local/share/emacs/info/ --build=amd64-portbld-freebsd14.0 'CFLAGS=-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing ' 'CPPFLAGS=-isystem /usr/local/include' 'LDFLAGS= -L/usr/local/lib/gcc11 -fstack-protector-strong -L/usr/local/lib '' Configured features: ACL CAIRO FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM GTK3 ZLIB On Sat, 2022-04-23 at 16:06, Lars Ingebrigtsen wrote: > Joseph Mingrone writes: >> Here is the simplest example I can come up with that causes the problem. >> ;; substitute x-get-selection-value for 24.x >> (run-at-time nil 2 (gui-get-primary-selection)) >> (menu-set-font) > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > Skimming this bug report, there were different cases for reproduction, > but I tried this one (well actually > (run-at-time nil 2 (lambda () (gui-get-primary-selection))) > (menu-set-font) > , since that's valid code), and I couldn't reproduce the lock up. > Are you still seeing this problem in recent Emacs versions? From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 24 20:51:16 2022 Received: (at 22214) by debbugs.gnu.org; 25 Apr 2022 00:51:16 +0000 Received: from localhost ([127.0.0.1]:60397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nimwe-0002zN-7W for submit@debbugs.gnu.org; Sun, 24 Apr 2022 20:51:16 -0400 Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]:38656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nimwc-0002z8-KM for 22214@debbugs.gnu.org; Sun, 24 Apr 2022 20:51:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1650847868; bh=6uIr5baR1SKT6KSlVqxD/KqsoUw5le2xHyy9kWH6ZYM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Yl9QZP8APOPQpCtDW0szqFNORQSknOL+6Y9zurB7/T32mIZH4JIMY6nFQnzq7ou148bUiVxaDwSZvuyGjW3KjzzK6+83OO01/Go8Ii5vpr4X6tZ9wIbL3VXvGFhWjhcmqowR+6HS1SEil66RJ08ebMffF4z73KVOcfVXCcCC9VGksUWmIgTVIb4hw9wARMHiYEDfUefDgNPxvcaqxGrPPquQMxJAwEUlWrQZXunuYH/Y+pzv9af/JGzBB+GgFRNMNldU/uZoYWJWC7/pO+2R7ynhf53vJiBXLEFr/v0ZSpwnKmq2xdmoXSFQVp+VKB36+8sCgTE5VVv2U4tT4NCUAg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1650847868; bh=jkXy0IRghCFj9gvwkLvn6qtYgm4A17dvnVik8MNgJeb=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=VwnAFUPtyrLhY9lc9Fjj6SnJrEpcYa5BfaPmmc5wfLv8L/ks8AS879IY6bFDok3fVYGi6MAkPo2dXfjw7ClhZ6T9MIvkQcWcFeZ6Hp4XhcSLnL8I3PQQ+vC8b5r78Odg6ZsgFBiZ33OsWGAp/GPj3SaxBky138b/o0Gv2KFBWrKRRo52CUJvVVMkhvP/jPQxH6eHES3GCeHMGXgb7Omq33oLqib3/+IrRyzX+RfOROkzn4zT5jcfL69ngpPb1p8VNKwH3RRS0OesOoBPXOB4h4TSkQM6dPcLVryCkHxB3fTF+N/4BrFeRk7DWzScCJD8I6TcHliK61xVX77vhRLg0g== X-YMail-OSG: _bvumdcVM1kFX36TyHw2Y_fi9Il5Un63UpHQvKhIc5zd1QpFEkAbwozv4RVLxkZ e7sXVHMs_ffFId2qIEOsg1dyJWvJmOCuflB8daruMakT8mkBxoeJDOF003MhVgoO8RnXmdI_xw62 Xv9OUBcL4tqZkfCndwysKg.CNHT.h_BMWF5KJQCrZSkLJ28IogeJBb6lHD2q1MrJVcnNydtJc.DW swc3UlMnHqELFdrd96JnXmjRNPE4I6MUjOoDrSWlgrdnrBESEQ75Z4xqNLkRJCVqo1Xm961pcR.s FQ4PkGcIlIN87IeBlRvsBqoPjLydSg.TJz2pZ_9LNZOJxzK3aKc9P9ATA_8eqKzHcvsUBHsnFD6l DUazRx1.jyghRlQ0xDivgUBNkuXUfpjlav3D_wj0NUx2IAfhlY2FlNvqPAosaWM83PfiiXVoHvFt rHONAFVByrwfLOyJzpmnrTVa6k_.HFtO59qVc1A02gU_nUG1DF8BeR34ezxsfC9KPqg0QPY3a9ho 6E1S5a5b6_hKlHqzWlQBcSGjz448tk_wPKtbyCRilBz8Bl4yfBoaG5w8bt3tS7uV6ffG9Jyms0xI .TOKmBTMDj1PDU0UsVtaMXoaAxRrLI7fpzDZMVpUrV9LSGxL_rXyHW2VS4X8payQWe1Lz3u6S0Aa ZUqiY.z2XigEVwvf7mmk_EQR66arbwYZ010SH14qRqOs8nw4D5sT3l1ZR1EZK_6GuRQsTmGvNGTy otNQk8zdZRthukRlL3OHdFPI1I9OwfWYheTrfQvayZDhhk1YAMaqp5EEc6Rj973tS9yHZS0B3FzF NB_hQwAIVcGAo265x7yxQ72wpSFjASOUhaZI7etQlLtNBg6lPD8IYpK9zy4OSS29i888ufB9mQUz ImZf0saC4M0atxif3BSvncL2do6df.NKq7mayvGGwwHrKC07AgAcV0rtLRjlgm6giKeQFltK2eIu 0u8lS8n7Y9p5qgZdqoDYscrO24kyTl6Rx6RYore8t5HRmRhQX00KZBVHEqp37YBdR0KStE_ISFSU CjTXLF92OrgxZrqQ.SlgeoHf4BMoH.RWG7wEUPOoIBCZOBJG_4DpNMjwakhUF8VmewwQuq7vTA5B Y.f.DBL3cZFKiZknHVc1IPKZZgEqPg5BRbI6FhSKpgAEzXljk3sjsxOVKnJSikdxF2p.ezj3y_MM 7c5t0GVJNwGcrsG.u__DCCPr4ZpQ630HChykHIOoe_ZLtasc7k3Jr6XBT5BcoG0kSGQGGHQRHf.u UCU9HiAi2YEoTTtCni4rDTuqK.L9aC2HJPcPgVTqx6gfEYnI6.T0KW1QLkv3t7udeeqXV75dyX0e qnAnJK8hJUkKag6JWNZ9HGs7L87EcKExr4csKw97nKy0.jLWNYD7nN2mlxYyLerKhgXc7MzeLlGM drOdpbDHY0JA2qsaH00PFldRQ1EQNuzzwsS1vSXWFEVQnvQJPdMRDtoRQj0hlq2ODetf79L3DJTc Jpc4AFfF7pYyp.56S_HOW1QOJlnr211PzIoWNN322sTCPjiGsrOa6TmZQA9U_G73GlIhMmqpepji NSY9Qr2iSoqmvDSSGqICRq5qR23tyZTYB7VucjKuGjY3hUzarV1ZElALIy1lWiFSO4yt1xjR5jES aFF1ZaCg3a7mkFbiATd0DGGYv7gYyr3TfUCX13mbWNY_nmm434CmgH6YXz9p5gOubUj9AhcPoBRn JyUqkCMCtkQL.dw3zObV2MSTGWRkjnNqsuTMw5KKbWQ0PdisgYMdw9PBslUsytAzLW9CMPgnUYl2 r8BtA5m1ch5Snp.we70XH_fVOD_rpYax0_TmYh0HC4WOIT1cxErA9sb1Y4o4swlW0eL.08e1yMhh LOrUZqrzfsHE_nxez77Pw_lQo1RgUJaJp_Y9e4zIpsiFoRfQTdNtBxcIjNEON_8RIJ0FSkvVwNK9 NwL0goiU1FZHfb90v.sK9QJtteS.dxEhWZ6_DTatx9YH.ohM_adi8ZuhxiKciZHX._rqxdvQIMII 2g6WXgRDx.nEQLyTQIGy9sO0r4iSkydcfG6Xfe.6OPl4Fty80cuAzLT6YUPiaAP0DxTWhKKZgh.r 6ONBAdUdRA3sCVxJ8.KTzHPI7ywoxdODZY7HOjFrRf8wMd1j1rx6n6VzlJvvhRIAl.hs2Ech66ce jG5bJHEAc87oQlL4gXQvB5kOaKdZ8avZJj4NpoK7cqesvGGZjeOWfG0CZM5.4tNvQzKXUZZypWL8 JodjPM4d0dO8j97OY5I7EL0S6ZuT9oQZql9g7gNuBf2E6PCzMXZyd_a7h1cJK X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Mon, 25 Apr 2022 00:51:08 +0000 Received: by hermes--canary-production-sg3-6589f79784-lthw6 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e89322d49580cfb629fa4f3795b9598c; Mon, 25 Apr 2022 00:51:04 +0000 (UTC) From: Po Lu To: Joseph Mingrone Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> <861tacamk1.fsf@phe.ftfl.ca> <878rrvsxky.fsf@gnus.org> <86v8uyd38g.fsf@phe.ftfl.ca> Date: Mon, 25 Apr 2022 08:50:59 +0800 In-Reply-To: <86v8uyd38g.fsf@phe.ftfl.ca> (Joseph Mingrone's message of "Sun, 24 Apr 2022 10:23:43 -0300") Message-ID: <87tuai6l58.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20118 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1279 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22214 Cc: Lars Ingebrigtsen , Eli Zaretskii , 22214@debbugs.gnu.org, Brian Burns 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 (-) Joseph Mingrone writes: > I stopped using clipmon shortly after this bug was reported, but I just > cloned the repository and ran > > % emacs -Q > (load "/path/to/clipmon/clipmon.el") > (run-at-time nil 2 (lambda () (gui-get-primary-selection))) > (menu-set-font) > > When I dismissed the dialog box, sometimes things were fine, but other > times, Emacs started to use 100% CPU and would not respond to input. > Now I am able to kill the run-away emacs process and regain control of > the system. Below is information about my current installation. Does this fix the problem? diff --git a/src/xselect.c b/src/xselect.c index 6d167c0b6f..eb297e9cba 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -1255,7 +1255,9 @@ x_get_foreign_selection (Lisp_Object selection_symbol, Lisp_Object target_type, int nsecs = (timeout % 1000) * 1000000; TRACE1 (" Start waiting %"PRIdMAX" secs for SelectionNotify", secs); wait_reading_process_output (secs, nsecs, 0, false, - reading_selection_reply, NULL, 0); + /* Don't run any timers, since this + code isn't reentrant. */ + reading_selection_reply, NULL, -1); TRACE1 (" Got event = %d", !NILP (XCAR (reading_selection_reply))); if (NILP (XCAR (reading_selection_reply))) From debbugs-submit-bounces@debbugs.gnu.org Mon May 23 04:02:45 2022 Received: (at 22214) by debbugs.gnu.org; 23 May 2022 08:02:45 +0000 Received: from localhost ([127.0.0.1]:47209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nt31Z-00055X-87 for submit@debbugs.gnu.org; Mon, 23 May 2022 04:02:45 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nt31U-00055C-40 for 22214@debbugs.gnu.org; Mon, 23 May 2022 04:02:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=k8AWohmV/kX+OCO0aT6PLpDVsDie7UFhCrjkEMOpuoM=; b=ErlT3MH18S5ZBe2t9NBUKFLkdE oVq1Rf2XhqtTcBUTmmSfXKUogAIkfZ6Wi+F+mPzsfOnnpxWRbLjO2ZTjjSYV/ZgmuUTqs95BHx9g/ pvKW8VxYg7Z1/pJEEIUJq0vOthsSaP1m4yd5WrmJjWCPIXwwbFvffwzvkOpg1w4dBoIU=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nt31K-00081C-V0; Mon, 23 May 2022 10:02:33 +0200 From: Lars Ingebrigtsen To: Po Lu Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> <861tacamk1.fsf@phe.ftfl.ca> <878rrvsxky.fsf@gnus.org> <86v8uyd38g.fsf@phe.ftfl.ca> <87tuai6l58.fsf@yahoo.com> X-Now-Playing: Cabaret Voltaire's _Shadow Of Fear_: "Universal Energy" Date: Mon, 23 May 2022 10:02:30 +0200 In-Reply-To: <87tuai6l58.fsf@yahoo.com> (Po Lu's message of "Mon, 25 Apr 2022 08:50:59 +0800") Message-ID: <877d6cr815.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Po Lu writes: > Joseph Mingrone writes: > >> I stopped using clipmon shortly after this bug was reported, but I just >> cloned the repository and ran >> >> % emacs -Q >> (load "/path/to/clipmon/clipmo [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 22214 Cc: Joseph Mingrone , Eli Zaretskii , 22214@debbugs.gnu.org, Brian Burns 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 (---) Po Lu writes: > Joseph Mingrone writes: > >> I stopped using clipmon shortly after this bug was reported, but I just >> cloned the repository and ran >> >> % emacs -Q >> (load "/path/to/clipmon/clipmon.el") >> (run-at-time nil 2 (lambda () (gui-get-primary-selection))) >> (menu-set-font) >> >> When I dismissed the dialog box, sometimes things were fine, but other >> times, Emacs started to use 100% CPU and would not respond to input. >> Now I am able to kill the run-away emacs process and regain control of >> the system. Below is information about my current installation. > > Does this fix the problem? Joseph, did you have a chance to try Po's patch? > > diff --git a/src/xselect.c b/src/xselect.c > index 6d167c0b6f..eb297e9cba 100644 > --- a/src/xselect.c > +++ b/src/xselect.c > @@ -1255,7 +1255,9 @@ x_get_foreign_selection (Lisp_Object > selection_symbol, Lisp_Object target_type, > int nsecs = (timeout % 1000) * 1000000; > TRACE1 (" Start waiting %"PRIdMAX" secs for SelectionNotify", secs); > wait_reading_process_output (secs, nsecs, 0, false, > - reading_selection_reply, NULL, 0); > + /* Don't run any timers, since this > + code isn't reentrant. */ > + reading_selection_reply, NULL, -1); > TRACE1 (" Got event = %d", !NILP (XCAR (reading_selection_reply))); > > if (NILP (XCAR (reading_selection_reply))) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon May 23 15:02:56 2022 Received: (at 22214) by debbugs.gnu.org; 23 May 2022 19:02:56 +0000 Received: from localhost ([127.0.0.1]:50219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntDKS-0000Fm-19 for submit@debbugs.gnu.org; Mon, 23 May 2022 15:02:56 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:38834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntDKP-0000FU-Nu for 22214@debbugs.gnu.org; Mon, 23 May 2022 15:02:54 -0400 Received: by mail-qt1-f173.google.com with SMTP id g21so4770743qtg.5 for <22214@debbugs.gnu.org>; Mon, 23 May 2022 12:02:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=EKkeqQnAhtu8tALmne3swzaF0CD0prje7AfEcKPvdEU=; b=Hy2IlhFF8daQPOmdzOBNNXmRxnyC3n68MvfXvbaosBcAETOYlZkfVtWVbj0KKfm+g8 5tn72fSNEPMwrtfi0Uzdwq5LZkfPtH2En0/rmttQrrc5w4gH8vwXxHxJ9/OqjFPN0kN5 gGBW61usQb8hxOqmf0KL+RuOVy30frHXz1dOM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=EKkeqQnAhtu8tALmne3swzaF0CD0prje7AfEcKPvdEU=; b=YmKhnPlENLg4XkOkIOVLZhFbja+fekebQ4mRR2Z3r3lCCBjGA5ooy90nLwXp7OOq0K 5fSJjb/vW8fSn8Wo7KVZTjNeOu/GFRPnCwKD9TPI5CiPmdR2yah/eH/YZzjGWcGeUOH9 vsNx1U0ctBuOvyDiTaak3bFB5KGEZU7VV56cLgLACepeI4FEvoQPXugRQqRa/+rMHnpt hrBKnjsPbvY0WskgvwJJBu/saeuRsZRZgNcO4gwrpk6sstWPDOoq+yMl2SOMQxDHgWMe GlO16R4NRYjx3TNKkG9+rpPjA73d8XXKvVNZ46e1wLywkPYOKjSXOjKAmIysNVBateMW NDHg== X-Gm-Message-State: AOAM5332KgFeAfYT79N4No8OskwUs5MVu8S46b/H3WEsNfN+3XgLSonC 01B3xLt+YPN8VMxCvR/7jnqaKg== X-Google-Smtp-Source: ABdhPJy+as7TZjNMD6bwF2wjh8UXj6pBDiE1G4F3Gyg2Vk03pnM7JuFfc9ngLmYfRijee9EsSL2RKQ== X-Received: by 2002:a05:622a:188e:b0:2f3:dc9f:946 with SMTP id v14-20020a05622a188e00b002f3dc9f0946mr17648214qtc.682.1653332567879; Mon, 23 May 2022 12:02:47 -0700 (PDT) Received: from phe.ftfl.ca.ftfl.ca (drmons0544w-156-34-173-250.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.173.250]) by smtp.gmail.com with ESMTPSA id a16-20020a05620a125000b006a37503afb9sm3527657qkl.67.2022.05.23.12.02.45 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 May 2022 12:02:46 -0700 (PDT) From: Joseph Mingrone To: Lars Ingebrigtsen Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> <861tacamk1.fsf@phe.ftfl.ca> <878rrvsxky.fsf@gnus.org> <86v8uyd38g.fsf@phe.ftfl.ca> <87tuai6l58.fsf@yahoo.com> <877d6cr815.fsf@gnus.org> Date: Mon, 23 May 2022 16:02:44 -0300 In-Reply-To: <877d6cr815.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 23 May 2022 10:02:30 +0200") Message-ID: <86zgj8rs17.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22214 Cc: Po Lu , Eli Zaretskii , 22214@debbugs.gnu.org, Brian Burns 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 (-) On Mon, 2022-05-23 at 10:02, Lars Ingebrigtsen wrote: > Po Lu writes: >> Joseph Mingrone writes: >>> I stopped using clipmon shortly after this bug was reported, but I just >>> cloned the repository and ran >>> % emacs -Q >>> (load "/path/to/clipmon/clipmon.el") >>> (run-at-time nil 2 (lambda () (gui-get-primary-selection))) >>> (menu-set-font) >>> When I dismissed the dialog box, sometimes things were fine, but other >>> times, Emacs started to use 100% CPU and would not respond to input. >>> Now I am able to kill the run-away emacs process and regain control of >>> the system. Below is information about my current installation. >> Does this fix the problem? > Joseph, did you have a chance to try Po's patch? >> diff --git a/src/xselect.c b/src/xselect.c >> index 6d167c0b6f..eb297e9cba 100644 >> --- a/src/xselect.c >> +++ b/src/xselect.c >> @@ -1255,7 +1255,9 @@ x_get_foreign_selection (Lisp_Object >> selection_symbol, Lisp_Object target_type, >> int nsecs = (timeout % 1000) * 1000000; >> TRACE1 (" Start waiting %"PRIdMAX" secs for SelectionNotify", secs); >> wait_reading_process_output (secs, nsecs, 0, false, >> - reading_selection_reply, NULL, 0); >> + /* Don't run any timers, since this >> + code isn't reentrant. */ >> + reading_selection_reply, NULL, -1); >> TRACE1 (" Got event = %d", !NILP (XCAR (reading_selection_reply))); >> if (NILP (XCAR (reading_selection_reply))) Hello all, Sorry for the delay. I lost track of this thread. I just rebuilt 5a1a67a with the patch applied. Using the same recipe as above, when I tried to dismiss the dialog box emacs became unresponsive and stared using 100% CPU. I had to use xkill. Joe From debbugs-submit-bounces@debbugs.gnu.org Mon May 23 20:27:40 2022 Received: (at 22214) by debbugs.gnu.org; 24 May 2022 00:27:40 +0000 Received: from localhost ([127.0.0.1]:50449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntIOi-0000C1-IH for submit@debbugs.gnu.org; Mon, 23 May 2022 20:27:40 -0400 Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]:44141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntIOg-0000Bo-Ub for 22214@debbugs.gnu.org; Mon, 23 May 2022 20:27:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653352053; bh=x5I15qyQz7fQb+uoaiC33+DrUIUczovklS+Uu9a2DVw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=avz1FaAkroRpj44LAOzbTwbqbbzd9rj15DNaz7hkRK5iKCOrzZTWu9sNdMR6pqOOr/265LtC8RBdA9Sv1rBo6zQ3DS2LMRrOFYkxKWDxrn84nZCBHVVSI1QrJOya2O1C8awPup9hPPOC7A/0TIvx/dNI3vdshp8kS1L3rbMtSgezNbqUN7sZ3meYHLSoEvzn1gF5V6CFX8eqcTnw4BeQAH8brBEL59r9p9BZfjBRrhLFX6Dzahk7Evm+yNgKjQn6E/Ll3O4vZhf1cdD4jkPSP96CSo7+40OQt+kz9/B/zRsEXWCgBO7IYuXoi3aFLhHhdf2JvCMjZY9IkSe1X3QOKw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653352053; bh=NtIy+wOc3dNGznNmn9D8/6/R7ZT2Z/8EOz08m/5/9AN=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=a2iDMCHlWxhJvpmcATvSonV7y91zdr/1yPeFPwPCUVRNCiX+mFSTXPw7vFwkGO/jSZJhx19gmKB+fBpiG7Cw2FY6c4/ChmWaDY20YYY3LdgYOS7xNj84cY8hmriYXGdXC0T0nEjDQWi4sc0l64fbR/JyWitocQ2uyIDV5Bmn1ks8bx1TLYrHwjNXRRlknGnhtoffvQlpcGFnY6PKTpASMz4ee66qZqOxk0S90nOm9W/9rBP6n1sGOoiLw3/EPUqaWVVU0Wk50zw0JSO2UGsGReQWGZlWkZmL90XgCKYbTMd8kM7Utk/0jw7eOpdshHpGf3/VTovemVr/CtLRDTsBRg== X-YMail-OSG: jr.DWKEVM1lIyoR_eHcVprA5fYJnrP5PZyK14NCKy2NOx98r3FRqUJaL5pYrIJh SK4yuCXX6tmVSIX2pb1TaoMoBWTLTp7Bm6q6fbQ9aULAvd_yv1.yProW6QXEnzxJdTmRFAL6hKzB 7L_okKk2zqw8KA8H318QE4XoUOqFAKtvQhttqryED_.0D8GEOrXEtWAA_2CPhvPtb6Da_SXiZorH OKxY.YkFt50iPSn3FSWLKUzWIhoUpStzUN.ZIbuYKpNUEb3EUjV7YWiZdGVSWNAqvjUK7C93FuG4 J7pEJHkvvsU1lsyCUzBOoN38MyPoxReDHdffB98QP_6eYRQ14SkL5ryIXMmviqC_SohSbWReZACw aevqLlnBbeAeF7HqchbEkScQvLdTjc7etWufEcQTyqKo4hkPPfq7_A8QzEnNttcZHqnfAiGAw_Gi VG7g3gXbBgdqo0bWU0zOaf_n92UvzowSOMAU_EVVLIG.F0PE8XxRjHwl1gL7dnIty7Ri3BFvU03_ zzwFlRX90xt8HCKSM6Wg7FNq6liCD5jTf7VjeNdhsxgEsFeP3RV4Dbr9iNITj_4NxcuAlUvUqkOc mI10B.v5l.Cjz1rEpHjOUMAUrhOCldMzYGzILIzOz0RmRGxcNerxMkLelhHvCaKs4fhYyBf7rTZa t3E2SZnM7PVrJfu6jnMVeE8HH9mSQc3riZksDMb00sUpYNmwUc2DdiUla9GoEcsdKBC8ZwamXNi_ 7RxldadZuI7nbW.xIDq3OlhK9ZyRJv5lMG0MZLviURKoItoDH26XSIWE1s9t7TxdDmX4ueva9sd9 zCnjIC3V7Y6EX1JdxOhiDTfOPBTtSDx3HUvYRUnTVyXWmWJSNDmYEjh16I5hIVxOGPuzYoGuW6tw 2.2AiquvzV2DL7kOU6aj6mgPNAz6hcGNxGf9ZNQ86k1KG5ySF91SaGdP3f7dS5U.zv3XYOoVnu1W hiP2dXs3g55sf0otSlXoY6Wg6vAAMInJWpGY5NXFYoqN5PBmfcsVZf4UtQTvhJpQyWhX21t.t19w r2YHyXcmgPMxsR2je4fgu9uNb5YtR_5.P4cn45epd2xtZ7hPe3a2lUZXXDQaI2XVQlMfElwwugkY FJP3sGHwa2c9mXdW50eXnwiRBwUm8LW_yQLo5jDyVJtp5RTaqgGNMAxCQCZ8i6IQ2.Vcm7.YMLMu K4AeaDb4vEFF_VIjTjETjHh0ma7W0IG6kUIfGAGaPgJqr8nBOP8g9lMKyFUjS.4fHkEOb_oZsQuO UgrH8Sdp6wHPAGxqQJTy9QUJa6LR2ikiPf_QTj_y9CvFZoEiH_3VJoIGkp6Gs8E6ws3NL_iFuvRf jO0kpC7gciLddj3DAqyzP1_JUiTAGvGfqsGdoC8VvNNXBkKyUxjQVDB0lJWoxFtQ3Axa2jr7ndP4 cqn1d_CyiZmtuRt6HLb.YBvEQsz5wazAQjIl9F86cSwDcnI1vIXJG52nLvf5P4pr9J1U9Y1ENBn5 sXnMTR_iBOYzhOi5yNCrKXjm0ZNcPxlKixuYkZ1xkw3INlqRtpsEGf60uLCrpg6ZFfVLc89AERdE oE3p_gP_JWXJ_vZC7yWlQKW.Vxs2KZ3yo49FbWr_jbljlcT946P71ymY2gEWF7nNAlD.fBDYXfOU lqjV_S8i.sdCO5L7N6_yLrZRLT0H.mMt4mNj_7jMvr3xpxszXWmANLl99oekcf4ew4C5K4dH6hpS Jp6Wc0evyDP89.fQTMRw8Vdx0pJ8W5hcAGmlgIBEOzqr4c2d0FIkBp04EgzBr0yxLTt0a1yjHof. vPHbHCurUmY7hqcZ.nfVzIiHVaQigHusFUb0naaRQSqXgxt._DiNNOB5b5daEf0YORi9D.BFNZoP ijlzDVOJtH94f1AiQYKgxRVnMT.eEMkT80q6ZMA0i7oHGKpXdoxuEw9hztGamFhP7qrR7RX18kxV qY00CfOSIRHy1ldCtV2X48tLPWp6VzuoadbB6i1IvQp9njqdSYHXEdRJeNWnMzjYlCwm.gyvSSbw h8rf.PLzyHOyqqnrlr0urwrr4TIbIwbd21xJZtuOnLqyQeDygm2h7RBr1IpccSwi39LhcOyQXARP e1wt7sS6aMhh8JTmL3cgKr9UtIKeA6F0do99KggE0lf.3kELyAaqKyh44KrryGLMHMUpm_24Txk0 AUit5f2xFoBMXRrI92j6IdidDgFadOeEzmCPttkJHsqmz_QrBGLMpyIrvNgtxMpzaxdY5T4mJr1S ew.pGEUVxoU8jtSBQTLauI4n9mLt_ZBg87KJ7VCruKp_x400c9SC4y9KjOeBD4A-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Tue, 24 May 2022 00:27:33 +0000 Received: by hermes--canary-production-sg3-7959d4d9bd-56w7m (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d02fe1e91ad5d7dd1af87454ce874474; Tue, 24 May 2022 00:27:24 +0000 (UTC) From: Po Lu To: Joseph Mingrone Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> <861tacamk1.fsf@phe.ftfl.ca> <878rrvsxky.fsf@gnus.org> <86v8uyd38g.fsf@phe.ftfl.ca> <87tuai6l58.fsf@yahoo.com> <877d6cr815.fsf@gnus.org> <86zgj8rs17.fsf@phe.ftfl.ca> Date: Tue, 24 May 2022 08:27:20 +0800 In-Reply-To: <86zgj8rs17.fsf@phe.ftfl.ca> (Joseph Mingrone's message of "Mon, 23 May 2022 16:02:44 -0300") Message-ID: <87v8tvlqqf.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20225 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 353 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22214 Cc: 22214@debbugs.gnu.org, Lars Ingebrigtsen , Eli Zaretskii , Brian Burns 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 (-) Joseph Mingrone writes: > Sorry for the delay. I lost track of this thread. > > I just rebuilt 5a1a67a with the patch applied. Using the same recipe as > above, when I tried to dismiss the dialog box emacs became unresponsive > and stared using 100% CPU. I had to use xkill. Could you attach a debugger to Emacs and show a backtrace? From debbugs-submit-bounces@debbugs.gnu.org Sun May 29 11:52:05 2022 Received: (at 22214) by debbugs.gnu.org; 29 May 2022 15:52:05 +0000 Received: from localhost ([127.0.0.1]:41637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvLD2-0005Pd-9z for submit@debbugs.gnu.org; Sun, 29 May 2022 11:52:05 -0400 Received: from mail-qk1-f174.google.com ([209.85.222.174]:43591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvLCy-0005P8-R0 for 22214@debbugs.gnu.org; Sun, 29 May 2022 11:52:02 -0400 Received: by mail-qk1-f174.google.com with SMTP id r84so9010179qke.10 for <22214@debbugs.gnu.org>; Sun, 29 May 2022 08:52:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=lPjjbAtsBgeCnD7SewInVKiCwQKcPd6+tSqVD1nMtKc=; b=ReoKPYyniqDLGaEwOQMaXEhM9pmquQ4wiUUwgdRoII5Vd7IFDuNind5tSkfWcswYM5 yTf+XY/WhMguVcctDe7n0DYH85YL0XSdQJ5GsVhZ2Zv4VGQumeLeRU27c2sD6ntFT4zq UB1mC4pQRDuNusFivL/H3pUF7ai/8c7STPtxw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=lPjjbAtsBgeCnD7SewInVKiCwQKcPd6+tSqVD1nMtKc=; b=FkrpQPeGeys1U/mW4bYnbnSAEoFB5sqhXn+NshsUiKFpi3k0cpUEk35MFPdWWo+CcW 6CvkBFZS6H/balBk8eq4QuXYsidu5NAN88LyN3+OX0QJbgjnHV3OJ0JLBJcK8D86pwBK PQadsVojuYJRYAQbRDAFxLjW8rkkZZspwipfYkfySAC6qkEqAgej2wzwfdEnRTPIeeQd VdGNb07Q0NdHU7MXVwdv9P6SkwoWHMLnuF61HTg8IbaDh/S7AFnMc6glNKsGR7cqzUdf V0K5t2HHLlr12UG7fGZdvgm8bJNwGChafBu3dpmosyW1Q8D8dKQ4lPq0AyaHSMnHJ8Kt f0sA== X-Gm-Message-State: AOAM533Q6x8o352l14vBz0/0Qu8nmI0u4tW02f3cKZfHg1Z06Y2UUly8 Nlsp8z5z00LOgbPE4YsUP5nG5Q== X-Google-Smtp-Source: ABdhPJy/0/UYKdPfkkUKM6Ta1nnzvx6dkc9v2Kmt7kVOt96QxNbJi12+xqIxEkJuKZ7WOb4IEbpcCg== X-Received: by 2002:a05:620a:4553:b0:6a0:5280:defd with SMTP id u19-20020a05620a455300b006a05280defdmr34371610qkp.165.1653839515094; Sun, 29 May 2022 08:51:55 -0700 (PDT) Received: from phe.ftfl.ca.ftfl.ca (drmons0544w-156-34-173-250.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.173.250]) by smtp.gmail.com with ESMTPSA id i20-20020a379f14000000b0069fc13ce1f9sm6369457qke.42.2022.05.29.08.51.52 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 May 2022 08:51:53 -0700 (PDT) From: Joseph Mingrone To: Po Lu Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> <861tacamk1.fsf@phe.ftfl.ca> <878rrvsxky.fsf@gnus.org> <86v8uyd38g.fsf@phe.ftfl.ca> <87tuai6l58.fsf@yahoo.com> <877d6cr815.fsf@gnus.org> <86zgj8rs17.fsf@phe.ftfl.ca> <87v8tvlqqf.fsf@yahoo.com> Date: Sun, 29 May 2022 12:51:51 -0300 In-Reply-To: <87v8tvlqqf.fsf@yahoo.com> (Po Lu's message of "Tue, 24 May 2022 08:27:20 +0800") Message-ID: <868rqk1gmg.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22214 Cc: 22214@debbugs.gnu.org, Lars Ingebrigtsen , Eli Zaretskii , Brian Burns 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 (-) On Tue, 2022-05-24 at 08:27, Po Lu wrote: > Could you attach a debugger to Emacs and show a backtrace? Here is /a/ backtrace. Is it helpful? Joe jrm@phe /usr/src/etc [main|=E2=9C=94] % gdb -x ~/scm/nm/emacs.git/src/.gdbi= nit /usr/local/bin/emacs GNU gdb (GDB) 12.1 [GDB v12.1 for FreeBSD] Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd14.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/local/bin/emacs... Warning: /usr/src/etc/../lwlib: 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 te= rminal] DISPLAY =3D :0.0 TERM =3D screen-256color Breakpoint 1 at 0x48ab8e: file emacs.c, line 421. Breakpoint 2 at 0x4451c4: file xterm.c, line 21297. (gdb) r -Q Starting program: /usr/local/bin/emacs -Q warning: Could not load shared library symbols for [vdso]. Do you need "set solib-search-path" or "set sysroot"? [This is where I ran the recipe describe earlier in the thread.] [New LWP 185279 of process 68421] [New LWP 185280 of process 68421] [New LWP 185281 of process 68421] [New LWP 185282 of process 68421] [LWP 185282 of process 68421 exited] [New LWP 185283 of process 68421] [New LWP 185284 of process 68421] [LWP 185283 of process 68421 exited] [New LWP 185285 of process 68421] [New LWP 185286 of process 68421] [LWP 185284 of process 68421 exited] [LWP 185285 of process 68421 exited] [LWP 185286 of process 68421 exited] [LWP 185281 of process 68421 exited] [New LWP 185314 of process 68421] [New LWP 185315 of process 68421] [LWP 185314 of process 68421 exited] [New LWP 185317 of process 68421] [New LWP 185318 of process 68421] [LWP 185315 of process 68421 exited] [LWP 185317 of process 68421 exited] [LWP 185318 of process 68421 exited] [New LWP 185319 of process 68421] [New LWP 185320 of process 68421] [LWP 185319 of process 68421 exited] [New LWP 185321 of process 68421] [New LWP 185322 of process 68421] [LWP 185321 of process 68421 exited] [LWP 185320 of process 68421 exited] [LWP 185322 of process 68421 exited] [New LWP 185323 of process 68421] [New LWP 185324 of process 68421] [LWP 185323 of process 68421 exited] [New LWP 185325 of process 68421] [New LWP 185326 of process 68421] [LWP 185324 of process 68421 exited] [LWP 185325 of process 68421 exited] [LWP 185326 of process 68421 exited] [New LWP 185327 of process 68421] [New LWP 185328 of process 68421] [LWP 185327 of process 68421 exited] [New LWP 185329 of process 68421] [New LWP 185330 of process 68421] [LWP 185329 of process 68421 exited] [LWP 185328 of process 68421 exited] [New LWP 185331 of process 68421] [New LWP 185332 of process 68421] [LWP 185331 of process 68421 exited] [LWP 185330 of process 68421 exited] [New LWP 185333 of process 68421] [New LWP 185334 of process 68421] [LWP 185333 of process 68421 exited] [LWP 185332 of process 68421 exited] [New LWP 185335 of process 68421] [New LWP 185336 of process 68421] [LWP 185335 of process 68421 exited] [New LWP 185337 of process 68421] [LWP 185334 of process 68421 exited] [New LWP 185338 of process 68421] [LWP 185336 of process 68421 exited] [LWP 185337 of process 68421 exited] [LWP 185338 of process 68421 exited] [New LWP 185339 of process 68421] [New LWP 185340 of process 68421] [LWP 185339 of process 68421 exited] [New LWP 185341 of process 68421] [New LWP 185342 of process 68421] [LWP 185340 of process 68421 exited] [LWP 185341 of process 68421 exited] [New LWP 185343 of process 68421] [New LWP 185344 of process 68421] [LWP 185343 of process 68421 exited] [New LWP 185345 of process 68421] [LWP 185342 of process 68421 exited] [New LWP 185346 of process 68421] [LWP 185344 of process 68421 exited] [LWP 185345 of process 68421 exited] [New LWP 185347 of process 68421] [New LWP 185348 of process 68421] [LWP 185346 of process 68421 exited] [LWP 185347 of process 68421 exited] [New LWP 185349 of process 68421] [New LWP 185350 of process 68421] [LWP 185348 of process 68421 exited] [LWP 185349 of process 68421 exited] [New LWP 185351 of process 68421] [New LWP 185352 of process 68421] [LWP 185350 of process 68421 exited] [LWP 185351 of process 68421 exited] [LWP 185352 of process 68421 exited] [ Here is where I tried to close the font selection menu, but could not interact with that window. I xkilled the window and this also closed the main emacs frame.] Thread 1 received signal SIGTERM, Terminated. Sent by kill() from pid 68852 and user 1001. _sigprocmask () at _sigprocmask.S:4 4 PSEUDO(sigprocmask) [The gdb prompt didn't return and an emacs process remained running in the background using 100% CPU. I sent that process a SIGQUIT.] (gdb) bt #0 _sigprocmask () at _sigprocmask.S:4 #1 0x0000000802b7b18e in __thr_sigprocmask (how=3D1, set=3D= , oset=3D) at /usr/src/lib/libthr/thread/thr_sig.c:656 #2 _thr_sigmask (how=3D1, set=3D, oset=3D0x7fffffff98e8) at= /usr/src/lib/libthr/thread/thr_sig.c:666 #3 0x000000000065b4fe in block_atimers (oldset=3D0x7fffffff98e8) at atimer= .c:77 #4 0x000000000065bc2b in do_pending_atimers () at atimer.c:456 #5 0x000000000049e666 in process_pending_signals () at keyboard.c:7546 #6 0x00000000005983cc in probably_quit () at eval.c:1630 #7 0x00000000006321af in maybe_quit () at ./../lwlib/../src/lisp.h:3666 #8 0x00000000006350f0 in wait_reading_process_output (time_limit=3D5, nsec= s=3D0, read_kbd=3D0, do_display=3Dfalse, wait_for_cell=3DXIL(0x806d2e1bb), = wait_proc=3D0x0, just_wait_proc=3D0) at process.c:5234 #9 0x000000000046eb74 in x_get_foreign_selection (selection_symbol=3DXIL(0= x2370), target_type=3DXIL(0x24f0), time_stamp=3DXIL(0), frame=3DXIL(0x813b1= 44cd)) at xselect.c:1259 #10 0x000000000046e25a in Fx_get_selection_internal (selection_symbol=3DXIL= (0x2370), target_type=3DXIL(0x24f0), time_stamp=3DXIL(0), terminal=3DXIL(0)= ) at xselect.c:2074 #11 0x000000000059f875 in funcall_subr (subr=3D0xa239a8 , numargs=3D4, args=3D0x812f1f7d8) at eval.c:2961 #12 0x000000000060fe32 in exec_byte_code (fun=3DXIL(0x80672c165), args_temp= late=3D1026, nargs=3D2, args=3D0x7fffffffad98) at bytecode.c:809 #13 0x00000000005a32a7 in fetch_and_exec_byte_code (fun=3DXIL(0x80672c165),= args_template=3D1026, nargs=3D2, args=3D0x7fffffffad88) at eval.c:3004 #14 0x000000000059fc11 in funcall_lambda (fun=3DXIL(0x80672c165), nargs=3D2= , arg_vector=3D0x7fffffffad88) at eval.c:3076 #15 0x000000000059f547 in funcall_general (fun=3DXIL(0x80672c165), numargs= =3D2, args=3D0x7fffffffad88) at eval.c:2867 #16 0x0000000000596d54 in Ffuncall (nargs=3D3, args=3D0x7fffffffad80) at ev= al.c:2917 #17 0x000000000059ea8e in Fapply (nargs=3D2, args=3D0x812f1f738) at eval.c:= 2588 #18 0x000000000059f9cb in funcall_subr (subr=3D0xa2f240 , numargs= =3D2, args=3D0x812f1f738) at eval.c:2982 #19 0x000000000060fe32 in exec_byte_code (fun=3DXIL(0x80672bfe5), args_temp= late=3D128, nargs=3D2, args=3D0x7fffffffba28) at bytecode.c:809 #20 0x00000000005a32a7 in fetch_and_exec_byte_code (fun=3DXIL(0x80672bfe5),= args_template=3D128, nargs=3D2, args=3D0x7fffffffba28) at eval.c:3004 #21 0x000000000059fc11 in funcall_lambda (fun=3DXIL(0x80672bfe5), nargs=3D2= , arg_vector=3D0x7fffffffba28) at eval.c:3076 #22 0x000000000059f547 in funcall_general (fun=3DXIL(0x80672bfe5), numargs= =3D2, args=3D0x7fffffffba28) at eval.c:2867 #23 0x0000000000596d54 in Ffuncall (nargs=3D3, args=3D0x7fffffffba20) at ev= al.c:2917 #24 0x000000080efe0a49 in F6775692d6765742d73656c656374696f6e_gui_get_selec= tion_0 () at /usr/local/libexec/emacs/29.0.50/amd64-portbld-freebsd14.0/../= ../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-1944ab15/preloaded/se= lect-784d9bb7-95975f21.eln #25 0x000000000059f819 in funcall_subr (subr=3D0x806728b18, numargs=3D2, ar= gs=3D0x7fffffffbc40) at eval.c:2957 #26 0x000000000059f4f5 in funcall_general (fun=3DXIL(0x806728b1d), numargs= =3D2, args=3D0x7fffffffbc40) at eval.c:2863 #27 0x0000000000596d54 in Ffuncall (nargs=3D3, args=3D0x7fffffffbc38) at ev= al.c:2917 #28 0x000000080efe050a in F6775692d2d73656c656374696f6e2d76616c75652d696e74= 65726e616c_gui__selection_value_internal_0 () at /usr/local/libexec/emacs/29.0.50/amd64-portbld-freebsd14.0/../../../= ../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-1944ab15/preloaded/select-7= 84d9bb7-95975f21.eln #29 0x000000000059f7f7 in funcall_subr (subr=3D0x8067334b8, numargs=3D1, ar= gs=3D0x7fffffffbe28) at eval.c:2955 #30 0x000000000059f4f5 in funcall_general (fun=3DXIL(0x8067334bd), numargs= =3D1, args=3D0x7fffffffbe28) at eval.c:2863 #31 0x0000000000596d54 in Ffuncall (nargs=3D2, args=3D0x7fffffffbe20) at ev= al.c:2917 #32 0x000000080efe08c1 in F6775692d6765742d7072696d6172792d73656c656374696f= 6e_gui_get_primary_selection_0 () at /usr/local/libexec/emacs/29.0.50/amd64= -portbld-freebsd14.0/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.= 50-1944ab15/preloaded/select-784d9bb7-95975f21.eln #33 0x0000000000592dae in eval_sub (form=3DXIL(0x813cdc543)) at eval.c:2417 #34 0x00000000005935ab in Fprogn (body=3DXIL(0)) at eval.c:451 #35 0x00000000005a0016 in funcall_lambda (fun=3DXIL(0x813cdc713), nargs=3D0= , arg_vector=3D0x7fffffffc4a8) at eval.c:3156 #36 0x000000000059f647 in funcall_general (fun=3DXIL(0x813cdc723), numargs= =3D0, args=3D0x7fffffffc4a8) at eval.c:2879 #37 0x0000000000596d54 in Ffuncall (nargs=3D1, args=3D0x7fffffffc4a0) at ev= al.c:2917 #38 0x000000000059b73b in Fapply (nargs=3D2, args=3D0x7fffffffc4a0) at eval= .c:2541 #39 0x000000000059f9cb in funcall_subr (subr=3D0xa2f240 , numargs= =3D2, args=3D0x7fffffffc4a0) at eval.c:2982 #40 0x000000000059f4f5 in funcall_general (fun=3DXIL(0xa2f245), numargs=3D2= , args=3D0x7fffffffc4a0) at eval.c:2863 #41 0x0000000000596d54 in Ffuncall (nargs=3D3, args=3D0x7fffffffc498) at ev= al.c:2917 #42 0x000000080ab29c27 in F74696d65722d6576656e742d68616e646c6572_timer_eve= nt_handler_0 () at /usr/local/libexec/emacs/29.0.50/amd64-portbld-freebsd14= .0/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-1944ab15/preloa= ded/timer-3ee7cfd9-76499eee.eln #43 0x000000000059f7f7 in funcall_subr (subr=3D0x806f05a70, numargs=3D1, ar= gs=3D0x7fffffffc6b0) at eval.c:2955 #44 0x000000000059f4f5 in funcall_general (fun=3DXIL(0x806f05a75), numargs= =3D1, args=3D0x7fffffffc6b0) at eval.c:2863 #45 0x0000000000596d54 in Ffuncall (nargs=3D2, args=3D0x7fffffffc6a8) at ev= al.c:2917 #46 0x0000000000495089 in call1 (fn=3DXIL(0xeb50), arg1=3DXIL(0x813a66d3d))= at ./../lwlib/../src/lisp.h:3228 #47 0x000000000049c5a2 in timer_check_2 (timers=3DXIL(0x8153908b3), idle_ti= mers=3DXIL(0)) at keyboard.c:4612 #48 0x000000000049bde9 in timer_check () at keyboard.c:4678 #49 0x0000000000487059 in xg_maybe_add_timer (data=3D0x7fffffffca98) at gtk= util.c:2434 #50 0x00000008018d79d4 in () at /usr/local/lib/libglib-2.0.so.0 #51 0x00000008018dbbb4 in g_main_context_dispatch () at /usr/local/lib/libg= lib-2.0.so.0 #52 0x00000008018dbf44 in () at /usr/local/lib/libglib-2.0.so.0 #53 0x00000008018dc2aa in g_main_loop_run () at /usr/local/lib/libglib-2.0.= so.0 #54 0x000000000047ff08 in xg_dialog_run (f=3D0x813b144c8, w=3D0x813a20440) = at gtkutil.c:2482 #55 0x000000000048010c in xg_get_font (f=3D0x813b144c8, default_name=3D0x81= 3e31fa0 "monospace 10") at gtkutil.c:2885 #56 0x0000000000465db0 in Fx_select_font (frame=3DXIL(0), ignored=3DXIL(0))= at xfns.c:9068 #57 0x000000080fa434fc in F6d656e752d7365742d666f6e74_menu_set_font_0 () at= /usr/local/libexec/emacs/29.0.50/amd64-portbld-freebsd14.0/../../../../bin= /../lib/emacs/29.0.50/native-lisp/29.0.50-1944ab15/preloaded/menu-bar-4f46e= a94-fe1b0a07.eln #58 0x0000000000592dae in eval_sub (form=3DXIL(0x8153911a3)) at eval.c:2417 #59 0x00000000005935ab in Fprogn (body=3DXIL(0)) at eval.c:451 #60 0x0000000000591585 in eval_sub (form=3DXIL(0x8153911c3)) at eval.c:2373 #61 0x0000000000599cf6 in Feval (form=3DXIL(0x8153911c3), lexical=3DXIL(0x3= 0)) at eval.c:2278 #62 0x000000080b59b735 in F656c6973702d2d6576616c2d6c6173742d73657870_elisp= __eval_last_sexp_0 () at /usr/local/libexec/emacs/29.0.50/amd64-portbld-fre= ebsd14.0/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-1944ab15/= preloaded/elisp-mode-90dbfe40-b5ded1c4.eln #63 0x000000000059f7f7 in funcall_subr (subr=3D0x806c0ff68, numargs=3D1, ar= gs=3D0x7fffffffd318) at eval.c:2955 #64 0x000000000059f4f5 in funcall_general (fun=3DXIL(0x806c0ff6d), numargs= =3D1, args=3D0x7fffffffd318) at eval.c:2863 #65 0x0000000000596d54 in Ffuncall (nargs=3D2, args=3D0x7fffffffd310) at ev= al.c:2917 #66 0x000000080b59bc27 in F6576616c2d6c6173742d73657870_eval_last_sexp_0 ()= at /usr/local/libexec/emacs/29.0.50/amd64-portbld-freebsd14.0/../../../../= bin/../lib/emacs/29.0.50/native-lisp/29.0.50-1944ab15/preloaded/elisp-mode-= 90dbfe40-b5ded1c4.eln #67 0x000000000059f7f7 in funcall_subr (subr=3D0x806938050, numargs=3D1, ar= gs=3D0x7fffffffd6c0) at eval.c:2955 #68 0x000000000059f4f5 in funcall_general (fun=3DXIL(0x806938055), numargs= =3D1, args=3D0x7fffffffd6c0) at eval.c:2863 #69 0x0000000000596d54 in Ffuncall (nargs=3D2, args=3D0x7fffffffd6b8) at ev= al.c:2917 #70 0x000000000058c3cf in Ffuncall_interactively (nargs=3D2, args=3D0x7ffff= fffd6b8) at callint.c:260 #71 0x000000000059f9cb in funcall_subr (subr=3D0xa2e740 , numargs=3D2, args=3D0x7fffffffd6b8) at eval.c:2982 #72 0x000000000059f4f5 in funcall_general (fun=3DXIL(0xa2e745), numargs=3D2= , args=3D0x7fffffffd6b8) at eval.c:2863 #73 0x0000000000596d54 in Ffuncall (nargs=3D3, args=3D0x7fffffffd6b0) at ev= al.c:2917 #74 0x000000000058eb72 in Fcall_interactively (function=3DXIL(0x805e899d0),= record_flag=3DXIL(0), keys=3DXIL(0x806efd4cd)) at callint.c:798 #75 0x00000008093bb9ff in F636f6d6d616e642d65786563757465_command_execute_0= () at /usr/local/libexec/emacs/29.0.50/amd64-portbld-freebsd14.0/../../../= ../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-1944ab15/preloaded/simple-f= ab5b0cf-723c10c1.eln #76 0x000000000059f875 in funcall_subr (subr=3D0x8067453e8, numargs=3D1, ar= gs=3D0x7fffffffdff0) at eval.c:2961 #77 0x000000000059f4f5 in funcall_general (fun=3DXIL(0x8067453ed), numargs= =3D1, args=3D0x7fffffffdff0) at eval.c:2863 #78 0x0000000000596d54 in Ffuncall (nargs=3D2, args=3D0x7fffffffdfe8) at ev= al.c:2917 #79 0x0000000000495089 in call1 (fn=3DXIL(0x4440), arg1=3DXIL(0x805e899d0))= at ./../lwlib/../src/lisp.h:3228 #80 0x000000000049133e in command_loop_1 () at keyboard.c:1512 #81 0x0000000000597e52 in internal_condition_case (bfun=3D0x4909a0 , handlers=3DXIL(0x90), hfun=3D0x491b70 ) at eval.c:1452 #82 0x0000000000490969 in command_loop_2 (handlers=3DXIL(0x90)) at keyboard= .c:1140 #83 0x0000000000597403 in internal_catch (tag=3DXIL(0xee50), func=3D0x49094= 0 , arg=3DXIL(0x90)) at eval.c:1182 #84 0x000000000048fd06 in command_loop () at keyboard.c:1118 #85 0x000000000048fb0e in recursive_edit_1 () at keyboard.c:727 #86 0x000000000049009d in Frecursive_edit () at keyboard.c:810 #87 0x000000000048cc00 in main (argc=3D2, argv=3D0x7fffffffe6d0) at emacs.c= :2488 Thread 1 received signal SIGTERM, Terminated. Sent by kill() from pid 71434 and user 0. backtrace_top () at eval.c:163 163 eval.c: No such file or directory. The program being debugged was signaled while in a function called from GDB. GDB remains in the frame where the signal was received. To change this behavior use "set unwindonsignal on". Evaluation of the expression containing the function (backtrace_top) will be abandoned. When the function is done executing, GDB will silently stop. (gdb) From debbugs-submit-bounces@debbugs.gnu.org Sun May 29 19:58:59 2022 Received: (at 22214) by debbugs.gnu.org; 29 May 2022 23:58:59 +0000 Received: from localhost ([127.0.0.1]:42175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvSoF-0004UK-Eh for submit@debbugs.gnu.org; Sun, 29 May 2022 19:58:59 -0400 Received: from sonic308-10.consmr.mail.ne1.yahoo.com ([66.163.187.33]:34638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvSoC-0004U6-SC for 22214@debbugs.gnu.org; Sun, 29 May 2022 19:58:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653868731; bh=vxEHAVaiXiPteGyaK8LRUkmzx6OlvCgl9Uf/xvoDnT4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=CzqtDDpi4gb1dlRm5kiiFImVNl47TRmCSAUE2/p/Kzkip+Fi13EbnoOIXudiunxQoDNlJEEvXxmYfmiKPJ9gF7r/FiolD38ByVHpkgUvrVwus6KGVubCpFtdBD5bCjXlloEEKqUhdG6XZGW8BLZQh+ugjVOmBvKK+RSRWwXqtlgoDKwGpS/P5Bet36sWu1FR0caeLPUAAgvSpifwCE2hV5vo9QDSTVzve1/DMFDZlneADU6N0D/Ntk9O9KM/VaxRrz+AIu4cQx3CeqjdkVBCg/Y4DerO2q8CacvkpPlq/d9ox5q2GQz9r5t4fRFtmZY8v7Erhtn//N0p7Sc3hhwO2g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653868731; bh=1w/OUvbFV0VMcU+ok1mBsYKlQNxFsXT5s0jW9AsU91X=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Q4ayRpIVytqFqwlCCjELoUgTZniUjp2BicLOC7CoOHbm83js5ZGhEJo0+Ml5RCtKxSxLK2apVA0WQjI7/OYSRQr5HZeqiik63I8vtkwpOOIUBPpqKscdLYprHHmelCiDK5bS3e/192iRhxYgpYfPht4ffLznLlRaxTi7VEWZhmq4uGyJEDpjABgWVsWPsBZZG2M9bEwOJA9RWdPq056MMfuLqXtUYowIl3m7qKJbKx2PrqVbBLLt/sIguoehE/IXHAzVPb/eKYEbboKxqdczMwMrpe4G1eskd1s113X23besKC2zML7fhVsLgtePCUmHkv5Yo5ExpCyuGwdXxMhcVQ== X-YMail-OSG: EWm746UVM1lDqUvv1waueLip8qqP1mxe6DUCOD0NtWlef.4xlEZ.UHM_uB1AD2G x7l6zB9BIFbFSitSy5kuNxraDNCz6CzO02bVqsMETqbW2s.jcjiovYDqHpIhgjIA5kwtvW_DhSWg X7iRHRnE97ro8RuEnhS2dxa5d4SvkhxGQSjEcm1NTwHt08jOjXmwMis1M5qqbIylSx6XdtX8NT3f Bx0wq9RyPlZGQsC5fJrSQgm6FmsX4CE0K3GAI0isex10nMnN3_XL1ECfPg1dxfWAnUSC30jOgna1 6hS3JdzEKGaMz6vSIPSdfjYGIHRgP1.CEVfNxi9opOU91vPTkiIaJ_5V.Fad5KiyI6Wzc_10R70w tNEwu1b06nE2xolvYUZFMILinpHX4yZtt7iawxCTalBkMucnCxa0AIFgn95.DgD1AJg6AURHuWXw Uj4j5I5m5stegr1Wbn432moO.9FYjR6ZtMbKVPGjlsA9MOALFcOQaXp6l3GK2pLeAzca5nxqnlxa 1cL9BBXyUgeAT9Lu3M93NhjAOVRgZTHJeXcwRB.s.pQAuGMB9F.J0Btdry.kig_021wX2kgnH5fh yl1iuqntw_LQofLDUg2yxykTISsH4Zmyn3pf7hZIX5qMZglIN3DuNZgnFYKqRPpggc6GqNJtVIAl 11tjVcrXBUzobJ_78Pf_eHT3wrN_EFxi9Tn6dsqSnpXb5faBw_UlgEh0WujRw2pL4bTOryGgIBEs iQ8ckSVGwHSoj1EgG3mVA5qFGaY4K8HAWIABHztJWS7NQtheJnZg.eCJew5Ip8WJkF9Jq0QZdhtG RTTYRqKrjpS5qXabgN_QL4aBfAeBzcb0xf7vNzeijhxJQaT3b7uPO9QajVl2kKXyk7DBH0SPaz6F cOvirasbDqe5nRRpfjlQC7QtbP631clhI9spzQ_GY8A7tswZ_HLoYkA_9VE1AFLhQujV3gf5wE3X F4Q1cVrqN02j0UUQ62hZIXCTfywGsb1BtsXsMIRj5jJQpx89bkTl_.MXgOP39itFWFOxz_Djlf3Q FTrh_.HviXvFiRrcVDJNKMJQbVdDlnJDOYCJ2rwvvNeB26pyoJluC3Ibgk_IsTdi5iDUYgbuIe8T wbnu_UKi8lvW48O76xCoox.bhB2eeqIKSz_kuHrPsx7Cv6l0kLwGmHOdYJ_NL__dBt3Twu56m0WO 1geS0IHCxzJ7Um2NoTGkVV16b9nsfhTIcRS2p_JCs7ELOtSIsPUZ1T1aHPIWd5VBtCRdh276Xqgs 0TK1.mNJPwKv6UHd6xU15PNd3N96puk9vWUeAG1Pz0S34VEFBgBHh9VBfI2gAbkd1f9d.WAiUE6b uz0_oNvnbdrYx1PoDP1X1_85qTI2zk8VDo7OmfZc2OfI19pcsSXY___reBPwbppSxgCnUuBMta_d J3cBRFJIiusOnFymbwjaiWOp6.FVeE_.yMliuBlyaWz9YkSEKzcOSPL9hlCiVOIeuxnEm75Z8GaE _hX0TibH3dp8VmcuSm2owChNGMPKMW0B_HV27G5ymRMxPETMvjSkRYOvNgxNuuBUZh3LeoZf.9gH 4vk.cUgMK6uW5GT5Je1qgjMGe_OJ4Nkc.9SzS9Oh3qEouz2SSTGzc1WpjO70GwcsmSQOlr4M6dnA 3Ha6I2Yclvxob1RCO7H5LLEgTp.Mgr.1nvz.ePlZxPmMd3kWYvsSAuVPwql2FNHyNNjJuFR1yQBo TCVbL7FFXE3UE0nHGhBa48IUhdzXEXCKRnFCeDhUNG_lO_GwXYaYE8.qGaHXkwtIoxckFLgNccSB xpUkboXlzimgpxpytqAx8gVz8jLxj7fs9_XVlzVuu1bHnwN7kJOan8wkrxTDpibIuI8hYvA2HXLJ RYXq2r3AJkquclEiPbErqxfW7EH3EoNd33ue3yWSqKOGFYEYgCFMQKhp7SxjpullON974RMM4tIt PASGbBawkCUTXFyOcaU2j1E_OmG_.MOys4oOzJXD0jy4y7Bvyp12bnEjakHhnWtEx2tbEWMU2m.h jrK4H61NKyj3YTplxLEWZhuV8Fn3uLt9nxWJVUZbsF3gwrl.Q3vfjFEDXs2pF_NM41eZcYRfD_GH vCvjkM4lzhHEGYcjIt6B1p5qSZMn.gq3LaxXnggJfg7jzqCYRxb_QlS6vCJV3yLym_rswQnX5vmG s4D8GYqeicQXcEtgfe_h6Y4e7vc2VZX2.SFMKUIZmxKCE_SKxKxD4G21jHiJawlDDFZdiiPtnFAb 9R39ThzK3271B83U9sv.8.3UzSV8FDmQ2r7.WRyQRIHN61SuYZjROUXDJzm5o1pjQ X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Sun, 29 May 2022 23:58:51 +0000 Received: by hermes--canary-production-sg3-5f7658c994-m7v88 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f09ccb96c6610c8bac381e13bec0d94f; Sun, 29 May 2022 23:58:48 +0000 (UTC) From: Po Lu To: Joseph Mingrone Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> <861tacamk1.fsf@phe.ftfl.ca> <878rrvsxky.fsf@gnus.org> <86v8uyd38g.fsf@phe.ftfl.ca> <87tuai6l58.fsf@yahoo.com> <877d6cr815.fsf@gnus.org> <86zgj8rs17.fsf@phe.ftfl.ca> <87v8tvlqqf.fsf@yahoo.com> <868rqk1gmg.fsf@phe.ftfl.ca> Date: Mon, 30 May 2022 07:58:44 +0800 In-Reply-To: <868rqk1gmg.fsf@phe.ftfl.ca> (Joseph Mingrone's message of "Sun, 29 May 2022 12:51:51 -0300") Message-ID: <878rqjdh6z.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20225 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 492 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22214 Cc: 22214@debbugs.gnu.org, Lars Ingebrigtsen , Eli Zaretskii , Brian Burns 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 (-) Joseph Mingrone writes: > (gdb) bt > #0 _sigprocmask () at _sigprocmask.S:4 > #1 0x0000000802b7b18e in __thr_sigprocmask (how=1, set=, oset=) at /usr/src/lib/libthr/thread/thr_sig.c:656 > #2 _thr_sigmask (how=1, set=, oset=0x7fffffff98e8) at /usr/src/lib/libthr/thread/thr_sig.c:666 > #3 0x000000000065b4fe in block_atimers (oldset=0x7fffffff98e8) at atimer.c:77 Thanks. Could you show the value of `interrupt_input_blocked'? From debbugs-submit-bounces@debbugs.gnu.org Mon May 30 02:05:31 2022 Received: (at 22214) by debbugs.gnu.org; 30 May 2022 06:05:31 +0000 Received: from localhost ([127.0.0.1]:42527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvYWx-0005Nv-5R for submit@debbugs.gnu.org; Mon, 30 May 2022 02:05:31 -0400 Received: from sonic311-25.consmr.mail.ne1.yahoo.com ([66.163.188.206]:45504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvYWv-0005Nh-B0 for 22214@debbugs.gnu.org; Mon, 30 May 2022 02:05:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653890723; bh=GnCyJyWBIi3wy9aqtGrt78X5Z4oUO2gdtilBJm7D/sM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=aUxKSO/u3/4LJjR+q00T2HTKHV2mHCtDGqTe1wCAU0GKcwsK3DKMfh/ZoLK22LIKbMrY2JF+QPp+ByI8pMmM35vsBZT2c9w2LQSrASCLvawclkClwcyr950piG0yAWP4alRl2Y+dAX7tyRsk/jVJ8hxn7NiflYRSGL2YKP0WgPpXpMGaaer8xCsNjPnqKlqBee226FfJF3mDEaqJ431LjYoBUwRvhIi3SXlVP2KW0ZT/iXvSRa3yT3t3gG4Pi6Jv48AkPvF4yqheYFSbcxpyguE7N4QaR8Nyakfw1pUQANRqajqJbs/ztUf1ar3scbAUE0hHjov/oC5tRMkJCx7UAw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653890723; bh=Vsm0AyCxU+4qLNBuy1YTPMOKjMMZlIOzhP/sgmhfsHE=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=aZEMm0bQSgRLIpzFNwSe+VpByDu3JJ8Rze4IXzxuJPWRZUDGENwR8G3tXxz8lGhEyMX3Miu5QG/YG/GfA2KZA0D/pEdJJCk0kO2aUpZkNfG1ReOnk4qCq3pRGhn7BugLDvKnHGxv1NVc11QCLr49SGTexvyP/m/4LOlzh7dLFRmEVNFLSgEF6N74q6Tl4HTO/C4MIKoDMhPGxnRhUc3Byh8lUEN3UngADCnzD6HjoA6m3RrKpv39tU0yRNgS5L8ksE/rj2o3mepJ7FPlBem9sUFSPWN47T3cSRqq11ogAMTnlnzKo0K6XzTCjyjPiExD0fleh2lopnpjztvFwSesag== X-YMail-OSG: QTWDJBMVM1krQPOZNrpZzihPFTmoPG4zBSFGTBrUkJ3WXTBhsLqBKm9ACPir1s5 W79sCHbzeAi7jxu76OndYRjPheOw0GIRXQv3ATQfcIy.daXv5e59.BSfTVNv1kyJX7Fhw3H0JSUI 7_1HUPVRHZ7ILbrSm2gDBkDoIA9h0Gcm_dZj3xTEmusWRCoU0eeHiRuD2PnOTI92MJ4MQaeVQGQf yJuLwVtJ_CkEYMNs75BkG2YdYRf6F2d8jwgzXUFgRsukYD2XGADWCX92bpTn4sFP2UH9MWhzdV6j FsSwEf0GuADh6rkwaFrg8wUPPd7WRTwVT.jb.3E.ta6MCDnlQU1aX4IRi_XxZWy8Gq0Az1mxKd09 HxHWMiu1e0F8cgG8nJMhPTQylhb9yEtu_8dPcmw_bxq0zt8qAxP.CSUxyhsNHO2c8ldxowbiTd93 5r2zVt5qR7b9HIii9l27oT0.euGyPSoM64TjdHgNv92bYQer_wNK7l11lxKrmUN1aazFEstW8x66 8YJ5pj7reVlbpWmtbgt5EhQcaCWXirIjt_D7SpZou37fqeWFYpPTEJstxWrfi.R17avTUR_UCiKO pGZgj4SrkUWpBHKAfIha3mPXpz1B6Mb53etqcHbn0svx6Y5Sbaq0arzst_xK5pJLyuOGTFvTlxUx qt3PQKqNUvwstjSBbvI6tIc0flJELE7OvEB.LdAf170dX38W1HqD3mqXSk8f_N6yYmZ.bFfAxZVx xkbKK_p86AD_L2c.CzS0DpE9yZlTs.Ebo3zsTF9g2yeWsOzkcOApyT678qtbdk56GZy75w4pe50l _AsT41xV528W374nMY2i0NhCulo7YesqejEknEqLwL2cHVjyULj6eG0qB7AzqO6qGSriCYswnhwn KMC5FPy9.qpORR0rAt91qEZkqARY9lLzDtaqNof9ftOtFh5hxJbJ9UkmIhrkZDQ0eEdxXrnzpVbi UdWTUCfeOPZ96Y9kLzLMdUnmxJMp3.7GffUG_gJj2gYq4AH564aT1_RD3J7q1hancLJ.OfiBLdcv EGYtF.L.8xPDRTZVNzsmCSAMLqv0.YO8iCX3jb4dpvhS3iZ9pNY14pfnBKAUY1M8BmDnXUWHN5Hd z._NdD7Mo3Z0zRlrej0vebu5mr3u8k4jSBFOoQNpl1c7YuDk6Q9BhfzxA9HrC2EWMn6LLUKp.AGx oJtJdObMRi6N9BssRFntRM2JH5fy_SO7Wc6WAeM0ceVg5yTDbPKbs5yKvKLhxepSdLaf3ze0aEE3 klLbTztmadxHMo2JGPGUIcVxYw0aHyhfcF0OEtA_Qs2o6s0rhduFteK9y0ynYrZohL.sqE2xxAd0 Du1j5hF6CpUppIeOO2gtXSt5EJc8V9dnA_Xyti2f7VJUFeMCvuQUDhghFRIXzSOqJCC969LpgMYS vwLfJCfqoRaRW69NfPrT6y8VvzPQQdu.feduOzZWweOuMRw7UdJUKpHE74ps8x3OMDobE3JxK0nR iQGYq60CJY2bTns8r__X9ctZg2hG7FwVAvSOOKKgX.gE_vgHqqN1HpPV9ECJjw97cO5UZXLYlWav Yn4XXaLyHHMvj1KfqgYjO37oXz.3zvSZ1Fq6zbuAg0ke.AbPbds4nZ7D6YmBytDYQ_GAU377sMr7 iBGMpdemf2fQo8Pn3_xG6NYB00Dw7EyVcrq8Pf1gET7pHeSHOpvjOUGxIjfWVUCqlxYhSwHDhTNF o9eqg_Qmj9dOVVaU6ApGU3hbpaN3uHDB8J6m6g.MhqQHUZRUoexwOJrwMLSGXaVZlh47rO27Z..X TeXq.nqTjZcfgLZJkXFhrsjnQh5MT.7E7pVt5z370ycWbS3xUdgxdSpPGcIQazXt29FVCQb3VEDD jYwLsbJPY_NRBlrOt8Sr30EpjzLKMKESRDyX4G5SK6gOe30e5ubugRpgvraCJ.JFI5M0E0tyf4Mm HvgZEp720wF_0RO0xVQ4yNziqYBqNX6Vfh6ncuRza_b8HaNQHdYxpKoRcnFFkuqPR3EOhDNDlAmG pQ6BJxZq8z7zjXSC.XYNOxbzDOOvOq9f0DPzlDCN0mCRo.t9zJ_UVcevkfBkWGbuI3I24f4QREVF igRb8oP.TqjDgGt2W9c7Xc78cNldCqyx8MCXGJ6GyTAN85oUowE.5WCqWfX.Ac5UZ6f1SLX9IOok d_b71jaQ7QJ43bBtK7N5qMDaO41Q_n93Fej.dga.hzfi_apINhPOXoUzQ2urY6Bvhqh_hh9mAdES r7eT2.OPYhz78vjgrHerNPtWqco83E3ItwBaiejjyrjGhaXGwgJhmesxNlKcZ X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Mon, 30 May 2022 06:05:23 +0000 Received: by hermes--canary-production-sg3-5f7658c994-bv4wk (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e7f8cd48b6050b242283ae2239a0ad6a; Mon, 30 May 2022 06:05:17 +0000 (UTC) From: Po Lu To: Joseph Mingrone Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode In-Reply-To: <868rqk1gmg.fsf@phe.ftfl.ca> (Joseph Mingrone's message of "Sun, 29 May 2022 12:51:51 -0300") References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> <861tacamk1.fsf@phe.ftfl.ca> <878rrvsxky.fsf@gnus.org> <86v8uyd38g.fsf@phe.ftfl.ca> <87tuai6l58.fsf@yahoo.com> <877d6cr815.fsf@gnus.org> <86zgj8rs17.fsf@phe.ftfl.ca> <87v8tvlqqf.fsf@yahoo.com> <868rqk1gmg.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Date: Mon, 30 May 2022 14:05:12 +0800 Message-ID: <87sforblnr.fsf@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20225 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 283 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22214 Cc: 22214@debbugs.gnu.org, Lars Ingebrigtsen , Eli Zaretskii , Brian Burns 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 (-) Joseph Mingrone writes: > On Tue, 2022-05-24 at 08:27, Po Lu wrote: >> Could you attach a debugger to Emacs and show a backtrace? > > Here is /a/ backtrace. Is it helpful? Please ignore my earlier reply. This bug should be fixed now on master. From debbugs-submit-bounces@debbugs.gnu.org Mon May 30 09:00:20 2022 Received: (at 22214) by debbugs.gnu.org; 30 May 2022 13:00:20 +0000 Received: from localhost ([127.0.0.1]:43194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvf0O-0006WA-FP for submit@debbugs.gnu.org; Mon, 30 May 2022 09:00:20 -0400 Received: from mail-qt1-f169.google.com ([209.85.160.169]:37552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvf0J-0006Ug-Cc for 22214@debbugs.gnu.org; Mon, 30 May 2022 09:00:18 -0400 Received: by mail-qt1-f169.google.com with SMTP id y15so11453088qtx.4 for <22214@debbugs.gnu.org>; Mon, 30 May 2022 06:00:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=DtHHd1+RCfzBzN91Nnri72EVs4LJ/+lc+up54ESw9Z4=; b=Tpw2AjezZ86Lg01ijY1YxwPbiAhrTUX4cz319MS5mog0jE+OgQdZSxaGT5Ztz+DlWZ 7eUy2vaDImDnn7OARfljZr3Tf5Bl+L/KvyD6ElQPuLO+1czOva+e0OwbobElgk+ZCWU3 V4kA/4UADpyZLMdVjOcYtAECGU/CCf62uIle0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=DtHHd1+RCfzBzN91Nnri72EVs4LJ/+lc+up54ESw9Z4=; b=v3M/aAVBBt35JNZ9SeXEjf4GzpW1jVRA4vWTBm7WFHcQBra5vQebxgDXoNDtx1cJBK e9n/yiGeaUHDC+dbxY4Qt23TFnsw5PLGVElBCz0Qzfs8Pgz8MHfMqvNvmGku8R2xl0yw bBC1qcYOaRbQrcBlPMx7cLDH0hk8KvDH7iFWZaMk5+gxgRSjplQ7UAXSJGrg+m0HBfFQ PpzwXn2E/DZENINIqS9zV4UpCFrZAJ2X2C1fr9Lvd3i1810FVK2Rayhv/M60nY4Byna7 W+jUa50ngXb/Whe0jha7T0mLdKGPc1NDb5mtZeGu2e4r1gcJlDOpE8mjWQOE/FMn/Tfu 0fdQ== X-Gm-Message-State: AOAM530xhzHPz3JJpV1+cxnGFe44RfLvNOmuUiRTogsCmKc8tE9FYvnX h8/tiMXEXiARtNzVptlJcEXXMg== X-Google-Smtp-Source: ABdhPJxTNI/M+ew6WIj0RHXS+KYYG/3m4sh9KrGCbpXDsN2ktajlE0BAYBT6cGCzJrE2zz75xI4tKw== X-Received: by 2002:a05:622a:48c:b0:2f9:35bf:baa9 with SMTP id p12-20020a05622a048c00b002f935bfbaa9mr31146714qtx.384.1653915608241; Mon, 30 May 2022 06:00:08 -0700 (PDT) Received: from phe.ftfl.ca.ftfl.ca (drmons0544w-156-34-173-250.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.173.250]) by smtp.gmail.com with ESMTPSA id l18-20020a05622a051200b002f939be4868sm7487818qtx.19.2022.05.30.06.00.06 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 May 2022 06:00:07 -0700 (PDT) From: Joseph Mingrone To: Po Lu Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> <861tacamk1.fsf@phe.ftfl.ca> <878rrvsxky.fsf@gnus.org> <86v8uyd38g.fsf@phe.ftfl.ca> <87tuai6l58.fsf@yahoo.com> <877d6cr815.fsf@gnus.org> <86zgj8rs17.fsf@phe.ftfl.ca> <87v8tvlqqf.fsf@yahoo.com> <868rqk1gmg.fsf@phe.ftfl.ca> <87sforblnr.fsf@yahoo.com> Date: Mon, 30 May 2022 10:00:05 -0300 In-Reply-To: <87sforblnr.fsf@yahoo.com> (Po Lu's message of "Mon, 30 May 2022 14:05:12 +0800") Message-ID: <86r14buqei.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 22214 Cc: 22214@debbugs.gnu.org, Lars Ingebrigtsen , Eli Zaretskii , Brian Burns 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 (-) On Mon, 2022-05-30 at 14:05, Po Lu wrote: > Joseph Mingrone writes: >> On Tue, 2022-05-24 at 08:27, Po Lu wrote: >>> Could you attach a debugger to Emacs and show a backtrace? >> Here is /a/ backtrace. Is it helpful? > Please ignore my earlier reply. This bug should be fixed now on master. I just tested and it looks good here too. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon May 30 09:34:26 2022 Received: (at 22214-done) by debbugs.gnu.org; 30 May 2022 13:34:26 +0000 Received: from localhost ([127.0.0.1]:43406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvfXN-0007js-Nb for submit@debbugs.gnu.org; Mon, 30 May 2022 09:34:25 -0400 Received: from sonic307-56.consmr.mail.ne1.yahoo.com ([66.163.190.31]:35606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvfXK-0007jZ-Pd for 22214-done@debbugs.gnu.org; Mon, 30 May 2022 09:34:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653917657; bh=v9KsYN8Q1xdkjc2fYF3Hkm/cAAvOfi2luQra28IWjnM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=At7zhg49lT6cH14/qP/qxMDTZvnmWtWp6jWLKjGZDFdMlUMQSf2ziowyQUcMpp9yt+WslF4If6uTPKanz3Hg7j6BniE13Qa/cqcz1CPlSFRyf/YToXfTxAcFl5nxd+rRgpsK4sHaHoAtCcnmdYeksQNyPw82Ye+gnvdF/a2DcCKKBTCBfRq2QIQp2RXjq6V8y1SAs5V+o9eZt9jKu8lOavawmg7Qmm4lLkJPuUmyhEGhC/yBn99dHeRLUPwAi4qQpdY9xOSLuCqDoyRozO2k+m+2H3YEYwL4H9+O/wrwmiyNU+5SF3J871+jZexdUQIvS4njqI8piu682e6uE30WcQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653917657; bh=yfX70g7KjFdJ+7KDKYJW4tovj8iQ5rUL/ITrQ0O9RWB=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=KG5HrRDUqDWG/DMs5/+fphiQ863+oymedYr5vPqH8Uh8REo7otwkMOjrOy/L6ESm4dkwlq2+OytWNXexeQAXPOC07XNuALtcVm6YTaI9wrXCCivABY26YyxPGJvS7XDaei4Qzj/f070Yg5HWa6h0171A6akLZv/oLMXr7jXHoEwmYWi3OoTVqH0E5txbXSyihWQCLKbxRx3++Ci5CZlqWFu1YaeABOS8eO5JDvhzuVomY3Eg+LSUSmuSpEh9fWOinoE3NgsDj5NefmQieNBkzQaisr/gjjCQCYIODu0TlX+4dWmtIhHfjSVxaFADHsJ/kRVxpwXsx1zSlENKCFZfnw== X-YMail-OSG: ZnPfr9QVM1laOgB2NrESMW62szEQyK1CRXBkhFy05KPa47MJXgr8HhDHWq.K1AY 7kTfqB8r.3qoHyYzvtVq6A6r3FSU_6uj_d8h1FPZ3qYEy8VrdisQj6pfE3RW6yDL06YWcNTPGawB sz7GDG6xBvI6WdrQsROrWb5nPJNlehoDN6atE_5I8HUsPWX0GyfJf4KXMnYp.kYEu7nttIRXPWhq MP1DjeQMlO0COWIk69xzccfmQKQbQsI.6xiLfcbFvkSkgr2CYbkRxgKpzo9To0JenEOtxlBIX7ew 4APmUGfry.nnl6d1ruAi_GmKRj83Cp4Z8CLqGADuKk8IWKGRT58BrzGTMw_HJbUqQYeluz7JpkAy cXfSK9yTle1.1IITlWfsbt4eHtyTUA4.Sj3BYxXOOqmqFf0Pa4sV2Cb.usHnSC8HnVlVIo2G712a Wx09cyN1B3lIWKkBUG8J0t0tFpNxijI1naaSu04HcDfcNxhIG_HKfTMAbGyZd6PGAx2XrFq8KZzF XMmXOK32.wW.zCCDIjicQ_CPWPqL9hQF0auu.QbzHdPM5Z2WgF8QXReRab5b7p3Mga6A5EglGVSP pbHYNivL0f0mCO.X8r7lCQFp5vg4ZAeZOwtds0acFhHsbH7_ugHjRIEqwzvW7.s5YfE5LbJzYta2 KlnQSrxxa9OUIhmNmOiRno7iohDb_FjVwF2raMcN3dzg.IoIj.XXisYmPwzNxTGDBZwKqLa5XxNo F3q94it1eq24UaAdNnz8tsiJ6Q9fFyBuapaWL77Lu1dJujagp5GFaVdtzssdsCxd3AwQmWcQkEYP eMw40d4xm075yW36TwcrUYmoWoFXaJXObXSG1oeW139mprNM11_dU3pQ2lHX.embnJTsGJGeSOWz DamE_H6vPtmytSTd8ivV0UZNQufttzyG1AdKZ.Y8j3rWqKgplONMLNQANLDW5H6B2hgcFhnejbdn 16i.joVmgJ6gwtd3upfGrIOQiv4zRs3yTwDfDZBcrs2n4I.fP7SE9qjTTGTeVW1.5cGAV0iOrBBz djvyeHgfr38C8yaTYCVBckzgzFIPxioNLVO.0O78o94Xmn0_EShg8RIyU.khz_Cw772dYvCIZ3b3 MToeatehPZnuKrSkQJioFtsZkVhS9iQTK0ZGltTs6imTH9YblsZOfhh4D1tpRQ5184sCQ4IhMsgq mlZj5E9DhWux5EtOTbkeiAmDlX_vb4g5R34jQxrik0vnBXU9yXu7yZk3Tq.iQo28PMEgnMnOhXpJ PZYtZEXF4nIWIJ.Y.9xn9NLKVTsaBYBT0b5NZDU4cIOqsvhIBifHl0fdmWwae3Mg3GEfvG9j7cox AGzmcIy3lvmVu4w8PNtqQYGrcl1srj8uUO75jAdH7WbwQ.nz.xAwmkoFgSjt0bQIPuyK4fBqnYan e5uVB9xBN5StzCSz.INnLH.y17qR.SfRXIBYJ_LtjMv3.Ci1R6FdJo34Sede5aedM79F.BwC3Ett H5L0WVsoBklFbH53ZySwbiRjgO0Dsf.1LMg1wtdO263v1gD6z7CGKnlfgKTnCQPiC..PiTv6RHjt mzvdv8vcm9wrvJo1CXIEvagesrsNra5Z0uZuzj9Z5bmpfN_R6lHywXINerDj0eQ_pXUq2Hn4jOe1 syk9JNF2JEaZOVIIGK6oypnVVNhTuCmb2atocwyTzl7Xr7iM9V8oTURC_lc5YnPptt9qBOaWXVFY bZqcNwJ4pfVO6m2UuXUCBtf7zcxeT3k9UE9uMtTTd.tXGBVGukDsXb7NATa5jzj5heagaThUizgf rNBY5zPqXFYfUt1LChYCc822migVKcrQ5A2DPAAAujUrGE3iavqwnV5QRKLnTgw9nBCkuZAZuyYN MVzqlvFT7rJuYVQW1_KHhTpvMjwfu8l6_Sm4Bts0cXZ22L8gOP2Kc9g0WYRp2Q7iOh9_rofchoeC dPV1MTCqPav1DrdNxczdJdAMB7zFa8vJE7d5moDCJgfL8sNK1jyyZIs2ac2oL8AmgUeX8CU4LkKN 4K82I69UdgbsW7lvUJG.0YMPBGd4eU2LVgDJ2RyRr7FZU8v2tJLXtStI93HjDdM9dFiPzqLiMolq Y.7ssr25xMQ1wTXEn_XdgN71yDPPIndsKS_0Q7d_r3wvSSopWhdYkHPitIWpSfIderU9SSpWyMK_ NjBIjgrGba8AThV3o8iRe5UChdHwVUpnJuLOHEIk_90cLZTnI9g0_qYkroMBHYupGnXK6DF_bZgw 0azdpBMJE97xIsh.CJyBShHzVY7qovMRPi53TEsBieX3MwojYVWIWwk3W5w-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Mon, 30 May 2022 13:34:17 +0000 Received: by hermes--canary-production-sg3-5f7658c994-zbd6m (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 0f8d2940b39944bd9b4c4c8eb4c2b552; Mon, 30 May 2022 13:34:10 +0000 (UTC) From: Po Lu To: Joseph Mingrone Subject: Re: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode References: <83r3ifstzb.fsf@gnu.org> <86wps7dpn1.fsf@phe.ftfl.ca> <83lh8mqxhi.fsf@gnu.org> <86twn99k1q.fsf@phe.ftfl.ca> <83bn9hozre.fsf@gnu.org> <86mvt19gge.fsf@phe.ftfl.ca> <83y4clnhyg.fsf@gnu.org> <861tacamk1.fsf@phe.ftfl.ca> <878rrvsxky.fsf@gnus.org> <86v8uyd38g.fsf@phe.ftfl.ca> <87tuai6l58.fsf@yahoo.com> <877d6cr815.fsf@gnus.org> <86zgj8rs17.fsf@phe.ftfl.ca> <87v8tvlqqf.fsf@yahoo.com> <868rqk1gmg.fsf@phe.ftfl.ca> <87sforblnr.fsf@yahoo.com> <86r14buqei.fsf@phe.ftfl.ca> Date: Mon, 30 May 2022 21:34:01 +0800 In-Reply-To: <86r14buqei.fsf@phe.ftfl.ca> (Joseph Mingrone's message of "Mon, 30 May 2022 10:00:05 -0300") Message-ID: <87fskrb0vq.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20225 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 148 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22214-done Cc: 22214-done@debbugs.gnu.org, Lars Ingebrigtsen , Eli Zaretskii , Brian Burns 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 (-) Joseph Mingrone writes: > I just tested and it looks good here too. Thanks. Great, then I'm closing this bug. Thanks for testing. From unknown Sat Sep 06 05:21:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 28 Jun 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator