From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Keith M Swartz Newsgroups: gmane.emacs.bugs Subject: bug#6443: 23.2; Many files take 6-15 seconds to open after upgrade to 23.2 on WinXP Date: Wed, 16 Jun 2010 21:18:41 -0700 Message-ID: <4C19A221.70909@oneroad.com> Reply-To: Keith M Swartz NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1276749192 31193 80.91.229.12 (17 Jun 2010 04:33:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Jun 2010 04:33:12 +0000 (UTC) To: 6443@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 17 06:33:11 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OP6mQ-0002IP-Ik for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Jun 2010 06:33:11 +0200 Original-Received: from localhost ([127.0.0.1]:46900 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OP6mK-0007kS-DZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Jun 2010 00:32:36 -0400 Original-Received: from [140.186.70.92] (port=34354 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OP6iW-0001sC-Ao for bug-gnu-emacs@gnu.org; Thu, 17 Jun 2010 00:28:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OP6iU-0003uP-P2 for bug-gnu-emacs@gnu.org; Thu, 17 Jun 2010 00:28:40 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44359) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OP6iU-0003uG-Ku for bug-gnu-emacs@gnu.org; Thu, 17 Jun 2010 00:28:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OP6gw-0004Xf-CM; Thu, 17 Jun 2010 00:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Keith M Swartz Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Jun 2010 04:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6443 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.127674877917448 (code B ref -1); Thu, 17 Jun 2010 04:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Jun 2010 04:26:19 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OP6gD-0004XN-Kr for submit@debbugs.gnu.org; Thu, 17 Jun 2010 00:26:18 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OP6ZY-0004UI-9I for submit@debbugs.gnu.org; Thu, 17 Jun 2010 00:19:25 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:56674) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OP6ZV-0006qA-29 for submit@debbugs.gnu.org; Thu, 17 Jun 2010 00:19:21 -0400 Original-Received: from [140.186.70.92] (port=44298 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OP6ZT-00019J-GO for bug-gnu-emacs@gnu.org; Thu, 17 Jun 2010 00:19:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OP6ZR-0002VX-TS for bug-gnu-emacs@gnu.org; Thu, 17 Jun 2010 00:19:19 -0400 Original-Received: from smtpauth02.csee.onr.siteprotect.com ([64.26.60.136]:45442) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OP6ZR-0002VF-Ou for bug-gnu-emacs@gnu.org; Thu, 17 Jun 2010 00:19:17 -0400 Original-Received: from [192.168.1.135] (unknown [98.203.142.243]) (Authenticated sender: kswartz2@oneroad.com) by smtpauth02.csee.onr.siteprotect.com (Postfix) with ESMTPA id 75987E38022 for ; Wed, 16 Jun 2010 23:19:15 -0500 (CDT) User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A02020A.4C19A243.0147,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Thu, 17 Jun 2010 00:26:17 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 17 Jun 2010 00:27:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Thu, 17 Jun 2010 00:32:30 -0400 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37819 Archived-At: This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': --------- Upgraded from emacs 22.3 to 23.2.1 on Windows XP SP 3, using pre-built binaries from ftp.gnu.org. I've found that emacs is frequently unresponsive, would hang for several seconds during routine operations, including auto-save, etc. Did some searching, and found that default setting for w32-get-true-file-attributes had changed, so I reverted that back to nil -- this helped. Now, at best, opening files takes about 1-2 seconds, which is acceptable. But sometimes, it still takes 6-8 seconds to open files. I've confirmed there is no CPU usage during this time, and Process Monitor does not show enough specific information to determine whether it's an I/O call it's hanging on, or what I/O call that is. Ctrl-G is unresponsive and doesn't act until after control resumes. I can reproduce this even with no startup files, and it happens just as often. It APPEARED for a while that turning off font-lock-mode globally helped, but I think that may be a red herring. When turning it off, the first few file opens would usually go quickly, but after that, opening a file from a new location would bring back the 6-8 second hang. Not EVERY file opens this slowly, but enough do that it definitely interrupts the work flow. All of my operations are happening locally, and not on a network drive. I have a network drive defined, but even when the drive is not mounted, the hangs still occur. I have AV software installed, but can't disable it (due to corporate settings) -- however, I haven't seen this problem manifest in any other program, so I'm hesitant to blame that. I am working on testing with another machine to see if I can reproduce, but advice on key differences to look for would be helpful. --------- If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file c:/emacs/etc/DEBUG. In GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: XSL Minor modes in effect: display-time-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-c t C-x C-f C-g M-< C-n C-n C-n C-n C-n C-u C-n C-u C-p C-n C-x C-f M-b C-k w w w / w r i i n C-x C-f M-b C-k i d m M-b M-b C-k w o 9 i d m 9 7 t x k . M-> M-< M-x r e p o r t SPC e m SPC b u SPC Recent messages: SUBTREE (NO CHILDREN) FOLDED SUBTREE (NO CHILDREN) FOLDED SUBTREE (NO CHILDREN) FOLDED CHILDREN FOLDED Making completion list... [2 times] Mark set [2 times] Load-path shadows: c:/emacs/lisp/custom/css-mode hides c:/emacs/lisp/textmodes/css-mode Features: (shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug xslide-process xslide-font xslide-abbrev xslide-data etags imenu compile comint ring xslide help-mode view html-mode jsp-html-helper-mode asp-html-helper-mode php-html-helper-mode html-helper-mode tempo cl cl-19 cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp org-exp-blocks org-agenda org-info org-gnus org-bibtex org-bbdb time remember org-remember org-datetree org byte-opt bytecomp byte-compile advice help-fns advice-preload org-footnote org-src org-list org-faces org-compat org-macs easymenu time-date noutline outline easy-mmode smtpmail sendmail regexp-opt generic-x common-fns tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs)