From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#13149: 24.3.50; Emacs thinks file was changed outside Emacs, but it was not Date: Fri, 18 Jan 2013 08:15:43 +0400 Message-ID: <50F8CC6F.7000106@gmail.com> References: <6CDE13E3BCAA4AFAAB8BCE105C6ABF12@us.oracle.com> <874njs19zb.fsf@yandex.ru> <50F3935A.2090003@yandex.ru> <50F41CE7.60306@gmail.com> <50F44E6B.8090007@cs.ucla.edu> <50F484CB.6010905@gmail.com> <50F4FB0B.5070003@cs.ucla.edu> <50F5192B.602@yandex.ru> <50F5928A.9010009@cs.ucla.edu> <50F5CC3D.5090802@yandex.ru> <50F5CE65.9030002@cs.ucla.edu> <50F5D3F5.6050604@yandex.ru> <50F5DA58.3020404@cs.ucla.edu> <50F5E1C1.2040301@yandex.ru> <50F5E9DB.1030309@gmail.com> <50F64149.6010704@cs.ucla.edu> <50F7D358.9030100@gmail.com> <83txqf7n9o.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 1358482587 5553 80.91.229.3 (18 Jan 2013 04:16:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Jan 2013 04:16:27 +0000 (UTC) Cc: 13149@debbugs.gnu.org, eggert@cs.ucla.edu To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 18 05:16:44 2013 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 1Tw3Nk-0003mc-A8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Jan 2013 05:16:44 +0100 Original-Received: from localhost ([::1]:57673 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tw3NT-0004yF-Fz for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 23:16:27 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tw3NO-0004xs-FP for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 23:16:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tw3NK-0004XO-F2 for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 23:16:22 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tw3NK-0004XK-Bt for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 23:16:18 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tw3O2-0004ws-D7 for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 23:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Jan 2013 04:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13149 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible moreinfo Original-Received: via spool by 13149-submit@debbugs.gnu.org id=B13149.135848259418978 (code B ref 13149); Fri, 18 Jan 2013 04:17:02 +0000 Original-Received: (at 13149) by debbugs.gnu.org; 18 Jan 2013 04:16:34 +0000 Original-Received: from localhost ([127.0.0.1]:37617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tw3NZ-0004w2-7Q for submit@debbugs.gnu.org; Thu, 17 Jan 2013 23:16:34 -0500 Original-Received: from mail-lb0-f182.google.com ([209.85.217.182]:57057) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tw3NW-0004vu-CN for 13149@debbugs.gnu.org; Thu, 17 Jan 2013 23:16:31 -0500 Original-Received: by mail-lb0-f182.google.com with SMTP id gg6so1796337lbb.27 for <13149@debbugs.gnu.org>; Thu, 17 Jan 2013 20:15:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=4Uu5bjZlBFQi+yNs0fBugEtlrF2bnClPKCEnyfR1+1k=; b=NKdW9sHAbdZeGuse/HBntG5PWcP8banqncL2nodW+Alf2OBrwDIvRbQR64Ur1snSs7 ZlaLZ7uH+Kld3CuDuiFklpazWDsIT7okKVCzINMg0Vog7em6n9eZF400q3GjLHyNjH0f ohu6zzIBL2FGnpQtdTiIApA+rXVO3m3bvjkFj90c6fg8iPGaeKONDOSI9uH59EXfoNj7 HRgptNypzU+TwqvDegYcy1w+5RPE82fQt0I8jPnJidvZZdk4Y2AG2bqkoPFh0jLZaNrK ENmbgezDZmm3TIYm+EPUkDqGoCREbFR4pAb1/AFnGUUy4biqDAn9gt27iQGI3pICcIbk 2cPQ== X-Received: by 10.152.145.8 with SMTP id sq8mr7056803lab.21.1358482544895; Thu, 17 Jan 2013 20:15:44 -0800 (PST) Original-Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPS id j9sm1014169lbd.13.2013.01.17.20.15.42 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Jan 2013 20:15:43 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: <83txqf7n9o.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.x 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:69954 Archived-At: On 17.01.2013 21:05, Eli Zaretskii wrote: >> Date: Thu, 17 Jan 2013 14:32:56 +0400 >> From: Dmitry Gutov >> CC: 13149@debbugs.gnu.org, Eli Zaretskii >> >> Looked at the VirtualBox bug reports, found just this one: >> https://www.virtualbox.org/ticket/10986, not much information there. >> >> Some more about space rays: >> 1) I now have a version of Emacs compiled on a brand-new Fedora virtual >> machine from emacs-24 branch (revno 111185) that exhibits the problem. >> Just tested it simultaneously with Ubuntu, emacs-24 on Fedora is buggy, >> Ubuntu's is not. The following items (2 and 3) are from a few hours ago, >> when I tested Fedora machine exclusively. >> 2) Editing the file on a different disk on the host system (HDD vs SSD) >> makes no difference, the bug is present. >> 3) Process Monitor doesn't show any other processes accessing the file >> on the host machine other than VirtualBox.exe, SYSTEM and >> SearchProtocolHost.exe. The last one goes away if I stop the Windows >> Search service, but the problem stays. > > I suspect that what you see is some bad interaction between VirtualBox > and the nasty way Windows disk cache optimizes its disk I/O. It is > known to update the file attributes lazily, so data could be written > to a file without the file's directory entry updated at the same time, > until some time later. I wonder why I don't see that with the straight Windows build editing files on the local filesystem. Does it forcibly disable some optimizations? >> I'm attaching the exported event log for the open-modify-save >> scenario (file-access-log.csv) in case someone knowledgeable can see >> anything weird there (Eli?). > > I don't see anything interesting there, although I cannot pretend that > I've studied every single entry. Oh well. It was worth a try.