From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12587: 24.2; Delayed startup, unresponsive Emacs in MS Windows when netlogon services is running in a domain Date: Sun, 07 Oct 2012 13:02:28 +0200 Message-ID: <83r4pa5yuz.fsf@gnu.org> References: <5070027B.80105@uni-muenster.de> <83ehlb7b2z.fsf@gnu.org> <5071558A.3030202@uni-muenster.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1349607828 11029 80.91.229.3 (7 Oct 2012 11:03:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2012 11:03:48 +0000 (UTC) Cc: 12587@debbugs.gnu.org To: Mohammed Imaduddin Humayun Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 07 13:03:55 2012 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 1TKoeF-0000Sl-6D for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Oct 2012 13:03:51 +0200 Original-Received: from localhost ([::1]:45745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKoe9-00025S-8O for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Oct 2012 07:03:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKoe6-00025C-Ip for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2012 07:03:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKoe5-0005V3-9V for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2012 07:03:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKoe5-0005Uz-5d for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2012 07:03:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TKoeQ-0005bP-9M for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2012 07:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Oct 2012 11:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12587 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 12587-submit@debbugs.gnu.org id=B12587.134960780021487 (code B ref 12587); Sun, 07 Oct 2012 11:04:02 +0000 Original-Received: (at 12587) by debbugs.gnu.org; 7 Oct 2012 11:03:20 +0000 Original-Received: from localhost ([127.0.0.1]:59152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKodk-0005aV-4z for submit@debbugs.gnu.org; Sun, 07 Oct 2012 07:03:20 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:50745) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKodh-0005aI-Dt for 12587@debbugs.gnu.org; Sun, 07 Oct 2012 07:03:18 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MBI00000RROHI00@a-mtaout23.012.net.il> for 12587@debbugs.gnu.org; Sun, 07 Oct 2012 13:02:37 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MBI000KGS0DHD10@a-mtaout23.012.net.il>; Sun, 07 Oct 2012 13:02:37 +0200 (IST) In-reply-to: <5071558A.3030202@uni-muenster.de> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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:65323 Archived-At: > Date: Sun, 07 Oct 2012 12:12:26 +0200 > From: Mohammed Imaduddin Humayun > CC: Eli Zaretskii > > On 10/6/2012 7:40 PM, Eli Zaretskii wrote: > >> Date: Sat, 06 Oct 2012 12:05:47 +0200 > >> From: Mohammed Imaduddin Humayun > >> > >> When netlogon service is running in the background on Windows (Win > >> 7 here) in a networked domain (e.g. a pc/laptop on a university domain) > >> starting Emacs usually fails or is miserably slow although the > >> emacs.exe process > > What's your value of w32-get-true-file-attributes? Can you try > > setting it in turn to each one of the 3 possible values, and see if > > that helps? > > > > If you can run Emacs under a debugger, I could ask you to check out > > some more things. > w32-get-true-file attributes is set to nil in my case. I tried setting > it to local, non-nil and nil in turn with the following results: > (i) with netlogon service - delayed Emacs startup as reported in the bug > for each of the values > (ii) without netlogon service - Emacs starts instantly in all cases After Emacs starts, do you see slowdown in file operations, like "C-x d" (Dired) for networked directories on the domain for which the netlogon service runs? Or is the slowdown limited to the startup? Also, your original report says "starting Emacs fails or is miserably slow". When it fails, what message(s) do you see to the effect of the failure? And when it is slow, how much time does it take for Emacs to eventually come up? > I use the binary build which probably isn't meant for debugging. Also my > experience in using gdb is limited, but if provided with a debug build > and instructions on what to do, I can at least attempt. Debug builds of the recent development snapshots are available from here: http://alpha.gnu.org/gnu/emacs/windows/ First, please see if the same slow startup happens with the latest snapshot. If it does, I will give you instructions on what to do to investigate. Thanks. > PS: A short screencast of the problem can be viewed here if it helps - > http://youtu.be/G36HpkVt8i4 Does the same happen if you start emacs.exe directly from the cmd prompt, instead of clicking on runemacs.exe?