From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neal Becker Newsgroups: gmane.emacs.devel Subject: emacs-24.4.1 memory corruption Date: Mon, 27 Apr 2015 08:59:44 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: ger.gmane.org 1430139622 30777 80.91.229.3 (27 Apr 2015 13:00:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2015 13:00:22 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 27 15:00:12 2015 Return-path: Envelope-to: ged-emacs-devel@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 1Ymidv-0003I2-Rf for ged-emacs-devel@m.gmane.org; Mon, 27 Apr 2015 15:00:12 +0200 Original-Received: from localhost ([::1]:54837 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymidv-00039S-1X for ged-emacs-devel@m.gmane.org; Mon, 27 Apr 2015 09:00:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymidr-00037n-P1 for emacs-devel@gnu.org; Mon, 27 Apr 2015 09:00:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ymidm-0001HP-QO for emacs-devel@gnu.org; Mon, 27 Apr 2015 09:00:07 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:59996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymidm-0001ER-Jr for emacs-devel@gnu.org; Mon, 27 Apr 2015 09:00:02 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ymidj-00037K-Cm for emacs-devel@gnu.org; Mon, 27 Apr 2015 14:59:59 +0200 Original-Received: from exa2-in-fw-01-epn.hns.com ([139.85.223.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Apr 2015 14:59:59 +0200 Original-Received: from ndbecker2 by exa2-in-fw-01-epn.hns.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Apr 2015 14:59:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: exa2-in-fw-01-epn.hns.com User-Agent: KNode/4.14.6 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185930 Archived-At: I am seeing that if a file is changed on the underlying filesystem, and I use revert-buffer, the resulting buffer is (at least sometimes) corrupted. Here is the actual code I'm using to update the buffer: (defun refresh-file () (interactive) (revert-buffer t (not (buffer-modified-p)) t) ) (global-set-key [f5] 'refresh-file) This is on linux fedora 21. Filesystem is btrfs (let's hope that's not the issue!) -- Those who fail to understand recursion are doomed to repeat it