[Top][All Lists]

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

edebug args-out-of-range error

From: Stephen Berman
Subject: edebug args-out-of-range error
Date: Tue, 17 May 2005 13:31:16 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Edebug throws an args-out-of-range error on instrumented functions
that call search-backward, when the search goal is at buffer position
256 or higher.  To reproduce:

1. emacs -q -no-site-file
2. In *scratch* type
   (defun test-edebug ()
      (search-backward "test"))
   and instrument it (C-u C-M-x)
3. Switch to an empty buffer, e.g. C-x b test
4. Type this: ESC 255 <SPACE> test
5. Type M-x test-edebug and then type <SPACE> to step into the
instrumented function.  This immediately yields the error: "Args out
of range: #^[t nil 0 1 2 3 4 5 6 7 8 9 10 11 12 ... nil case-table nil
nil nil]], 256", where '...' stands for a gigantic sequence of further
numbers and vectors of numbers and nils, etc (> 120 KB long).

There is no error if the search goal is at a buffer position lower
than 256 (e.g. typing 254 at step 4 above), and the error occurs if it
is at any higher position.

In GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.6.4)
 of 2005-05-17 on escher
Distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--with-x-toolkit=gtk''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  eldoc-mode: t
  tabbar-mode: t
  recentf-mode: t
  show-paren-mode: t
  display-time-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  next-error-follow-minor-mode:  Fol

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <select-window> 
<help-echo> <select-window> <help-echo> <select-window> 
<help-echo> <select-window> <select-window> <help-echo> 
<down-mouse-2> <mouse-2> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <menu-bar> <help-menu> <about> <help-echo> 
<help-echo> <down-mouse-1> <mouse-movement> <mouse-movement> 
<mouse-1> M-x r e p o <tab> r <tab> <return>

Recent messages:
Fontifying *Fancy Diary Entries*... (regexps..........)
Package lazy-lock is obsolete
Loading eldoc...done
Loading edmacro...done
Loading semantic-el...done
For information about the GNU Project and its goals, type C-h C-p.
Fontifying *scratch*... (regexps...............)
For information about the GNU Project and its goals, type C-h C-p.
Making completion list...
Loading emacsbug...done

reply via email to

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