From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Johannes Lundberg Newsgroups: gmane.emacs.bugs Subject: bug#35457: 26.2; global-auto-revert-mode cause 100% cpu usage Date: Sat, 27 Apr 2019 09:50:54 -0700 Message-ID: <7e60cb40-9678-8818-2cd0-81a0bd30bbf3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="117504"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 To: 35457@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 27 19:04:43 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 1hKQkl-000URK-5Q for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Apr 2019 19:04:43 +0200 Original-Received: from localhost ([127.0.0.1]:34353 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKQkk-0004KG-7W for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Apr 2019 13:04:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKQfL-0000dw-D3 for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2019 12:59:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKQfJ-0001iB-Gg for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2019 12:59:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50603) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hKQfG-0001fu-FV for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2019 12:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hKQfG-0008NU-CP for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2019 12:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Johannes Lundberg Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Apr 2019 16:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35457 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.155638430532145 (code B ref -1); Sat, 27 Apr 2019 16:59:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Apr 2019 16:58:25 +0000 Original-Received: from localhost ([127.0.0.1]:35913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKQef-0008MO-Ct for submit@debbugs.gnu.org; Sat, 27 Apr 2019 12:58:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKQec-0008MA-WD for submit@debbugs.gnu.org; Sat, 27 Apr 2019 12:58:23 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42564) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hKQeX-0000uf-Mi for submit@debbugs.gnu.org; Sat, 27 Apr 2019 12:58:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKQeW-0008IJ-A4 for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2019 12:58:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKQXS-0003Pf-8P for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2019 12:51:03 -0400 Original-Received: from mail-oi1-x22f.google.com ([2607:f8b0:4864:20::22f]:38241) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hKQXS-0003Oj-1e for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2019 12:50:58 -0400 Original-Received: by mail-oi1-x22f.google.com with SMTP id a6so5352978oie.5 for ; Sat, 27 Apr 2019 09:50:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:subject:from:openpgp:autocrypt:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=nkJEuDIMcktCZU0VJSpchv8CTFAEjyuhWSWhM8F+eCw=; b=Ie5dhY8NjSgYGQOsi+TOC0Csy5dg+dWX05N7fwgnf/HeI0KT8AaNM+cvxLbTzP8VBF CM8axwnvDf/PXZsDGPjEEHRRoqXeN12UmPzB5dpDjOsLzWri5tGKHeM7IEUoJ6Ij13xZ Y4bAmo9DD3DpcnYKuYCdxm+wJNJbZ0Z7TUhio2WTqzjRKgPonp8SsbPNCI5j5aOPJ2uI aMqfNlOGLXQHotLP7wdkNLh/o0Yp4fx/7my5ESOjczNN3TYIUEXARyJFVreK2I9yOgGK EwfEpRJOR/k8ZTy2ayDia2ZSa7rV+oYZIkiFzNe6ua94paXO+yqW+BTfIMg4ybMuXub/ mqmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:from:openpgp:autocrypt:message-id :date:user-agent:mime-version:content-transfer-encoding :content-language; bh=nkJEuDIMcktCZU0VJSpchv8CTFAEjyuhWSWhM8F+eCw=; b=j1Y1oz4XMxi21LLWwbf2FK5axjF00HxL4a+D/nuQLFuHM+KVOH9Ka2Z0nzralBhLKR h5MV0OfugwNP3lfAemuCcVNbiBCtJtQtMRP2EsAcy1ILz/Gkl3F5XkJmdQrodU/bwpjo MOcapoYuBkKkElzhXnt+cm7OS9iZWNuiGLqni8acXRRPR4tAiCyvNwNZFS5CBcTQPVdu ac1g6PiiNO1WXqPlGswFOzTDNBkTdYa2F3Ribr47i7lzLmRdqR4Ya9ZpBoiQRCe+gav5 HUAl+ad6cTwgL0aacWKnojde9+NMKSQ5INKAB/ZDgZEUXB4felYKWAJ1Yk8urMeeTQGA cz3w== X-Gm-Message-State: APjAAAWdBESKdQNAjqax+fPdSGWLaUmUbSdUZ+5d82/kxlIi3xY6XZXt 9HzIKqd3111U9zlYpnxqkbofFjmQqC4= X-Google-Smtp-Source: APXvYqxwtq5cnr6piTwf3MLEKsEtFzl9gBs7A+2AJ8CRVkTP8TZV4xrBahO/9fDusKqGSPNps1UT7A== X-Received: by 2002:aca:de57:: with SMTP id v84mr11558320oig.149.1556383856313; Sat, 27 Apr 2019 09:50:56 -0700 (PDT) Original-Received: from [192.168.0.83] ([75.167.244.96]) by smtp.gmail.com with ESMTPSA id h13sm3888115otj.25.2019.04.27.09.50.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Apr 2019 09:50:55 -0700 (PDT) Openpgp: preference=signencrypt Autocrypt: addr=johalun0@gmail.com; keydata= mQINBFxFmoIBEADoFO5jY+Fmsg44KiZjufEmpEf4kt7nCOfxNG9SruWpoXUaq0B296F+fIZC hNZqv1v7lGTsfoWRusxJmLd5CQgHHxEyruZbbPpNsQ/JKoDY3GGmrmWfN/SX3y0t0kdB9HsW mJcvZhK7we52f4gxddIVBS9nQoVoONX+hzXf8zwOAa0ik0EPgEwpIKS4j9lLq4bU+mqVKdRR bPeDujEA/qbsCKhaFJkPzXZtzEe6srq4RK1doEztwnKz02b+8gs642TRkWDQeTRZputrAaoN Un4R76A1QpXWyrFG1dQu48IGHi3KbkrvNyq6R1aUBIA0+CG1npIbxmc2mtSjoyvdipmDRbBD +mhECIxmYfBT6818zuj91XjrfOyfVdV2BryBvqFkJLkS3N3QElBIiVdDgdrqiNFWiOlDMxNI tdP16oQBNo8IB27/0YHpnQEw1MafZv5gG5DO0zLtLy88ASAfL7BYf90JP19rT4JIwnxsXxyv kEJnzhsXf0QVObEiAu1MqeFyWfZ8PpunmvEmJ0VChOL+v/kIx1E9cxhhzMZhqiMXfyM4zx2+ BF1FwAwJYPuJLu2B3L0uVBu+M1YvSOmKAbXPDP8PsqPjgSBTYI51MUjuuxN6jSsHDuK6G5k4 pUWR8axa+wafhd6Vz8zVwdTJZ9LdxgLLVg0kprBgccPHhPAZVQARAQABtCZKb2hhbm5lcyBM dW5kYmVyZyA8am9oYWx1bjBAZ21haWwuY29tPokCVAQTAQgAPhYhBIl1Pb3+hI60ivmRSULn yG4BGvSeBQJcRZqCAhsjBQkJZgGABQsJCAcCBhUK Content-Language: en-US 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:158365 Archived-At: Add (global-auto-revert-mode 1) to .emacs. Start Emacs. Emacs now using 100% cpu. truss -p show that Emacs is doing fstatat(), possibly stuck endless loop. In GNU Emacs 26.2 (build 1, amd64-portbld-freebsd13.0, GTK+ Version 3.24.7) Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --disable-build-details --localstatedir=/var --without-gpm --with-x --enable-acl --without-cairo --with-dbus --with-gconf --with-gif --with-gnutls --with-gsettings --with-x-toolkit=gtk3 --with-jpeg --with-json --with-file-notification=kqueue --with-lcms2 --with-m17n-flt --with-imagemagick --with-mailutils --with-modules --with-sound=oss --with-libotf --with-png --with-toolkit-scroll-bars --with-rsvg --with-threads --with-tiff --with-xft --with-xim --with-xml2 --with-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-freebsd13.0 'CFLAGS=-O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing ' 'CPPFLAGS=-isystem /usr/local/include' 'LDFLAGS= -fstack-protector -L/usr/local/lib '' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS GLIB NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LCMS2 Important settings: value of $LC_ALL: en_US.UTF-8 value of $LC_CTYPE: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair finder-inf tex-site info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date mule-util 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 kqueue 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 121205 7500) (symbols 48 22831 1) (miscs 40 90 116) (strings 32 37561 1127) (string-bytes 1 1081297) (vectors 16 16957) (vector-slots 8 537814 8932) (floats 8 52 65) (intervals 56 299 0) (buffers 992 12))