unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 14100@debbugs.gnu.org
Subject: bug#14100: 24.3.50; emacs_backtrace.txt
Date: Sun, 31 Mar 2013 08:55:39 +0300	[thread overview]
Message-ID: <837gko3yg4.fsf@gnu.org> (raw)
In-Reply-To: <1AED6F121441499696C94888CC8EB427@us.oracle.com>

> From: "Drew Adams" <drew.adams@oracle.com>
> 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.





  reply	other threads:[~2013-03-31  5:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-30 22:51 bug#14100: 24.3.50; emacs_backtrace.txt Drew Adams
2013-03-31  5:55 ` Eli Zaretskii [this message]
2015-12-29 11:09   ` Lars Ingebrigtsen
2015-12-29 17:42     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=837gko3yg4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=14100@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).