From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mohammed Imaduddin Humayun 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: Mon, 08 Oct 2012 10:49:48 +0200 Message-ID: <507293AC.8090901@uni-muenster.de> References: <5070027B.80105@uni-muenster.de> <83ehlb7b2z.fsf@gnu.org> <5071558A.3030202@uni-muenster.de> <83r4pa5yuz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349686254 31942 80.91.229.3 (8 Oct 2012 08:50:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Oct 2012 08:50:54 +0000 (UTC) To: 12587@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 08 10:51:00 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 1TL93D-0008C8-I5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Oct 2012 10:50:59 +0200 Original-Received: from localhost ([::1]:49700 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL937-0007xT-Bb for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Oct 2012 04:50:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL92x-0007cr-Ly for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 04:50:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TL92q-00017p-Ig for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 04:50:43 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL92q-00017j-F0 for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 04:50:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TL93G-00072N-Ib for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 04:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mohammed Imaduddin Humayun Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Oct 2012 08:51: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.134968622226987 (code B ref 12587); Mon, 08 Oct 2012 08:51:02 +0000 Original-Received: (at 12587) by debbugs.gnu.org; 8 Oct 2012 08:50:22 +0000 Original-Received: from localhost ([127.0.0.1]:60732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TL92c-00071D-6C for submit@debbugs.gnu.org; Mon, 08 Oct 2012 04:50:22 -0400 Original-Received: from secmail.uni-muenster.de ([128.176.192.141]:48657) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TL92X-000712-8F for 12587@debbugs.gnu.org; Mon, 08 Oct 2012 04:50:19 -0400 Original-Received: from [128.176.133.253] (GIN-HUMAYUN3650.UNI-MUENSTER.DE [128.176.133.253]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id E790ABF407; Mon, 8 Oct 2012 10:49:44 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 In-Reply-To: <83r4pa5yuz.fsf@gnu.org> 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:65373 Archived-At: On 10/7/2012 1:02 PM, Eli Zaretskii wrote: >> Date: Sun, 07 Oct 2012 12:12:26 +0200 >> From: Mohammed Imaduddin Humayun >> CC: Eli Zaretskii >> >> 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? Below is roughly the order of events after starting Emacs when netlogon is running: - 2~3 min - GUI shows up, Emacs welcome screen (*GNU Emacs*) is not loaded yet. Window elements (menus etc.) are unresponsive. - 6~7 min - Welcome screen shows up. Commands can now be run, GUI is responsive. - Post startup, if w32-get-true-file-attributes is: (a) nil: file operations are responsive albeit 3-4x slower than when netlogon is not running i.e. not instantaneous. (b) default: extremely sluggish response. File operations (opening of files, filename autocomplete or dired etc.) each take 2-3 minutes or more. By startup failure I imply the performance is so slow and unpredictable, one is unsure if Emacs will actually show up. No error message is displayed as such. I'm actually out of patience by this time. >> 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 Yes, the same problem occurs with the latest alpha build 'emacs-20120917-r110062'. >> 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? Yes.