fatal error during isearch-forward

Klaus Reim Klaus.Reim at barco.com
Sat Dec 8 16:44:47 EST 2007


Hi!

I encountered a fatal error during an isearch-forward
within a several 10000 lines buffer.
Eventually it turned out that "size does not matter":
I was able to boil the problem down to a mere 3-bytes buffer
containing the letters "IAI".
If you place point just before the 'A', and then
do a "C-s C-w" sequence, xemacs dies from:

  Fatal error: assertion failed, file search.c, line 1487,
  (this_pos) > ((Bytebpos) 1) && this_pos <= ((buf)->text->z + 0)

instead of marking the "AI".
This occurs for example in today's cvs-head.
To be more precise, the assertion triggers for
CVS date-tag "-D 2007-08-27" and later, while it does not for "-D 2007-08-26"
Among the few files changed in that interval, it turned out
that revision 1.9 of "lisp/mule/latin.el" causes the problem
(or maybe makes an older problem evident).
I built my version of xemacs --with-mule.

Find below my system info (saw the same effect on
a redhat system as well, with the same build configuration).

regards,
Klaus


================================================================

System Info to help track down your bug:
---------------------------------------

uname -a: Linux linux 2.6.11.4-21.17-default #1 Fri Apr 6 08:42:34 UTC 2007 i686 athlon i386 GNU/Linux

configure  '--with-package-path=/home/klr/xemacs/lib/xemacs/xemacs-packages:/home/klr/xemacs/lib/xemacs/mule-packages' '--infodir=/home/klr/xemacs/xemacs-21.5/info' '--with-infopath=/home/klr/xemacs/xemacs-packages:/home/klr/xemacs/mule-packages' '--with-athena=3d' '--with-xpm' '--with-png' '--with-jpeg' '--with-tiff' '--with-gif' '--with-mule' '--with-gpm=yes' '--with-sound=native' '--with-pop' '--with-clash-detection' '--with-canna=yes' '--with-wnn=yes' '--with-xim=xlib' '--with-database=no' '--with-postgresql=no' '--with-ldap=no' '--with-hesiod=no' '--with-widgets=athena' '--with-menubars=lucid' '--with-scrollbars=lucid' '--with-dialogs=athena' '--with-msw=no' '--with-optimization' '--with-cflags-debugging='


XEmacs 21.5-b28 "fuki" (+CVS-20071118) configured for `i686-pc-linux'.

Compilation Environment and Installation Defaults:
  Source code location:              /home/klr/xemacs/xemacs-21.5
  Installation prefix:               /usr/local
  Operating system description file: `s/linux.h'
  Machine description file:          `m/intel386.h'
  Compiler version:                  gcc (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)
    - GCC specs file:                /usr/lib/gcc-lib/i586-suse-linux/3.3.5/specs
    - Compiler command:              gcc  -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wunused-parameter  -O3
  libc version:
  Relocating allocator for buffers:  no
  GNU version of malloc:             yes
    - Using Doug Lea's new malloc from the GNU C Library.

Window System:
  Compiling in support for the X window system:
    - X Windows headers location:                 /usr/X11/include
    - X Windows libraries location:               /usr/X11/lib
    - Handling WM_COMMAND properly.
  Compiling in support for the Athena widget set:
    - Athena headers location:                    X11/Xaw3d
    - Athena library to link:                     Xaw3d
  Using Lucid menubars.
  Using Lucid scrollbars.
  Using Athena dialog boxes.
  Using Athena native widgets.

TTY:
  Compiling in support for GPM (General Purpose Mouse).

Images:
  Compiling in support for GIF  images (builtin).
  Compiling in support for XPM  images.
  Compiling in support for PNG  images.
  Compiling in support for JPEG images.
  Compiling in support for TIFF images.

Sound:
  Compiling in support for sound (native).
  Compiling in support for ALSA (Advanced Linux Sound Architecture).

Databases:

Internationalization:
  Compiling in support for Mule (multi-lingual Emacs).
  Compiling in support for XIM (X11R5+ I18N input method).
    - Using raw Xlib to provide XIM support.

Mail:
  Compiling in support for POP mail retrieval.
  Compiling in support for "file" mail spool file locking method.

Other Features:
  Inhibiting IPv6 canonicalization at startup.
  Compiling in support for dynamic shared object modules.
  Using the new GC mark algorithms (KKCC).
  WARNING: ---------------------------------------------------------
  WARNING: The new algorithms are experimental. They are enabled by
  WARNING: default for this release. Use `--disable-kkcc' to
  WARNING: turn it off.
  WARNING: ---------------------------------------------------------
  Using the new portable dumper.
  Dumping into executable.
  Compiling in support for extra debugging code.
  Compiling in support for runtime error checking.
  WARNING: ---------------------------------------------------------
  WARNING: XEmacs will run noticeably more slowly as a result.
  WARNING: Error checking is on by default for XEmacs beta releases.
  WARNING: ---------------------------------------------------------



