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#16433: Test case for newline cache corruption Date: Fri, 23 May 2014 08:50:01 +0300 Message-ID: <83zji9kprq.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1400824226 13145 80.91.229.3 (23 May 2014 05:50:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 May 2014 05:50:26 +0000 (UTC) Cc: 16433@debbugs.gnu.org To: Ken Olum Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 23 07:50:19 2014 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 1WniMz-000695-6h for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 May 2014 07:50:17 +0200 Original-Received: from localhost ([::1]:41207 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WniMy-00005B-RZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 May 2014 01:50:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WniMq-0008UY-CT for bug-gnu-emacs@gnu.org; Fri, 23 May 2014 01:50:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WniMk-0005Fe-GJ for bug-gnu-emacs@gnu.org; Fri, 23 May 2014 01:50:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WniMk-0005FN-DJ for bug-gnu-emacs@gnu.org; Fri, 23 May 2014 01:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WniMj-0004h3-UV for bug-gnu-emacs@gnu.org; Fri, 23 May 2014 01:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 May 2014 05:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16433 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 16433-submit@debbugs.gnu.org id=B16433.140082419518020 (code B ref 16433); Fri, 23 May 2014 05:50:01 +0000 Original-Received: (at 16433) by debbugs.gnu.org; 23 May 2014 05:49:55 +0000 Original-Received: from localhost ([127.0.0.1]:57160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WniMd-0004gY-23 for submit@debbugs.gnu.org; Fri, 23 May 2014 01:49:55 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:46343) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WniMa-0004gF-ET for 16433@debbugs.gnu.org; Fri, 23 May 2014 01:49:53 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0N6000G00IL86300@mtaout27.012.net.il> for 16433@debbugs.gnu.org; Fri, 23 May 2014 08:46:32 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N6000B7TIPKOA50@mtaout27.012.net.il>; Fri, 23 May 2014 08:46:32 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:89382 Archived-At: > From: Ken Olum > Date: Thu, 22 May 2014 16:38:27 -0400 > > Here is a procedure which I can use to reproduce the newline cache > corruption. > > 1. Detach attached files test.mbox, test.in, and test.emacs. > > 2. Put test.emacs in place of your .emacs file. > > 3. Run emacs. I used a compilation from trunk revision 117139. > > Because I had to try this many, many times, test.emacs puts testing > commands on keys F3 and F4. So > > 3. Push F3 to run rmail on test.mbox > > 4. Push F4 to get new mail from test.in > > 5. Push "p" to go to the previous message. You should get a warning > about cache corruption. > > The details of the "new mail" in test.in don't seem to matter much, but > it is very sensitive to precisely what is in the existing message in > test.mbox. I removed everything that I could to simplify the test case. > > I hope this is helpful. Thanks a lot, I will look into this as soon as I have time.