unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Intervals crash
@ 2010-09-23 18:23 Chong Yidong
  2010-09-23 18:52 ` Chong Yidong
                   ` (2 more replies)
  0 siblings, 3 replies; 29+ messages in thread
From: Chong Yidong @ 2010-09-23 18:23 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

I'm getting a crash due to your recent EMACS_UINT change.

  emacs -Q
  C-x C-f tr TAB => crash

  #0  abort () at emacs.c:423
  #1  0x0824356b in delete_interval (i=0x84a8cbc) at intervals.c:1269
  #2  0x08243a36 in merge_interval_right (i=0x84a8cbc) at intervals.c:1474
  #3  0x08242d93 in adjust_intervals_for_insertion (tree=0x84b7e7c, position=12,
      length=8) at intervals.c:1027
  #4  0x0824396d in offset_intervals (buffer=0x85de228, start=12, length=8)
      at intervals.c:1436
  #5  0x08191207 in insert_from_string_1 (string=141199641, pos=0, pos_byte=0,
      nchars=8, nbytes=8, inherit=0, before_markers=0) at insdel.c:1087
  #6  0x08190ddf in insert_from_string (string=141199641, pos=0, pos_byte=0,
      length=8, length_byte=8, inherit=0) at insdel.c:986
  ...
  Lisp Backtrace:
  "completion--replace" (0xbfffd654)
  "completion--do-completion" (0xbfffd944)
  "minibuffer-complete" (0xbfffdc54)
  ...

The LENGTH macro in intervals.h:114 has to be able to return a negative
number.  This is probably worth reverting, until you come up with a
proper fix.



^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2010-09-27 11:02 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-23 18:23 Intervals crash Chong Yidong
2010-09-23 18:52 ` Chong Yidong
2010-09-23 19:01   ` Eli Zaretskii
2010-09-23 19:09     ` Chong Yidong
2010-09-23 19:32       ` Eli Zaretskii
2010-09-23 18:57 ` Eli Zaretskii
2010-09-24  6:12   ` Stephen J. Turnbull
2010-09-24  8:16     ` Eli Zaretskii
2010-09-24  8:52       ` Stephen J. Turnbull
2010-09-24 10:03         ` Eli Zaretskii
2010-09-25 14:34           ` Stephen J. Turnbull
2010-09-25 16:10             ` Eli Zaretskii
2010-09-25 18:54               ` Stephen J. Turnbull
2010-09-25 22:07                 ` Eli Zaretskii
2010-09-26 13:08                   ` Stephen J. Turnbull
2010-09-26 19:22                     ` Miles Bader
2010-09-26 19:33                       ` David Kastrup
2010-09-27  4:53                       ` Stephen J. Turnbull
2010-09-27  6:55                         ` David Kastrup
2010-09-27  7:42                           ` Jan Djärv
2010-09-27  8:34                             ` Eli Zaretskii
2010-09-27  9:02                               ` David Kastrup
2010-09-27 11:02                                 ` Eli Zaretskii
2010-09-27  8:36                           ` Eli Zaretskii
2010-09-27  8:50                           ` Stephen J. Turnbull
2010-09-27  9:39                             ` David Kastrup
2010-09-27  9:45                               ` Lars Magne Ingebrigtsen
2010-09-27 10:11                               ` Stephen J. Turnbull
2010-09-24 10:31 ` Eli Zaretskii

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).