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: Wed, 17 Oct 2012 18:14:34 +0200 Message-ID: <83hapt2hzp.fsf@gnu.org> References: <5070027B.80105@uni-muenster.de> <83ehlb7b2z.fsf@gnu.org> <5071558A.3030202@uni-muenster.de> <83r4pa5yuz.fsf@gnu.org> <507293AC.8090901@uni-muenster.de> <83vcel495w.fsf@gnu.org> <5072E46A.9080403@uni-muenster.de> <83ipal3r0c.fsf@gnu.org> <83r4p37ltn.fsf@gnu.org> <507AB825.6070002@uni-muenster.de> <837gqt5cmq.fsf@gnu.org> <507E70B0.7000803@uni-muenster.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1350490497 21188 80.91.229.3 (17 Oct 2012 16:14:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Oct 2012 16:14:57 +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 Wed Oct 17 18:15:03 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 1TOWGr-0007qg-5Q for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Oct 2012 18:15:01 +0200 Original-Received: from localhost ([::1]:59734 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOWGk-0000yv-0b for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Oct 2012 12:14:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOWGg-0000xs-LM for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2012 12:14:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TOWGa-0007NC-GR for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2012 12:14:50 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOWGa-0007N8-8A for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2012 12:14:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TOWHq-0007Wd-GO for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2012 12:16: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: Wed, 17 Oct 2012 16:16: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.135049054928904 (code B ref 12587); Wed, 17 Oct 2012 16:16:02 +0000 Original-Received: (at 12587) by debbugs.gnu.org; 17 Oct 2012 16:15:49 +0000 Original-Received: from localhost ([127.0.0.1]:48673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TOWHc-0007W8-Gq for submit@debbugs.gnu.org; Wed, 17 Oct 2012 12:15:48 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:47419) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TOWHa-0007Vv-5s for 12587@debbugs.gnu.org; Wed, 17 Oct 2012 12:15:47 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MC100600ODN4E00@a-mtaout21.012.net.il> for 12587@debbugs.gnu.org; Wed, 17 Oct 2012 18:14:20 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MC1006VKP3V3U40@a-mtaout21.012.net.il>; Wed, 17 Oct 2012 18:14:20 +0200 (IST) In-reply-to: <507E70B0.7000803@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:65682 Archived-At: > Date: Wed, 17 Oct 2012 10:47:44 +0200 > From: Mohammed Imaduddin Humayun > CC: Eli Zaretskii >=20 > On 10/14/2012 4:53 PM, Eli Zaretskii wrote: > > No, that's fine. I think the issue with CreateThread is a red her= ring=20 > > anyway, sorry. The only additional information I'd like to see is= the=20 > > backtrace during the time between the instance the GUI shows up a= nd=20 > > the welcome screen. Thanks.=20 >=20 > Here it is: > [...] > Thread 1 (Thread 12476.0x1db0): > #0 0x770f0542 in ntdll!RtlInitOutOfProcessMemoryStream () > from C:\Windows\SysWOW64\ntdll.dll > #1 0x770f0542 in ntdll!RtlInitOutOfProcessMemoryStream () > from C:\Windows\SysWOW64\ntdll.dll > #2 0x748775df in RPCRT4!NdrConformantVaryingArrayMarshall () > from C:\Windows\syswow64\rpcrt4.dll > #3 0x40020000 in ?? () > #4 0x00caeff8 in ?? () > #5 0x74877a7f in RPCRT4!NdrConformantVaryingArrayMarshall () > from C:\Windows\syswow64\rpcrt4.dll > #6 0x00caeff8 in ?? () > #7 0x74877982 in RPCRT4!NdrConformantVaryingArrayMarshall () > from C:\Windows\syswow64\rpcrt4.dll > #8 0x00cc7e98 in ?? () > #9 0x74880071 in RPCRT4!I_RpcEnableWmiTrace () > from C:\Windows\syswow64\rpcrt4.dll > #10 0x0088d890 in ?? () > #11 0x74877391 in RPCRT4!NdrConformantVaryingArrayMarshall () > from C:\Windows\syswow64\rpcrt4.dll > #12 0x0088d8bc in ?? () > #13 0x7487804b in UuidCreateNil () from C:\Windows\syswow64\rpcrt4.= dll > #14 0x7487801a in UuidCreateNil () from C:\Windows\syswow64\rpcrt4.= dll > #15 0x75540d3e in SECHOST!LsaLookupGetDomainInfo () > from C:\Windows\SysWOW64\sechost.dll > #16 0x755345e8 in ?? () from C:\Windows\SysWOW64\sechost.dll > #17 0x75540966 in SECHOST!LsaLookupTranslateNames () > from C:\Windows\SysWOW64\sechost.dll > #18 0x75540a4c in SECHOST!LsaLookupTranslateSids () > from C:\Windows\SysWOW64\sechost.dll > #19 0x7554030b in SECHOST!LookupAccountNameLocalW () > from C:\Windows\SysWOW64\sechost.dll > #20 0x7554050c in SECHOST!LookupAccountSidLocalA () > from C:\Windows\SysWOW64\sechost.dll > #21 0x76771e1b in LookupAccountSidW () from C:\Windows\syswow64\adv= api32.dll > #22 0x010572d7 in lookup_account_sid (lpSystemName=3D0x0, Sid=3D0xc= ba790, > Name=3D0x88e2af "w=E9=DC=82t \002", cbName=3D0x88e2a8, > DomainName=3D0x88dea8 "<=DE\210", cbDomainName=3D0x88dea4, peUse= =3D0x88e3b0) > at w32.c:495 > #23 0x0105b343 in get_name_and_id (psd=3D0xcba760, > fname=3D0x88e450 "c:\\emacs-24.2.50\\info\\", id=3D0x88e6d4, nm= =3D0x88e7f4 "", > what=3D2) at w32.c:3437 > #24 0x0105b43c in get_file_owner_and_group (psd=3D0xcba760, > fname=3D0x88e450 "c:\\emacs-24.2.50\\info\\", st=3D0x88e6c0) at w32= .c:3467 > #25 0x0105b91c in stat_worker (path=3D0x164a5c2 "\\emacs-24.2.50\\i= nfo\\", > buf=3D0x88e6c0, follow_symlinks=3D1) at w32.c:3689 > #26 0x0105bf49 in stat (path=3D0x367e1bc "c:/emacs-24.2.50/info/",= =20 > buf=3D0x88e6c0) at w32.c:3865 > #27 0x01067a18 in Ffile_exists_p (filename=3D60362113) at fileio.c:= 2506 Thanks, this is the same issue as your first backtrace. So now I'm sure that the calls to 'stat' to find out whether files exist are the culprit, and I hope that due to the changes I made in the development sources, which avoid calling 'stat' for this purpose, the next release of Emacs will be free of this problem. If you can afford it, please try the next development snapshot that will appear here: http://alpha.gnu.org/gnu/emacs/windows/ I will wait for you or someone else to try a recent snapshot and report the results, before I close the bug. Thanks again for your efforts in this matter.