From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan Synacek Newsgroups: gmane.emacs.bugs Subject: bug#22481: 25.1.50; vc-hg: emacs "deadlocks" after using hg with huge amounts of ignored files in the repo Date: Thu, 28 Jan 2016 10:10:36 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1453972346 23468 80.91.229.3 (28 Jan 2016 09:12:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jan 2016 09:12:26 +0000 (UTC) To: 22481@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 28 10:12:14 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aOicd-0006NG-JU for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jan 2016 10:12:11 +0100 Original-Received: from localhost ([::1]:54570 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOicc-0000Ex-WF for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jan 2016 04:12:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOicX-0000Bm-A1 for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 04:12:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOicU-0006cL-1a for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 04:12:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOicT-0006cH-Ub for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 04:12:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aOicT-0005V0-O0 for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 04:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan Synacek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jan 2016 09:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22481 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145397226421062 (code B ref -1); Thu, 28 Jan 2016 09:12:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Jan 2016 09:11:04 +0000 Original-Received: from localhost ([127.0.0.1]:39081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOibY-0005Te-08 for submit@debbugs.gnu.org; Thu, 28 Jan 2016 04:11:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47834) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOibW-0005TA-AZ for submit@debbugs.gnu.org; Thu, 28 Jan 2016 04:11:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOibK-0006Ah-RK for submit@debbugs.gnu.org; Thu, 28 Jan 2016 04:10:57 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOibK-0006Ad-OU for submit@debbugs.gnu.org; Thu, 28 Jan 2016 04:10:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOibF-0007au-W0 for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 04:10:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOibA-00068y-4P for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 04:10:45 -0500 Original-Received: from mx1.redhat.com ([209.132.183.28]:58443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOib9-00068s-Pv for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 04:10:40 -0500 Original-Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id E21783F3CE for ; Thu, 28 Jan 2016 09:10:38 +0000 (UTC) Original-Received: from ntb-work (dhcp-24-126.brq.redhat.com [10.34.24.126]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0S9AaGo025371 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 28 Jan 2016 04:10:37 -0500 User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/25.1.50.2 (x86_64-redhat-linux-gnu) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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: 208.118.235.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112049 Archived-At: Steps to reproduce: 1) hg clone https://bitbucket.org/vim-mirror/vim (or any other repo will do, but I couldn't resist reproducing the issue on this one...) 2) Generate a million files, that will be considered "ignored" in the repo $ cd vim $ for i in $(seq 1 1000000); do echo ignored > ignored-$i.rej; done 3) Fire up emacs, C-x C-f At this point, it will take a while, but that may be a separate issue. 4) Edit any tracked file and save it. 5) C-x v d ENTER 6) Go to a file that's been modified and hit 'v', enter a log message, then C-c C-c to commit the change. 7) Hit 'g' to refresh the buffer. 8) Observe the freeze. Emacs freezes because it's running 'hg status -mardui -C '. The '-i' is the problem here. Since it takes hg itself a very long time, I'm not sure if it can be directly fixed in Emacs. But at least a configuration option that would allow one to disable the "-i" option would be nice. Original bugreport: https://bugzilla.redhat.com/show_bug.cgi?id=3D1232422 In GNU Emacs 25.1.50.2 (x86_64-redhat-linux-gnu, GTK+ Version 3.18.6) of 2016-01-28 built on copr-builder-504260318.novalocal Windowing system distributor 'Fedora Project', version 11.0.11800000 System Description: Generic release 23 (Generic) Configured using: 'configure --build=3Dx86_64-redhat-linux-gnu --host=3Dx86_64-redhat-linux-gnu --program-prefix=3D --disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc --datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/lib64 --libexecdir=3D/usr/libexec --localstatedir=3D/var --sharedstatedir=3D/var/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=3Dgtk3 --with-gpm=3Dno build_alias=3Dx86_64-redhat-linux-gnu host_alias=3Dx86_64-redhat-linux-gnu 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector-strong --param=3Dssp-buffer-size=3D4 -grecord-gcc-switches -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=3Dgeneric' LDFLAGS=3D-Wl,-z,relro PKG_CONFIG_PATH=3D:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=3Dnone locale-coding-system: utf-8-unix Major mode: ERC Minor modes in effect: diff-auto-refine-mode: t erc-notifications-mode: t shell-dirtrack-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-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-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t recentf-mode: t override-global-mode: t show-paren-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 transient-mark-mode: t Recent messages: Loading /home/jsynacek/.emacs.d/recentf...done Cleaning up the recentf list...done (0 removed) For information about GNU Emacs and the GNU system, type C-h C-a. ad-handle-definition: =E2=80=98tramp-read-passwd=E2=80=99 got redefined (redacted for private info) Mark set Could not load org-notmuch Load-path shadows: /home/jsynacek/.emacs.d/elpa/helm-20160119.417/helm-multi-match hides /home= /jsynacek/.emacs.d/elpa/helm-core-20160119.936/helm-multi-match /home/jsynacek/.emacs.d/elpa/magit-20160119.1409/magit-popup hides /home/js= ynacek/.emacs.d/elpa/magit-popup-20160119.1409/magit-popup Features: (shadow sort mail-extr emacsbug sendmail notmuch hl-line notmuch-message notmuch-maildir-fcc notmuch-hello notmuch-tree notmuch-parser notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-address notmuch-wash diff-mode coolj notmuch-query goto-addr icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs notmuch-tag crm notmuch-lib notmuch-version cl message idna rfc822 mml mailabbrev mail-utils gmm-utils mailheader mm-view mml-smime mml-sec epg smime dig mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums erc-desktop-notifications notifications dbus winner helm-command helm-elisp helm-eval edebug helm-mode helm-files rx image-dired tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell dired-aux ffap helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info bookmark helm-locate helm-external helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap helm-types private erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete erc-track erc-match erc-button erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat format-spec thingatpt pp helm-swoop helm-grep helm-regexp helm-plugin helm-utils compile comint ansi-color ring helm-help helm helm-source eieio-compat helm-multi-match helm-lib geiser recentf tree-widget wid-edit edmacro kmacro dired-x dired dired-loaddefs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs use-package diminish bind-key easy-mmode advice finder-inf goto-chg-autoloads undo-tree-autoloads info package epg-config url-handlers url-parse auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs gv eieio-loaddefs gnus-util mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr password-cache url-vars paren time-date 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 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 404816 27547) (symbols 48 39279 0) (miscs 40 147 579) (strings 32 78662 12230) (string-bytes 1 2409843) (vectors 16 58360) (vector-slots 8 965773 25031) (floats 8 378 279) (intervals 56 1052 111) (buffers 976 19) (heap 1024 47080 3625)) --=20 Jan Synacek Software Engineer, Red Hat