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#14100: 24.3.50; emacs_backtrace.txt Date: Sun, 31 Mar 2013 08:55:39 +0300 Message-ID: <837gko3yg4.fsf@gnu.org> References: <1AED6F121441499696C94888CC8EB427@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1364709387 5783 80.91.229.3 (31 Mar 2013 05:56:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Mar 2013 05:56:27 +0000 (UTC) Cc: 14100@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 31 07:56:50 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 1UMBG5-00058D-Ev for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Mar 2013 07:56:49 +0200 Original-Received: from localhost ([::1]:38082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMBFh-0005nD-2V for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Mar 2013 01:56:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:32969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMBFc-0005mx-5J for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2013 01:56:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMBFZ-00023R-6j for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2013 01:56:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49437) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMBFZ-00023D-3H for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2013 01:56:17 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UMBID-0002HE-R1 for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2013 01:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Mar 2013 05:59:01 +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.13647095168720 (code B ref 14100); Sun, 31 Mar 2013 05:59:01 +0000 Original-Received: (at 14100) by debbugs.gnu.org; 31 Mar 2013 05:58:36 +0000 Original-Received: from localhost ([127.0.0.1]:53546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UMBHo-0002Ga-EK for submit@debbugs.gnu.org; Sun, 31 Mar 2013 01:58:36 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:49466) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UMBHl-0002GO-Ux for 14100@debbugs.gnu.org; Sun, 31 Mar 2013 01:58:35 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MKI00200FVGU100@a-mtaout22.012.net.il> for 14100@debbugs.gnu.org; Sun, 31 Mar 2013 08:55:13 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MKI0039AGG10I00@a-mtaout22.012.net.il>; Sun, 31 Mar 2013 08:55:13 +0300 (IDT) In-reply-to: <1AED6F121441499696C94888CC8EB427@us.oracle.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:73030 Archived-At: > From: "Drew Adams" > Date: Sat, 30 Mar 2013 15:51:52 -0700 > > Backtrace: > 0x01159769 > 0x011597DB > 0x012E3AB5 > 0x010CCD49 > 0x01039DCD > 0x0103BA2C > 0x01024070 > 0x01010C39 > 0x01023814 > 0x01010696 > 0x010237CE > 0x01022D88 > 0x010230B5 > 0x010029C4 > 0x010010F9 > 0x7C81776B w32_backtrace at C:\Devel\emacs\repo\build\src/w32fns.c:7729 emacs_abort at C:\Devel\emacs\repo\build\src/w32fns.c:7761 get_local_map at C:\Devel\emacs\repo\build\src/intervals.c:2212 Fcurrent_active_maps at C:\Devel\emacs\repo\build\src/keymap.c:1611 active_maps at C:\Devel\emacs\repo\build\src/keyboard.c:8572 read_key_sequence at C:\Devel\emacs\repo\build\src/keyboard.c:9201 command_loop_1 at C:\Devel\emacs\repo\build\src/keyboard.c:1458 internal_condition_case at C:\Devel\emacs\repo\build\src/eval.c:1193 command_loop_2 at C:\Devel\emacs\repo\build\src/keyboard.c:1173 internal_catch at C:\Devel\emacs\repo\build\src/eval.c:964 command_loop at C:\Devel\emacs\repo\build\src/keyboard.c:1152 recursive_edit_1 at C:\Devel\emacs\repo\build\src/keyboard.c:785 Frecursive_edit at C:\Devel\emacs\repo\build\src/keyboard.c:849 main at C:\Devel\emacs\repo\build\src/emacs.c:1531 ?? at crt1.c:0 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.