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#17269: 24.3.90; assertion failure at buf_charpos_to_bytepos (marker.c) Date: Wed, 16 Apr 2014 08:44:51 +0300 Message-ID: <83mwflkeuk.fsf@gnu.org> References: <87eh0y3bvz.fsf@geodiff-mac3.ulb.ac.be> <83r44yk2rt.fsf@gnu.org> <534D5A4F.8050000@yahoo.fr> <83ob02jwda.fsf@gnu.org> <8761mapbj4.fsf@yahoo.fr> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1397627122 30897 80.91.229.3 (16 Apr 2014 05:45:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2014 05:45:22 +0000 (UTC) Cc: 17269@debbugs.gnu.org To: Nicolas Richard Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 16 07:45:16 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 1WaIeq-0001Hr-1p for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Apr 2014 07:45:16 +0200 Original-Received: from localhost ([::1]:52936 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaIep-0003WB-NI for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Apr 2014 01:45:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaIei-0003OD-Ab for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2014 01:45:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WaIed-0006VC-7z for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2014 01:45:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaIed-0006UE-4U for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2014 01:45:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WaIec-0004pD-BU for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2014 01:45: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: Wed, 16 Apr 2014 05:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17269 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17269-submit@debbugs.gnu.org id=B17269.139762709218510 (code B ref 17269); Wed, 16 Apr 2014 05:45:02 +0000 Original-Received: (at 17269) by debbugs.gnu.org; 16 Apr 2014 05:44:52 +0000 Original-Received: from localhost ([127.0.0.1]:49350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaIeR-0004oT-B7 for submit@debbugs.gnu.org; Wed, 16 Apr 2014 01:44:51 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:48395) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaIeO-0004oE-Se for 17269@debbugs.gnu.org; Wed, 16 Apr 2014 01:44:50 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N4300A00ZEO3Y00@a-mtaout22.012.net.il> for 17269@debbugs.gnu.org; Wed, 16 Apr 2014 08:44:41 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N430095VZYHIRA0@a-mtaout22.012.net.il>; Wed, 16 Apr 2014 08:44:41 +0300 (IDT) In-reply-to: <8761mapbj4.fsf@yahoo.fr> 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:88048 Archived-At: > From: Nicolas Richard > Cc: Nicolas Richard , 17269@debbugs.gnu.org > Date: Tue, 15 Apr 2014 22:45:19 +0200 > > I finally managed to make a recipe that reproduces the crash every time > for me (slight variations of it will reproduce the erratic end-of-line > problem) > > gdb --args emacs -Q -nw /home/youngfrog/emacstest2.txt --eval '(execute-kbd-macro (kbd "C-e C-n C-e C-n C-e C-n C-e M-< M-f C-k C-n C-n C-e"))' > (gdb) r Thanks, I reproduced this, and will look into it in a couple of days, if no one beats me to it. > The crash is the same as reported. Not exactly: it hits assertion violation on this line: start_byte = CHAR_TO_BYTE (start); whereas your original report did that here: ceiling_byte = min (CHAR_TO_BYTE (next_change) - 1, ceiling_byte); But it's probably the same problem, so this recipe should be good enough for starters.