From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John Shahid Newsgroups: gmane.emacs.bugs Subject: bug#34260: 27.0.50; Emacs randomly hangs during redisplay Date: Wed, 30 Jan 2019 15:32:29 -0500 Message-ID: <87lg31khsy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="25048"; mail-complaints-to="usenet@blaine.gmane.org" To: 34260@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 30 21:33:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gowXq-0006Nb-LY for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jan 2019 21:33:14 +0100 Original-Received: from localhost ([127.0.0.1]:43772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gowXp-00075f-MX for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jan 2019 15:33:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gowXf-00075N-WA for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 15:33:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gowXe-0004j2-D8 for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 15:33:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52679) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gowXe-0004iy-9G for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 15:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gowXd-0005Xk-Vh for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 15:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: John Shahid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Jan 2019 20:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34260 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.154888037821297 (code B ref -1); Wed, 30 Jan 2019 20:33:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jan 2019 20:32:58 +0000 Original-Received: from localhost ([127.0.0.1]:51960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gowXX-0005XO-Nf for submit@debbugs.gnu.org; Wed, 30 Jan 2019 15:32:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gowXU-0005X9-Th for submit@debbugs.gnu.org; Wed, 30 Jan 2019 15:32:53 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:59795) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gowXP-0004cu-P1 for submit@debbugs.gnu.org; Wed, 30 Jan 2019 15:32:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gowXM-00074u-TC for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 15:32:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gowXK-0004Zq-Ud for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 15:32:44 -0500 Original-Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]:41610) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gowXI-0004XA-Df for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 15:32:41 -0500 Original-Received: by mail-qt1-x830.google.com with SMTP id l12so1052584qtf.8 for ; Wed, 30 Jan 2019 12:32:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=1FpBuNryNsHcXIAOI00HLGG3UkpbaUOlA0oVmT2zjpE=; b=HgsYlTWUGU+1g4FujfJxDkFvGZu544xayFwraPR8oTBv1mQuCqv4G7/iqhBXe0hTI8 ZioIHbOK1h8mc3G3Szm1S74iF4v0RMaBv9Ede8cO6IR7foUO4BQEruwzrQF4d8p9Ap5i uqUr1bShI6/xlIYoUvwt6zELIMNthUFq+VJkBIRTgNIBdC/DLldJ+VPLYLSGLSe+hnxx DUKN3ZZkmB6k64ITUM1kLsw2Rdqn97paVWpjnvt9BGWfGuKEcdpxrxzEEGSqTh/jBm6N n6HOwZzhgX/KMffwSa2Nuicw4ECZghOA129s4Bam4cQVxXkNxoPh2hVCakVslT/J9hOI Ktfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=1FpBuNryNsHcXIAOI00HLGG3UkpbaUOlA0oVmT2zjpE=; b=pz2B+AqVuwPpc3Mty7xxzMQd6YQBvgUgv7IaV5OILSG5cjz1HrGAxkW5ASJPo6XMfp Gfe4AWgrx+QwfztOUqwAt3SBd2LzCFf9k4Sgv3l+35xNo4etMlI40c0UelIV0ZPIvlp1 veMI8HuBOt4PjJeVIxvHV1RpOZVcYFEhW5Pk30m0samE/6zTV6zSTSu1kWECT1GXaMnt y7N2mUesP3K07NXcYhm2l00G67QCu9WjVJKM0sHoY+TcVGIcG1kK30zm0IEH6QtsE9eV 3PVWAE3QCsmLOnYRS5IvFIbPsLy0f4v9abMpvh//AdNkMLCWNBnqghRRAb50z6UtHbbQ rMBA== X-Gm-Message-State: AJcUukeZyj2mdeCg078y1O36SNBopHfvJpk5Adze2g7Xt60RVTQh4rlK SOsnLOR7xsXyc6nSrEMAVQpQ6EHE X-Google-Smtp-Source: ALg8bN7Se2IH1iMdyCVUe9DN/nk+q79AJ6xzndFZozSg4KPm6VU17RsVNqBms0L1LQyLjEocbF6P8Q== X-Received: by 2002:ac8:34b3:: with SMTP id w48mr32160458qtb.125.1548880355959; Wed, 30 Jan 2019 12:32:35 -0800 (PST) Original-Received: from amun (cpe-104-162-85-46.nyc.res.rr.com. [104.162.85.46]) by smtp.gmail.com with ESMTPSA id t123sm1767537qkc.6.2019.01.30.12.32.34 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Jan 2019 12:32:34 -0800 (PST) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:154904 Archived-At: I have updated to the latest master a while ago and since then my Emacs have been acting weird and becomes unusable. I tried to turn on debug-on-quit but I Emacs is always inside redisplay when I hit C-g. Almost always the stacktrace has somewhere a call to `message` which in turn calls `redisplay` and it just hangs and consumes 100% of the cpu. I tried to debug the proces using gdb and found out that Emacs is always inside `redisplay_internal' when I stop it using `kill -TSTP emacs'. Worth noting that this problem isn't predictable and is hard to reproduce. It also might be related to EXWM and commit `e567ac1495'. > 436c225f1b * Unbreak the macOS NS build > 957090b795 * Merge from origin/emacs-26 > |\ > c9f6f86814 | * Prevent redrawing if frame is garbaged > 00ba2267ed | * Attempt to fix hangs on MS-Windows due to C-g > e567ac1495 * | Run window change functions during redisplay I reverted my local copy of Emacs to '470082de55: List lengths are always fixnums now' and haven't ran into any issues since then. Let me know how I can debug this issue further. Would the display engine trace help in this case ? Emacs doesn't enter an infinite recursion but from the CPU usage it is entering some sort of infinite loop, but I can't figure out why. In GNU Emacs 27.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.24.4) of 2019-01-30 built on amun Repository revision: 1d804268c4656e9a7561a0bdff728d932ffd3812 Repository branch: wtf Windowing system distributor 'The X.Org Foundation', version 11.0.12003000 System Description: Arch Linux Recent messages: Mark set 08bc407a228796b64e321cb28b38b39062ab1732 (New file) Mark set Starting new Ispell process /usr/bin/ispell with default dictionary... Invalid face attribute :inherit mu4e-header-key-face [17 times] Message modified; kill anyway? (y or n) y [mu4e] Found 102 matching messages Mark set Quit Quit Configured using: 'configure --prefix=/home/jvshahid/bin/emacs-27 PKG_CONFIG_PATH=/home/jvshahid/.gvm/pkgsets/go1.11.1/global/overlay/lib/pkgconfig:' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD JSON LCMS2 GMP Important settings: value of $LC_COLLATE: en_US.UTF-8 value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: mu4e-headers Minor modes in effect: recentf-mode: t hl-line-mode: t global-magit-file-mode: t diff-auto-refine-mode: t global-git-commit-mode: t shell-dirtrack-mode: t show-paren-mode: t display-battery-mode: t flx-ido-mode: t global-company-mode: t company-mode: t async-bytecomp-package-mode: t winner-mode: t global-auto-revert-mode: t savehist-mode: t display-time-mode: t direnv-mode: t projectile-mode: t straight-use-package-mode: t straight-package-neutering-mode: t tooltip-mode: t global-eldoc-mode: t mouse-wheel-mode: t file-name-shadow-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-save-visited-mode: t Load-path shadows: /home/jvshahid/.emacs.d/straight/build/jsonrpc/jsonrpc hides /home/jvshahid/bin/emacs-27/share/emacs/27.0.50/lisp/jsonrpc /home/jvshahid/.emacs.d/straight/build/flymake/flymake hides /home/jvshahid/bin/emacs-27/share/emacs/27.0.50/lisp/progmodes/flymake /home/jvshahid/.emacs.d/straight/build/cl-lib/cl-lib hides /home/jvshahid/bin/emacs-27/share/emacs/27.0.50/lisp/emacs-lisp/cl-lib /home/jvshahid/.emacs.d/straight/build/let-alist/let-alist hides /home/jvshahid/bin/emacs-27/share/emacs/27.0.50/lisp/emacs-lisp/let-alist /home/jvshahid/.emacs.d/straight/build/seq/seq hides /home/jvshahid/bin/emacs-27/share/emacs/27.0.50/lisp/emacs-lisp/seq /home/jvshahid/.emacs.d/straight/build/cl-generic/cl-generic hides /home/jvshahid/bin/emacs-27/share/emacs/27.0.50/lisp/emacs-lisp/cl-generic Features: (shadow sort emacsbug flyspell ispell supercite regi face-remap cap-words superword subword cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs tramp-archive tramp-gvfs zeroconf dbus novice tabify pcmpl-unix image-file ffap filecache recentf tree-widget helm-x-files helm-for-files helm-bookmark helm-adaptive magit-bookmark bookmark helm-external helm-net xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util woman man helm-man conf-mode mu4e desktop frameset mu4e-speedbar mu4e-main mu4e-view cal-menu calendar cal-loaddefs browse-url gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader wid-edit mu4e-headers mu4e-compose mu4e-context mu4e-draft mu4e-actions rfc2368 smtpmail sendmail mu4e-mark mu4e-message flow-fill mu4e-proc mu4e-utils doc-view image-mode mu4e-lists mu4e-vars hl-line mu4e-meta mail-extr pp yaml-mode vc-git sh-script smie executable bug-reference jka-compr eshell-z 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-cmd esh-opt esh-io esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util eieio-opt speedbar sb-image ezimage dframe help-fns misearch multi-isearch files-x tramp-sh tramp-cache tramp tramp-loaddefs trampver tramp-compat ucs-normalize parse-time windmove helm-command helm-elisp helm-eval edebug backtrace helm-info helm-mode magit-extras magit-submodule magit-obsolete magit-blame magit-stash magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff-mode magit-core magit-autorevert magit-process magit-margin magit-mode git-commit magit-git magit-section magit-utils magit-popup crm log-edit message rmc puny rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor shell pcomplete dired-aux parinfer-ext paredit parinfer ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff mode-local find-func parinferlib dired-x dired dired-loaddefs paren battery cus-start cus-load flx-ido flx floobits-autoloads highlight-autoloads arduino-mode-autoloads ede/auto rust-mode-autoloads flycheck-clojure-autoloads cider-autoloads sesman-autoloads spinner-autoloads queue-autoloads clojure-mode-autoloads parinfer-autoloads paredit-autoloads ginkgo-mode-autoloads go-rename-autoloads company-go-autoloads go-eldoc-autoloads go-guru-autoloads go-mode-autoloads robe-autoloads inf-ruby-autoloads rvm-autoloads eglot-autoloads flymake-autoloads jsonrpc-autoloads company-oddmuse company-keywords company-etags etags multifile generator xref project company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-bbdb company company-autoloads emms-autoloads pianobar-autoloads eshell-z-autoloads cl helm-config helm-easymenu async-bytecomp helm-projectile helm-files helm-tags helm-buffers helm-grep helm-regexp format-spec helm-utils helm-locate helm-help helm-types helm helm-source eieio-compat helm-multi-match helm-lib advice async helm-projectile-autoloads helm-autoloads helm-core-autoloads popup-autoloads git-link-autoloads magit-autoloads magit-popup-autoloads git-commit-autoloads exwm-randr xcb-randr exwm-config ido exwm exwm-input xcb-keysyms xcb-xkb exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xproto xcb-types xcb-debug exwm-autoloads xelb-autoloads cl-generic-autoloads tango-dark-theme server winner edmacro kmacro autorevert filenotify savehist time direnv dash projectile grep ibuf-ext ibuffer ibuffer-loaddefs direnv-autoloads with-editor-autoloads async-autoloads edit-indirect-autoloads concourse-mode-autoloads hierarchy-autoloads flx-ido-autoloads flx-autoloads wgrep-autoloads flycheck-autoloads seq-autoloads let-alist-autoloads dash-autoloads ace-window-autoloads avy-autoloads dockerfile-mode-autoloads s-autoloads yasnippet-snippets-autoloads yasnippet-autoloads protobuf-mode-autoloads markdown-mode-autoloads yaml-mode-autoloads etags-select-autoloads projectile-autoloads pkg-info-autoloads epl-autoloads debbugs-autoloads cl-lib-autoloads straight-autoloads rx compile comint ansi-color ring cl-extra straight info autoload radix-tree lisp-mnt easy-mmode pcase subr-x checkdoc thingatpt help-mode elec-pair mule-util finder-inf package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors 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 composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1123477 636547) (symbols 48 61493 19) (strings 32 457169 87036) (string-bytes 1 21729363) (vectors 16 123050) (vector-slots 8 2723362 688044) (floats 8 792 4873) (intervals 56 23521 8702) (buffers 992 101))