Load-Path Lisp Shadows:
----------------------
(/home/klr/xemacs/lib/xemacs/mule-packages/lisp/mule-base/ethio-util
/home/klr/xemacs/xemacs-21.5/lisp/mule/ethio-util
/home/klr/xemacs/lib/xemacs/mule-packages/lisp/mule-base/china-util
/home/klr/xemacs/xemacs-21.5/lisp/mule/china-util
/home/klr/xemacs/lib/xemacs/mule-packages/lisp/mule-base/japan-util
/home/klr/xemacs/xemacs-21.5/lisp/mule/japan-util
/home/klr/xemacs/lib/xemacs/mule-packages/lisp/mule-base/korea-util
/home/klr/xemacs/xemacs-21.5/lisp/mule/korea-util
/home/klr/xemacs/lib/xemacs/mule-packages/lisp/mule-base/cyril-util
/home/klr/xemacs/xemacs-21.5/lisp/mule/cyril-util
/home/klr/xemacs/lib/xemacs/mule-packages/lisp/mule-base/viet-util
/home/klr/xemacs/xemacs-21.5/lisp/mule/viet-util
/home/klr/xemacs/lib/xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
/home/klr/xemacs/xemacs-21.5/lisp/easy-mmode
/home/klr/xemacs/lib/xemacs/mule-packages/lisp/mule-ucs/unicode
/home/klr/xemacs/xemacs-21.5/lisp/unicode
/home/klr/xemacs/lib/xemacs/xemacs-packages/lisp/build/build-report
/home/klr/xemacs/xemacs-21.5/lisp/build-report
/home/klr/xemacs/lib/xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
/home/klr/xemacs/xemacs-21.5/lisp/regexp-opt /home/klr/lisp/font-lock
/home/klr/xemacs/xemacs-21.5/lisp/font-lock)

Internationalization Settings:
-------------------------

Environment:

  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        : C

Lisp locale settings:

  current-language-environment      => "English"
  default-buffer-file-coding-system => iso-8859-1
  default-process-coding-system     => (undecided . iso-8859-1)
  (current-locale)                  => "C"
  keyboard-coding-system            => iso-8859-1
  terminal-coding-system            => iso-8859-1
  (coding-priority-list)            =>
    (no-conversion utf-16-little-endian-bom utf-16-bom utf-8-bom iso-7
    utf-8 iso-8-1 iso-8-2 iso-8-designate iso-lock-shift shift-jis
    big5 utf-16-little-endian utf-16 ucs-4)

Coding system aliases:

  'native                              is aliased to iso-8859-1
  'file-name                           is aliased to native
  'mswindows-multibyte-system-default  is not a coding system alias


