From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: [22.1.90]: Point before start of properties Date: Sun, 10 Feb 2008 13:42:12 -0500 Message-ID: References: <6EE216E1AA959543A555C60FF34FB76702E48034@maileube01.misys.global.ad> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1202668992 24321 80.91.229.12 (10 Feb 2008 18:43:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Feb 2008 18:43:12 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: "Marshall, Simon" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 10 19:43:34 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JOH9K-0001Dy-Bu for ged-emacs-devel@m.gmane.org; Sun, 10 Feb 2008 19:43:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOH8r-0006Dj-1B for ged-emacs-devel@m.gmane.org; Sun, 10 Feb 2008 13:43:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOH82-0005Qo-Jj for emacs-devel@gnu.org; Sun, 10 Feb 2008 13:42:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOH82-0005Pt-2O for emacs-devel@gnu.org; Sun, 10 Feb 2008 13:42:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOH81-0005Pm-Pb for emacs-devel@gnu.org; Sun, 10 Feb 2008 13:42:13 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JOH81-0003vE-JF for emacs-devel@gnu.org; Sun, 10 Feb 2008 13:42:13 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JOH80-0007IG-Kn; Sun, 10 Feb 2008 13:42:12 -0500 In-reply-to: <6EE216E1AA959543A555C60FF34FB76702E48034@maileube01.misys.global.ad> (Simon.Marshall@misys.com) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88640 gmane.emacs.pretest.bugs:20988 Archived-At: The error "point before start of properties" could just as well be an abort, since it reports a condition that should be impossible. Namely, that the interval data structure that records the text properties is invalid, in that it does not cover the whole of the buffer. The first step in debugging this is to carefully examine the interval data structure and see how it is invalid. The next step is to see how it got that way. Your simple test case should make that fairly easy: (gdb) b intervals.c:794 Breakpoint 1 at 0x195d90: file intervals.c, line 794. (gdb) r -Q Then in emacs do C-x C-f ~/.../src/intervals.c RET and bang: Breakpoint 1, update_interval (i=0x8b1af4, pos=1771) at intervals.c:794 794 error ("Point before start of properties"); (gdb) Does anyone else observe this bug?