From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry OReilly Newsgroups: gmane.emacs.bugs Subject: bug#15898: Emacs aborts in buf_charpos_to_bytepos Date: Fri, 15 Nov 2013 11:57:25 -0500 Message-ID: References: <83ppq2i06d.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e011609bcb67c3b04eb3a1791 X-Trace: ger.gmane.org 1384534698 7763 80.91.229.3 (15 Nov 2013 16:58:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Nov 2013 16:58:18 +0000 (UTC) Cc: 15898@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 15 17:58:22 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 1VhMiq-0005QD-5P for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Nov 2013 17:58:20 +0100 Original-Received: from localhost ([::1]:32856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhMip-00057T-RC for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Nov 2013 11:58:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhMig-00055c-GO for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2013 11:58:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhMiZ-0001BP-8f for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2013 11:58:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhMiZ-0001B7-5J for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2013 11:58:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VhMiY-0000mR-GQ for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2013 11:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Nov 2013 16:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15898 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15898-submit@debbugs.gnu.org id=B15898.13845346532963 (code B ref 15898); Fri, 15 Nov 2013 16:58:02 +0000 Original-Received: (at 15898) by debbugs.gnu.org; 15 Nov 2013 16:57:33 +0000 Original-Received: from localhost ([127.0.0.1]:56149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhMi4-0000li-MK for submit@debbugs.gnu.org; Fri, 15 Nov 2013 11:57:32 -0500 Original-Received: from mail-ob0-f170.google.com ([209.85.214.170]:48071) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhMi2-0000lU-TS for 15898@debbugs.gnu.org; Fri, 15 Nov 2013 11:57:31 -0500 Original-Received: by mail-ob0-f170.google.com with SMTP id gq1so4147079obb.15 for <15898@debbugs.gnu.org>; Fri, 15 Nov 2013 08:57:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=I+od7dwYDqpACv5YV1whgUYkQIxCjP95D9fUxH15LaA=; b=epz6R7/CE7fvugqX4QWwisNRs18A3T1RCziGIQD6/vUdiivgmqEGcWBekLAvWFQgug qVbU418U//mTDMKLW7lCWTi17cr30XsHQtnICjiPR5VlG8UJgtLiiCjCRD5YkyGbJJAM p2hcW9NMn4HUTeCAGKlMyiX+fdw+BpCHFrbzYnj55FbrCBfU1xSnPuaRElYbXPZWp6oo P3bNieLExQCN5fbnAYDW+ig3euZrTj9MrsIcNWfKPg8HPfNuXkR8YrcNlGPSUuMYy5ZH 3HcOejcxw6queJQqRKjdGSHPCHmIYFhCmd001xxmNCXDzuehl5MfLwk1mTeYAi+Qd2vn OKOw== X-Received: by 10.60.179.113 with SMTP id df17mr8017634oec.16.1384534645306; Fri, 15 Nov 2013 08:57:25 -0800 (PST) Original-Received: by 10.76.156.103 with HTTP; Fri, 15 Nov 2013 08:57:25 -0800 (PST) In-Reply-To: <83ppq2i06d.fsf@gnu.org> 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:80608 Archived-At: --089e011609bcb67c3b04eb3a1791 Content-Type: text/plain; charset=ISO-8859-1 Not having applied your patch yet, I reproduced the core dump in GDB and got a Lisp backtrace: "line-end-position" (0xfffe9cc0) "back-to-indentation" (0xfffe9de0) "c-beginning-of-macro" (0xfffe9f70) "c-extend-font-lock-region-for-macros" (0xfffea110) "c-neutralize-syntax-in-and-mark-CPP" (0xfffea2c0) 0x1c01cb0 PVEC_COMPILED "mapc" (0xfffea540) "c-after-change" (0xfffea738) "insert-file-contents" (0xffffad40) "revert-buffer-insert-file-contents--default-function" (0xffffaec0) "revert-buffer--default" (0xffffb028) "revert-buffer" (0xffffb160) "auto-revert-handler" (0xffffb300) "auto-revert-buffers" (0xffffb558) "apply" (0xffffb550) "byte-code" (0xffffb660) "timer-event-handler" (0xffffb928) I'll apply your patch now. --089e011609bcb67c3b04eb3a1791 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Not having applied your patch yet, I reproduced the core d= ump in GDB and got a Lisp backtrace:

"line-end-position" (= 0xfffe9cc0)
"back-to-indentation" (0xfffe9de0)
"c-begi= nning-of-macro" (0xfffe9f70)
"c-extend-font-lock-region-for-macros" (0xfffea110)
"c-ne= utralize-syntax-in-and-mark-CPP" (0xfffea2c0)
0x1c01cb0 PVEC_COMPIL= ED
"mapc" (0xfffea540)
"c-after-change" (0xfffea7= 38)
"insert-file-contents" (0xffffad40)
"revert-buffer-insert= -file-contents--default-function" (0xffffaec0)
"revert-buffer-= -default" (0xffffb028)
"revert-buffer" (0xffffb160)
"auto-revert-handler" (0xffffb300)
"auto-revert-buffers&q= uot; (0xffffb558)
"apply" (0xffffb550)
"byte-code"= ; (0xffffb660)
"timer-event-handler" (0xffffb928)

I'= ;ll apply your patch now.

--089e011609bcb67c3b04eb3a1791--