Installed XEmacs Packages:
-------------------------
(skk ver: 1.24 upstream: 10.62a)
(mule-ucs ver: 1.16 upstream: 0.84)
(mule-base ver: 1.52 upstream: No-Upstream-Ver)
(lookup ver: 1.15 upstream: 1.0)
(leim ver: 1.26 upstream: No-Upstream-Ver)
(egg-its ver: 1.27 upstream: No-Upstream-Ver)
(edict ver: 1.16 upstream: 0.9.9)
(zenirc ver: 1.16 upstream: 2.112)
(xwem ver: 1.22 upstream: lg at xwem.org--2005/xwem--main--2.1--versionfix-1)
(xslt-process ver: 1.12 upstream: 1.2.1)
(xslide ver: 1.09 upstream: 0.2.2)
(xlib ver: 1.14 upstream: lg at xwem.org--2005/xlib--main--2.1--version-0)
(xetla ver: 1.01 upstream: steve at eicq.org--2005/xetla--main--1.1--version-0)
(xemacs-devel ver: 1.76 upstream: No-Upstream-Ver)
(x-symbol ver: 1.1 upstream: 4.5.1)
(w3 ver: 1.34 upstream: 4.0pre47)
(vm ver: 7.26 upstream: 7.19)
(viper ver: 1.59 upstream: 3.09)
(view-process ver: 1.13 upstream: 2.4)
(vhdl ver: 1.22 upstream: 3.33.12)
(vc-cc ver: 1.22 upstream: No-Upstream-Ver)
(vc ver: 1.45 upstream: No-Upstream-Ver)
(tramp ver: 1.39 upstream: 2.0.56)
(tpu ver: 1.14 upstream: 4.2X)
(tooltalk ver: 1.15 upstream: No-Upstream-Ver)
(tm ver: 1.38 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.95 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(supercite ver: 1.21 upstream: 3.55x3)
(strokes ver: 1.1 upstream: No-Upstream-Ver)
(speedbar ver: 1.28 upstream: 0.14beta4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sounds-au ver: 1.12 upstream: No-Upstream-Ver)
(sml-mode ver: 0.12 upstream: 3.9.5)
(slider ver: 1.15 upstream: 0.3x1)
(sieve ver: 1.18 upstream: No-Upstream-Ver)
(sh-script ver: 1.22 upstream: 2.0f)
(sgml ver: 1.11 upstream: No-Upstream-Ver)
(semantic ver: 1.2 upstream: 1.4.4)
(scheme ver: 1.16 upstream: No-Upstream-Ver)
(sasl ver: 1.16 upstream: 1.14.4)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(reftex ver: 1.34 upstream: 4.21)
(re-builder ver: 1.05 upstream: 1.20)
(psgml-dtds ver: 1.03 upstream: No-Upstream-Ver)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.15 upstream: No-Upstream-Ver)
(pgg ver: 1.06 upstream: 0.1)
(pcomplete ver: 1.04 upstream: 1.1.6)
(pcl-cvs ver: 1.68 upstream: R-2_9_9)
(pc ver: 1.28 upstream: No-Upstream-Ver)
(os-utils ver: 1.4 upstream: No-Upstream-Ver)
(oo-browser ver: 1.05 upstream: 4.08)
(ocaml ver: 0.06 upstream: 3.06)
(net-utils ver: 1.53 upstream: N/A)
(mmm-mode ver: 1.02 upstream: 0.4.7)
(misc-games ver: 1.19 upstream: No-Upstream-Ver)
(mine ver: 1.16 upstream: 1.9)
(mh-e ver: 1.31 upstream: 7.4.2)
(mew ver: 1.19 upstream: 1.94.2)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.79 upstream: No-Upstream-Ver)
(jde ver: 1.51 upstream: 2.3.3)
(ispell ver: 1.32 upstream: 3.6)
(ilisp ver: 1.34 upstream: 5.12.0)
(igrep ver: 1.15 upstream: 2.111)
(idlwave ver: 1.32 upstream: 5.1)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(hyperbole ver: 1.17 upstream: 5.0)
(hm--html-menus ver: 1.24 upstream: 5.9)
(gnats ver: 1.17 upstream: 3.101)
(games ver: 1.17 upstream: 1.04)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(frame-icon ver: 1.11 upstream: No-Upstream-Ver)
(fortran-modes ver: 1.05 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eudc ver: 1.4 upstream: 1.32)
(eterm ver: 1.17 upstream: No-Upstream-Ver)
(eshell ver: 1.12 upstream: 2.4.1)
(escreen ver: 1.01 upstream: 1.16)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(elib ver: 1.11 upstream: 1.0)
(eieio ver: 1.05 upstream: 0.17)
(efs ver: 1.34 upstream: 1.24)
(edt ver: 1.14 upstream: No-Upstream-Ver)
(edit-utils ver: 2.38 upstream: No-Upstream-Ver)
(ediff ver: 1.72 upstream: 2.75)
(edebug ver: 1.22 upstream: No-Upstream-Ver)
(ecrypto ver: 0.2 upstream: 2.0)
(ecb ver: 1.22 upstream: 2.31)
(easypg ver: 1.01 upstream: 0.0.15)
(docbookide ver: 0.08 upstream: 0.1)
(dired ver: 1.18 upstream: 7.14)
(dictionary ver: 1.16 upstream: 1.8)
(debug ver: 1.18 upstream: No-Upstream-Ver)
(crisp ver: 1.15 upstream: 1.34)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(clearcase ver: 1.1 upstream: /main/laptop/165)
(cc-mode ver: 1.45 upstream: 5.30.10)
(calendar ver: 1.34 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
(build ver: 1.14 upstream: 2.02)
(apel ver: 1.33 upstream: 10.6)
(ada ver: 1.14 upstream: 2.27)
(Sun ver: 1.16 upstream: No-Upstream-Ver)



Installed Modules:
-----------------


Features:
--------

(mail-abbrevs xemacsbug shadow sendmail rfc822 rect cc-mode cc-fonts
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
diff-mode tramp-smb tramp regexp-opt executable advice advice-preload
shell comint ring password format-spec timer-funcs trampver add-log
efs-cu font font-lock paren blink-paren image-mode
dired-faces dired-xemacs dired idm-mode idm-class-attribute-alist
idm-parser idm-scanner idm-strings idm-util idm-faces cus-face
disp-table skk-autoloads mule-ucs-autoloads mule-base-autoloads
lookup-autoloads leim-autoloads latin-unity-autoloads
egg-its-autoloads edict-autoloads zenirc-autoloads xwem-autoloads
xslt-process-autoloads xslide-autoloads xlib-autoloads xetla-autoloads
xemacs-devel-autoloads xemacs-base-autoloads x-symbol-autoloads
w3-autoloads vm-autoloads viper-autoloads view-process-autoloads
vhdl-autoloads vc-cc-autoloads vc-autoloads tramp-autoloads
tpu-autoloads tooltalk-autoloads tm-autoloads time-autoloads
textools-autoloads text-modes-autoloads texinfo-autoloads
supercite-autoloads strokes-autoloads speedbar-autoloads
sounds-wav-autoloads sounds-au-autoloads sml-mode-autoloads
slider-autoloads sieve-autoloads sh-script-autoloads sgml-autoloads
semantic-autoloads scheme-autoloads sasl-autoloads
ruby-modes-autoloads rmail-autoloads riece-autoloads reftex-autoloads
re-builder-autoloads python-modes-autoloads psgml-dtds-autoloads
psgml-autoloads ps-print-autoloads prog-modes-autoloads pgg-autoloads
perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
pc-autoloads os-utils-autoloads oo-browser-autoloads ocaml-autoloads
net-utils-autoloads mmm-mode-autoloads misc-games-autoloads
mine-autoloads mh-e-autoloads mew-autoloads mailcrypt-autoloads
mail-lib-autoloads jde-autoloads ispell-autoloads ilisp-autoloads
igrep-autoloads idlwave-autoloads ibuffer-autoloads
hyperbole-autoloads hm--html-menus-autoloads haskell-mode-autoloads
guided-tour-autoloads gnus-autoloads gnats-autoloads games-autoloads
fsf-compat-autoloads frame-icon-autoloads fortran-modes-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
eshell-autoloads escreen-autoloads erc-autoloads emerge-autoloads
elib-autoloads eieio-autoloads efs-autoloads edt-autoloads
edit-utils-autoloads ediff-autoloads edebug-autoloads
ecrypto-autoloads ecb-autoloads easypg-autoloads docbookide-autoloads
dired-autoloads dictionary-autoloads debug-autoloads crisp-autoloads
cookie-autoloads clearcase-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads c-support-autoloads build-autoloads
bbdb-autoloads auctex-autoloads apel-autoloads ada-autoloads
Sun-autoloads modules-autoloads mule-autoloads auto-autoloads
auto-show fontl-hooks canna-leim tibetan slovenian czech romanian lao
devanagari indian ccl code-cmds gutter-items menubar-items x-menubar
mode-motion mouse behavior itimer auto-save lisp-mode easymenu
easy-mmode iso8859-1 page buff-menu lib-complete loadhist cus-file
derived newcomment rsz-minibuf env text-props frame obsolete cus-start
custom widget cl-extra cl cl-19 packages backquote unicode
lucid-scrollbars cut-buffer lucid-menubars athena-dialogs x
c-balloon-help tty-frames tty toolbar native-sound alsa-sound
scrollbar unix-processes multicast network-streams subprocesses
modules menu-accelerator-support menubar md5 xemacs xim mule gutter
tiff png gif jpeg xpm xbm lisp-float-type file-coding linux dialog
devices window-system base64)


Recent keystrokes:
-----------------

down C-d C-x C-s button1 button1up C-a C-SPC up up
up up up up up up up up up up up up up up up up up
up up up up up C-w C-x C-s down down down down down
down down down down down down down down down down down
down down down down down down down down down down down
down down down down C-x 1 C-x C-f ~ / t m p TAB C-g
M-x e m a c TAB BS BS BS BS BS BS r e p TAB o TAB r
TAB x TAB RET


Recent messages (most recent first):
-----------------------------------

Warning:

Defaulting to the GNU Emacs-derived `sendmail.el' mail client. This facility,
while part of base XEmacs, is heinously underfeatured, and not going to get
better in the medium term. We include it so that bug reports work without
packages; we suggest that you choose and/or install one of the other mail
clients from packages if you're doing something other than M-x
report-xemacs-bug , or even if you are reporting bugs regularly.

To choose a package from those installed, click on "Options" ->
"Internet" -> "Compose Mail With ..." and decide on one from the
list. Gnus and VM are full-featured and have active user communities.

To disable this warning and stick with the old behavior, you can explicitly
initialize `mail-user-agent' to 'sendmail-user-agent .
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Making completion list...
Quit
Wrote /mnt/misc/klr/Ods_Head_connect/klrwm.diff
Wrote /mnt/misc/klr/Ods_Head_connect/bol42/lib/idm/rule/compile.c
Wrote /mnt/misc/klr/Ods_Head_connect/klrwm.diff
Wrote /mnt/misc/klr/Ods_Head_connect/bol42/lib/idm/rule/compile.c
Wrote /mnt/misc/klr/Ods_Head_connect/klrwm.diff
Wrote /mnt/misc/klr/Ods_Head_connect/bol42/lib/idm/rule/compile.c
Wrote /mnt/misc/klr/Ods_Head_connect/bol42/lib/idm/rule/compile.c
Wrote /mnt/misc/klr/Ods_Head_connect/bol42/lib/idm/rule/compile.c
Wrote /mnt/misc/klr/Ods_Head_connect/klrwm.diff
Wrote /mnt/misc/klr/Ods_Head_connect/klrwm.diff
Wrote /mnt/misc/klr/Ods_Head_connect/klrwm.diff
Wrote /mnt/misc/klr/Ods_Head_connect/klrwm.diff
Wrote /mnt/misc/klr/Ods_Head_connect/bol42/lib/idm/object/userdata.c
Wrote /mnt/misc/klr/Ods_Head_connect/klrwm.diff



More information about the XEmacs-Beta mailing list