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#13149: 24.3.50; Emacs thinks file was changed outside Emacs, but it was not Date: Thu, 17 Jan 2013 19:05:55 +0200 Message-ID: <83txqf7n9o.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1358442449 1107 80.91.229.3 (17 Jan 2013 17:07:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2013 17:07:29 +0000 (UTC) Cc: 13149@debbugs.gnu.org, eggert@cs.ucla.edu To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 17 18:07:47 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 1TvswH-00005s-Gk for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 18:07:41 +0100 Original-Received: from localhost ([::1]:60812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tvsw0-0006J5-Rp for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 12:07:24 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tvsvy-0006Iy-M9 for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 12:07:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tvsvw-0001Ui-Q6 for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 12:07:22 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tvsvw-0001Uc-NB for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 12:07:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tvswc-0006CY-4n for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 12:08:02 -0500 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: Thu, 17 Jan 2013 17:08: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.135844242823776 (code B ref 13149); Thu, 17 Jan 2013 17:08:02 +0000 Original-Received: (at 13149) by debbugs.gnu.org; 17 Jan 2013 17:07:08 +0000 Original-Received: from localhost ([127.0.0.1]:37225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tvsvk-0006BR-4T for submit@debbugs.gnu.org; Thu, 17 Jan 2013 12:07:08 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:38171) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tvsvh-0006BI-HQ for 13149@debbugs.gnu.org; Thu, 17 Jan 2013 12:07:06 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MGS00E004QCQN00@a-mtaout22.012.net.il> for 13149@debbugs.gnu.org; Thu, 17 Jan 2013 19:05:50 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MGS00EGT4TQKQ40@a-mtaout22.012.net.il>; Thu, 17 Jan 2013 19:05:50 +0200 (IST) In-reply-to: <50F7D358.9030100@gmail.com> 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.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:69928 Archived-At: > 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'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.