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: Sat, 31 May 2014 13:13:16 +0300 Message-ID: <83a99yfe83.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1401531266 9472 80.91.229.3 (31 May 2014 10:14:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 May 2014 10:14: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 Sat May 31 12:14:18 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 1WqgIs-0006A2-5T for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 May 2014 12:14:18 +0200 Original-Received: from localhost ([::1]:58778 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqgIr-0005T3-42 for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 May 2014 06:14:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqgIi-0005Hh-P9 for bug-gnu-emacs@gnu.org; Sat, 31 May 2014 06:14:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WqgId-0004AG-CF for bug-gnu-emacs@gnu.org; Sat, 31 May 2014 06:14:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqgId-0004AC-96 for bug-gnu-emacs@gnu.org; Sat, 31 May 2014 06:14:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WqgIc-0005qs-FS for bug-gnu-emacs@gnu.org; Sat, 31 May 2014 06:14: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: Sat, 31 May 2014 10:14:02 +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.140153118922391 (code B ref 16433); Sat, 31 May 2014 10:14:02 +0000 Original-Received: (at 16433) by debbugs.gnu.org; 31 May 2014 10:13:09 +0000 Original-Received: from localhost ([127.0.0.1]:38451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WqgHk-0005p4-91 for submit@debbugs.gnu.org; Sat, 31 May 2014 06:13:08 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:52781) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WqgHh-0005oX-DX for 16433@debbugs.gnu.org; Sat, 31 May 2014 06:13:06 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0N6F00K00O09OK00@mtaout25.012.net.il> for 16433@debbugs.gnu.org; Sat, 31 May 2014 13:09:38 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N6F00GFVO82HS50@mtaout25.012.net.il>; Sat, 31 May 2014 13:09:38 +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:89799 Archived-At: > From: Ken Olum > Cc: 16433@debbugs.gnu.org > Date: Tue, 27 May 2014 12:20:52 -0400 > > Here is some additional output which perhaps will be helpful. Thanks. I know why I couldn't reproduce what you see: you've sent me the wrong test.mbox file. The one you are using has only 1 message in it, whereas the one you sent me had 2 messages, probably because you have already pressed F4 once to read a new message. If I manually remove the 2nd message from test.mbox, I see the same behavior as you reported. Well, almost the same: for some reason the traces from region-cache.c are very similar, but not exactly identical. I deduced that the initial mbox was not the one you used from the traces you sent: they clearly indicated that your initial mbox was smaller than mine (the last number in know_region_cache trace is the buffer's point-max). In any case, I seem to have now a reproducible recipe, and can work on it locally. Thanks so much for your help.