bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14100: 24.3.50; emacs_backtrace.txt


From: Eli Zaretskii
Subject: bug#14100: 24.3.50; emacs_backtrace.txt
Date: Sun, 31 Mar 2013 08:55:39 +0300

> From: "Drew Adams" <address@hidden>
> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]