From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#14100: 24.3.50; emacs_backtrace.txt Date: Tue, 29 Dec 2015 12:09:56 +0100 Message-ID: <87oad9lddn.fsf@gnus.org> References: <1AED6F121441499696C94888CC8EB427@us.oracle.com> <837gko3yg4.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1451387490 21660 80.91.229.3 (29 Dec 2015 11:11:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Dec 2015 11:11:30 +0000 (UTC) Cc: 14100@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 29 12:11:15 2015 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 1aDsBN-0004Wo-Tm for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Dec 2015 12:11:14 +0100 Original-Received: from localhost ([::1]:48021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDsBI-0005id-4z for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Dec 2015 06:11:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDsBF-0005iX-HG for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 06:11:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDsBC-000053-AH for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 06:11:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDsBC-00004z-6W for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 06:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aDsBC-0008J1-2p for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 06:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Dec 2015 11:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14100 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14100-submit@debbugs.gnu.org id=B14100.145138742231859 (code B ref 14100); Tue, 29 Dec 2015 11:11:02 +0000 Original-Received: (at 14100) by debbugs.gnu.org; 29 Dec 2015 11:10:22 +0000 Original-Received: from localhost ([127.0.0.1]:47329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDsAY-0008Hm-EA for submit@debbugs.gnu.org; Tue, 29 Dec 2015 06:10:22 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:50034) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDsAW-0008He-BC for 14100@debbugs.gnu.org; Tue, 29 Dec 2015 06:10:20 -0500 Original-Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aDsA9-0002J6-U5; Tue, 29 Dec 2015 12:09:58 +0100 In-Reply-To: <837gko3yg4.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 31 Mar 2013 08:55:39 +0300") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aDsA9-0002J6-U5 MailScanner-NULL-Check: 1451992199.63318@+m+bkjp+pWD1tQS5OQYyhw X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:110953 Archived-At: > The abort is here (in get_local_map): > > /* Perhaps we should just change `position' to the limit. */ > if (position > BUF_ZV (buffer) || position < BUF_BEGV (buffer)) > emacs_abort (); > > The caller, Fcurrent_active_maps, checks a different condition before > the call: > > pos = POSN_BUFFER_POSN (position); > if (INTEGERP (pos) > && XINT (pos) >= BEG && XINT (pos) <= Z) > { > local_map = get_local_map (XINT (pos), > current_buffer, Qlocal_map); > > So perhaps the bug is in the caller: it should test BEGV and ZV > instead of BEG and Z. Was there anything to be done here? It sounds like it, but then there were no further messages. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no