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#12621: Win32 (Ver:24.2); Crashes when files from shared folders are accessed Date: Tue, 16 Oct 2012 19:32:43 +0200 Message-ID: <83626a491g.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1350408839 2488 80.91.229.3 (16 Oct 2012 17:33:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Oct 2012 17:33:59 +0000 (UTC) Cc: 12621@debbugs.gnu.org To: Arvind Devarajan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 16 19:34:07 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 1TOB1p-0006yt-QQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Oct 2012 19:34:05 +0200 Original-Received: from localhost ([::1]:54442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOB1i-0004hy-Rh for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Oct 2012 13:33:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOB1d-0004hs-Da for bug-gnu-emacs@gnu.org; Tue, 16 Oct 2012 13:33:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TOB1Z-0005SU-7n for bug-gnu-emacs@gnu.org; Tue, 16 Oct 2012 13:33:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOB1Z-0005SP-3u for bug-gnu-emacs@gnu.org; Tue, 16 Oct 2012 13:33:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TOB2k-0006rD-G2 for bug-gnu-emacs@gnu.org; Tue, 16 Oct 2012 13:35: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: Tue, 16 Oct 2012 17:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12621 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 12621-submit@debbugs.gnu.org id=B12621.135040886926314 (code B ref 12621); Tue, 16 Oct 2012 17:35:02 +0000 Original-Received: (at 12621) by debbugs.gnu.org; 16 Oct 2012 17:34:29 +0000 Original-Received: from localhost ([127.0.0.1]:47099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TOB2C-0006qN-V5 for submit@debbugs.gnu.org; Tue, 16 Oct 2012 13:34:29 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:35800) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TOB2A-0006q9-5G for 12621@debbugs.gnu.org; Tue, 16 Oct 2012 13:34:27 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MBZ00J00Y215H00@a-mtaout20.012.net.il> for 12621@debbugs.gnu.org; Tue, 16 Oct 2012 19:32:31 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MBZ00HRXY27TRO0@a-mtaout20.012.net.il>; Tue, 16 Oct 2012 19:32:31 +0200 (IST) In-reply-to: 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:65665 Archived-At: > From: Arvind Devarajan > Date: Tue, 16 Oct 2012 19:09:42 +0530 > CC: "12621@debbugs.gnu.org" <12621@debbugs.gnu.org> > > 1) Problem does not occur in the development snapshot That's good news, thanks. > 2) I anyway collected the backtrace via MinGW gdb. I can just take the development snapshot, but I think it might be interesting for you to know the reason: This explains quite a lot. I still don't fully understand why the system call crashed so deeply inside the RPC DLL, but maybe now it's not as important to understand that, because the next Emacs release will probably work OK, since it's based on the code in the development snapshot. One thing to try in v24.2 is set w32-get-true-file-attributes to a nil value before opening the file. This should bypass the call to LookupAccountSid, the API whose call crashed. For the record, what do you see if you type "C-x d" to invoke Dired on the directory whose files crash Emacs 24.2? I'm mainly interested in the owner and the group shown by Dired for those files. Please try this in both versions of Emacs (v24.2 is likely to crash, but I hope the development snapshot will not; if it does, please try to produce a backtrace form it). Thanks.