================================================================
Dear Bug Team!
I just had another "freed lrecord" crash in Gnus. XEmacs says:
------------------------------------------------------------------------
Fatal error: assertion failed, file /usr/src/xemacs/xemacs-21.5/src/print.c, line 1480,
abort()
[snip instructions]
Lisp backtrace follows:
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (print-message-label)
display-error((wrong-type-argument listp #<EMACS BUG: freed lrecord object 0x93093d8
Save your buffers immediately and please report this bug>) t)
# bind (etype debug-on-error inhibit-quit error-object)
command-error((wrong-type-argument listp #<EMACS BUG: freed lrecord object 0x93093d8
Save your buffers immediately and please report this bug>))
# (catch top-level ...)
------------------------------------------------------------------------
My brand spanking new GDB 6.0 says:
------------------------------------------------------------------------
(gdb) bt
#0 0xffffe002 in ?? ()
#1 0x420277d6 in kill () from /lib/tls/libc.so.6
#2 0x080e4a11 in fatal_error_signal (sig=17125)
at /usr/src/xemacs/xemacs-21.5/src/emacs.c:3507
#3 <signal handler called>
#4 0xffffe002 in ?? ()
#5 0x42027561 in raise () from /lib/tls/libc.so.6
#6 0x42028b93 in abort () from /lib/tls/libc.so.6
#7 0x080e5c55 in complex_vars_of_emacs() ()
at /usr/src/xemacs/xemacs-21.5/src/emacs.c:4341
#8 0x080e4a94 in assert_failed (file=0x8300580 "ably", line=6,
expr=0x42131a14 " \031\023B")
at /usr/src/xemacs/xemacs-21.5/src/emacs.c:3640
#9 0x081ef493 in printing_major_badness (printcharfun=0,
badness_string=0x6 <Address 0x6 out of bounds>, type=0, val=0x42131a14,
badness=BADNESS_INTEGER_OBJECT)
at /usr/src/xemacs/xemacs-21.5/src/print.c:1459
#10 0x081ef641 in print_internal (obj=154178520, printcharfun=139625800,
escapeflag=1) at /usr/src/xemacs/xemacs-21.5/src/print.c:1543
#11 0x081ed84e in print_error_message (error_object=1, stream=139625800)
at /usr/src/xemacs/xemacs-21.5/src/print.c:972
#12 0x081edc44 in Ferror_message_string (error_object=0)
at /usr/src/xemacs/xemacs-21.5/src/print.c:1027
#13 0x080ed2d3 in Ffuncall (nargs=3, args=0x8528548)
at /usr/src/xemacs/xemacs-21.5/src/eval.c:3842
#14 0x080a6022 in execute_optimized_program(unsigned char const*, int, long*) (
program=0x921c808 "?\e?\032\r?\034?\021?\211\020\026\035?\026\036\016\037?\004?
\210? \210\r\026
??!\210??\f?a?\037?\rA@!?\025?\rA@GU?\r?\rA@?H!?\004??\035??\032\f?a?\004??\022\f?s?\004??\n\f?a?\004??\002?\"\210?\r?\"\210?
?\v??\016!\"\210??!\210+?\207\210\002", stack_depth=2,
constants_data=0x405d2f7c)
at /usr/src/xemacs/xemacs-21.5/src/bytecode.c:775
#15 0x080f3dc5 in funcall_compiled_function (fun=1080426164, nargs=1,
args=0xbfffe28c) at lisp.h:2350
#16 0x080ed20a in Ffuncall (nargs=2, args=0xbfffe288)
at /usr/src/xemacs/xemacs-21.5/src/eval.c:3905
#17 0x080ee9e4 in call0 (fn=1079059424) at lisp.h:3208
#18 0x080e8d1d in condition_case_1 (handlers=0,
bfun=0x80b726e <Frecursive_edit()+268>, barg=1079152136,
hfun=0x80b6eaa <Freally_early_error_handler(long)+54>, harg=1079152136)
at /usr/src/xemacs/xemacs-21.5/src/eval.c:1894
#19 0x080b6fba in command_loop_3 ()
at /usr/src/xemacs/xemacs-21.5/src/cmdloop.c:247
#20 0x080b6fdd in command_loop_3 ()
at /usr/src/xemacs/xemacs-21.5/src/cmdloop.c:252
#21 0x080e873b in internal_catch (tag=0, func=0x80b6fd2 <command_loop_3+50>,
arg=1079152136, threw=0x0, thrown_tag=0x0)
at /usr/src/xemacs/xemacs-21.5/src/eval.c:1523
#22 0x080b70b7 in initial_command_loop(long) (load_me=1108548116)
at /usr/src/xemacs/xemacs-21.5/src/cmdloop.c:297
#23 0x080e3521 in xemacs_21_5_b16_i686_pc_linux(int, char**, char**, int) (
argc=1, argv=0xbfffe5f4, envp=0xbfffe5fc, restart=0)
at /usr/src/xemacs/xemacs-21.5/src/emacs.c:2361
#24 0x080e419e in main (argc=0, argv=0x0, envp=0x0)
at /usr/src/xemacs/xemacs-21.5/src/emacs.c:2857
------------------------------------------------------------------------
While my RedHat-built gdb-5.3post-0.20021129.18 says:
------------------------------------------------------------------------
(gdb) bt
#0 0xffffe002 in ?? ()
#1 <signal handler called>
#2 0xffffe002 in ?? ()
#3 0x42028b93 in abort () from /lib/tls/libc.so.6
#4 0x080e5c55 in complex_vars_of_emacs() ()
at /usr/src/xemacs/xemacs-21.5/src/emacs.c:4341
#5 0x080e4a94 in assert_failed (file=0x8300580 "ably", line=6,
expr=0x6 <Address 0x6 out of bounds>)
at /usr/src/xemacs/xemacs-21.5/src/emacs.c:3640
#6 0x081ef493 in printing_major_badness (printcharfun=0,
badness_string=0x6 <Address 0x6 out of bounds>, type=137364864, val=0x6,
badness=BADNESS_INTEGER_OBJECT)
at /usr/src/xemacs/xemacs-21.5/src/print.c:1459
#7 0x081ef641 in print_internal (obj=154178520, printcharfun=139625800,
escapeflag=1) at /usr/src/xemacs/xemacs-21.5/src/print.c:1543
#8 0x081ed84e in print_error_message (error_object=1, stream=139625800)
at /usr/src/xemacs/xemacs-21.5/src/print.c:972
#9 0x081edc44 in Ferror_message_string (error_object=0)
at /usr/src/xemacs/xemacs-21.5/src/print.c:1027
#10 0x080ed2d3 in Ffuncall (nargs=3, args=0x1)
at /usr/src/xemacs/xemacs-21.5/src/eval.c:3842
#11 0x080a6022 in execute_optimized_program(unsigned char const*, int, long*) (
program=0x921c808 "?\e?\032\r?\034?\021?\211\020\026\035?\026\036\016\037?\004?
\210? \210\r\026
??!\210??\f?a?\037?\rA@!?\025?\rA@GU?\r?\rA@?H!?\004??\035??\032\f?a?\004??\022\f?s?\004??\n\f?a?\004??\002?\"\210?\r?\"\210?
?\v??\016!\"\210??!\210+?\207\210\002", stack_depth=2,
constants_data=0x405d2f7c)
at /usr/src/xemacs/xemacs-21.5/src/bytecode.c:775
#12 0x080f3dc5 in funcall_compiled_function (fun=1080426164, nargs=1,
args=0xbfffe28c) at lisp.h:2350
#13 0x080ed20a in Ffuncall (nargs=2, args=0xbfffe288)
at /usr/src/xemacs/xemacs-21.5/src/eval.c:3905
#14 0x080ee9e4 in call0 (fn=1079059424) at lisp.h:3208
#15 0x080e8d1d in condition_case_1 (handlers=0,
bfun=0x80b726e <Frecursive_edit()+268>, barg=1079152136,
hfun=0x80b6eaa <Freally_early_error_handler(long)+54>, harg=1079152136)
at /usr/src/xemacs/xemacs-21.5/src/eval.c:1894
#16 0x080b6fba in command_loop_3 ()
at /usr/src/xemacs/xemacs-21.5/src/cmdloop.c:247
#17 0x080b6fdd in command_loop_3 ()
at /usr/src/xemacs/xemacs-21.5/src/cmdloop.c:252
#18 0x080e873b in internal_catch (tag=0, func=0x80b6fd2 <command_loop_3+50>,
arg=1079152136, threw=0x0, thrown_tag=0x0)
at /usr/src/xemacs/xemacs-21.5/src/eval.c:1523
#19 0x080b70b7 in initial_command_loop(long) (load_me=6)
at /usr/src/xemacs/xemacs-21.5/src/cmdloop.c:297
#20 0x080e3521 in xemacs_21_5_b16_i686_pc_linux(int, char**, char**, int) (
argc=1, argv=0xbfffe5f4, envp=0xbfffe5fc, restart=0)
at /usr/src/xemacs/xemacs-21.5/src/emacs.c:2361
#21 0x080e419e in main (argc=0, argv=0x0, envp=0x0)
at /usr/src/xemacs/xemacs-21.5/src/emacs.c:2857
#22 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
------------------------------------------------------------------------
Hmmmm.... there are some interesting differences there. I'll poke
around a bit and see if I can get any more clues.
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux
diannao.ittc.ku.edu 2.4.20-20.9custom #2 Fri Oct 3 14:43:09 CDT 2003 i686
i686 i386 GNU/Linux
../xemacs-21.5/configure '--xemacs-compiler=g++'
'--prefix=/usr/local/test' '--mail-locking=lockf' '--with-pop'
'--with-mule' '--with-xfs' '--with-xim=xlib'
'--with-dialogs=athena' '--with-widgets=athena' '--pdump'
'--debug' '--use-kkcc' '--cflags=-march=pentium4 -msse2 -mfpmath=sse
-O2 -g3 -pipe'
XEmacs 21.5-b16 "celeriac" (+CVS-20031002) configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /usr/src/xemacs/xemacs-21.5
Installation prefix: /usr/local/test
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: g++ -Wall -Wno-switch -Winline -Wmissing-prototypes
-Wsign-compare -Wundef -Wstrict-prototypes -Wpacked -Weffc++ -march=pentium4 -msse2
-mfpmath=sse -O2 -g3 -pipe
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/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw
- Athena library to link: Xaw
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
TTY:
Compiling in support for ncurses.
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.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for LDAP.
Compiling in support for PostgreSQL.
- Using PostgreSQL header file: libpq-fe.h
- Using PostgreSQL V7 bindings.
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.
- Using XFontSet to provide bilingual menubar.
Compiling in support for Canna on Mule.
Mail:
Compiling in support for POP mail retrieval.
Compiling in support for "lockf" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new GC algorithms.
Using the new portable dumper.
Compiling in support for extra debugging code.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
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:
----------------------
(/users/james/emacs/vcard
/usr/local/test/lib/xemacs/xemacs-packages/lisp/gnus/vcard
/usr/local/test/lib/xemacs/mule-packages/lisp/mule-base/china-util
/usr/local/test/lib/xemacs-21.5-b16/lisp/mule/china-util
/usr/local/test/lib/xemacs/mule-packages/lisp/mule-base/cyril-util
/usr/local/test/lib/xemacs-21.5-b16/lisp/mule/cyril-util
/usr/local/test/lib/xemacs/mule-packages/lisp/mule-base/ethio-util
/usr/local/test/lib/xemacs-21.5-b16/lisp/mule/ethio-util
/usr/local/test/lib/xemacs/mule-packages/lisp/mule-base/japan-util
/usr/local/test/lib/xemacs-21.5-b16/lisp/mule/japan-util
/usr/local/test/lib/xemacs/mule-packages/lisp/mule-base/korea-util
/usr/local/test/lib/xemacs-21.5-b16/lisp/mule/korea-util
/usr/local/test/lib/xemacs/mule-packages/lisp/mule-base/viet-util
/usr/local/test/lib/xemacs-21.5-b16/lisp/mule/viet-util
/usr/local/test/lib/xemacs/xemacs-packages/lisp/build/build-report
/usr/local/test/lib/xemacs-21.5-b16/lisp/build-report
/usr/local/test/lib/xemacs/mule-packages/lisp/mule-ucs/unicode
/usr/local/test/lib/xemacs-21.5-b16/lisp/unicode)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.11 :type regular)
(xslide :version 1.08 :type regular)
(xemacs-devel :version 1.58 :type single-file)
(xemacs-base :version 1.81 :type regular)
(x-symbol :version 4.41 :type regular)
(w3 :version 1.28 :type regular)
(vm :version 7.17 :type regular)
(viper :version 1.36 :type regular)
(view-process :version 1.12 :type regular)
(vhdl :version 1.17 :type regular)
(vc-cc :version 1.21 :type regular)
(vc :version 1.37 :type regular)
(tramp :version 1.16 :type regular)
(tpu :version 1.13 :type regular)
(tooltalk :version 1.14 :type regular)
(tm :version 1.36 :type regular)
(time :version 1.13 :type regular)
(textools :version 1.14 :type regular)
(text-modes :version 1.66 :type single-file)
(texinfo :version 1.24 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.09 :type regular)
(speedbar :version 1.26 :type regular)
(sounds-wav :version 1.11 :type regular)
(sounds-au :version 1.11 :type regular)
(sml-mode :version 0.09 :type regular)
(slider :version 1.14 :type regular)
(sieve :version 1.13 :type regular)
(sh-script :version 1.17 :type regular)
(sgml :version 1.09 :type regular)
(semantic :version 1.17 :type regular)
(scheme :version 1.13 :type regular)
(sasl :version 1.13 :type regular)
(ruby-modes :version 1.01 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.32 :type regular)
(python-modes :version 1.02 :type single-file)
(psgml-dtds :version 1.02 :type regular)
(psgml :version 1.41 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes :version 1.89 :type single-file)
(pgg :version 1.03 :type regular)
(perl-modes :version 1.04 :type single-file)
(pcomplete :version 1.02 :type regular)
(pcl-cvs :version 1.64 :type regular)
(pc :version 1.25 :type single-file)
(os-utils :version 1.32 :type single-file)
(oo-browser :version 1.03 :type regular)
(ocaml :version 0.04 :type regular)
(net-utils :version 1.32 :type single-file)
(mmm-mode :version 1.0 :type regular)
(misc-games :version 1.17 :type single-file)
(mine :version 1.15 :type regular)
(mh-e :version 1.25 :type regular)
(mew :version 1.17 :type regular)
(mailcrypt :version 2.12 :type regular)
(mail-lib :version 1.62 :type regular)
(liece :version 1.12 :type regular)
(jde :version 1.45 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.32 :type regular)
(igrep :version 1.11 :type regular)
(idlwave :version 1.3 :type regular)
(ibuffer :version 1.08 :type regular)
(hyperbole :version 1.12 :type regular)
(hm--html-menus :version 1.21 :type regular)
(haskell-mode :version 1.05 :type regular)
(gnus :version 1.71 :type regular)
(gnats :version 1.15 :type regular)
(games :version 1.14 :type regular)
(fsf-compat :version 1.12 :type single-file)
(frame-icon :version 1.1 :type regular)
(fortran-modes :version 1.02 :type single-file)
(forms :version 1.14 :type regular)
(footnote :version 1.15 :type regular)
(eudc :version 1.38 :type regular)
(eterm :version 1.14 :type regular)
(ess :version 1.04 :type regular)
(eshell :version 1.05 :type regular)
(emerge :version 1.1 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.04 :type regular)
(efs :version 1.31 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 2.07 :type single-file)
(ediff :version 1.47 :type regular)
(edebug :version 1.19 :type regular)
(ecrypto :version 0.13 :type regular)
(ecb :version 1.12 :type regular)
(docbookide :version 0.06 :type regular)
(dired :version 1.14 :type regular)
(dictionary :version 1.12 :type regular)
(debug :version 1.16 :type regular)
(crisp :version 1.13 :type regular)
(cookie :version 1.14 :type regular)
(clearcase :version 1.06 :type regular)
(cc-mode :version 1.4 :type regular)
(calendar :version 1.21 :type regular)
(calc :version 1.23 :type regular)
(c-support :version 1.17 :type single-file)
(build :version 1.1 :type regular)
(bbdb :version 1.23 :type regular)
(auctex :version 1.35 :type regular)
(apel :version 1.26 :type regular)
(ada :version 1.13 :type regular)
(Sun :version 1.14 :type regular)
(skk :version 1.23 :type regular)
(mule-ucs :version 1.04 :type regular)
(mule-base :version 1.43 :type regular)
(lookup :version 1.13 :type regular)
(locale :version 1.2 :type regular)
(leim :version 1.21 :type regular)
(latin-unity :version 1.07 :type regular)
(egg-its :version 1.26 :type regular)
(edict :version 1.15 :type regular))
Installed Modules:
-----------------
Features:
--------
(xemacsbug shadow gnus-topic byte-optimize bytecomp byte-compile nnml nndraft
nnmh time-stamp efs-cu bbdb-gnus bbdb-snarf mail-extr bbdb-com gnus-agent
gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache gnus-diary
gnus-art mm-uu mml2015 pgg pgg-parse pgg-def mm-view nndiary gnus-sum
gnus-group gnus-undo nnmail mail-source nnoo bbdb timezone gnus-start
gnus-spec gnus-int gnus-range message mml mml-sec mml-smime smime dig
mm-decode mm-bodies mm-encode mailcap lpr mail-parse rfc2045 rfc2231 rfc2047
qp ietf-drums mail-abbrevs sendmail rfc822 mailheader canlock gnus-win gnus
gnus-ems gnus-xmas messagexmas gnus-audio nnheader nnheaderxm gnus-util netrc
time-date parse-time mail-utils mm-util mail-prsvr wid-edit icomplete paren
blink-paren saveplace font-lock cus-face vc-hooks tramp-smb tramp regexp-opt
executable advice advice-preload shell comint ring format-spec timer trampver
tex-site ediff-hook jka-compr zenirc-autoloads xslt-process-autoloads
xslide-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 reftex-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
liece-autoloads jde-autoloads ispell-autoloads ilisp-autoloads igrep-autoloads
idlwave-autoloads ibuffer-autoloads hyperbole-autoloads
hm--html-menus-autoloads haskell-mode-autoloads gnus-autoloads gnats-autoloads
games-autoloads fsf-compat-autoloads frame-icon-autoloads
fortran-modes-autoloads forms-autoloads footnote-autoloads eudc-autoloads
eterm-autoloads ess-autoloads eshell-autoloads emerge-autoloads elib-autoloads
eieio-autoloads efs-autoloads edt-autoloads edit-utils-autoloads
ediff-autoloads edebug-autoloads ecrypto-autoloads ecb-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
skk-autoloads mule-ucs-autoloads mule-base-autoloads lookup-autoloads
locale-autoloads leim-autoloads latin-unity-autoloads egg-its-autoloads
edict-autoloads modules-autoloads mule-autoloads auto-autoloads loadhist
rsz-minibuf auto-show fontl-hooks x-iso8859-1 canna-leim tibetan lao
devanagari indian slovenian czech romanian ccl code-cmds gutter-items
menubar-items x-menubar mode-motion mouse behavior itimer auto-save lisp-mode
easymenu iso8859-1 page buff-menu lib-complete cus-file derived newcomment env
text-props frame obsolete cus-start custom widget cl-extra mini-cl cl cl-19
packages backquote CANNA unicode lucid-scrollbars cut-buffer lucid-menubars
athena-dialogs x c-balloon-help tty-frames tty toolbar native-sound scrollbar
unix-processes multicast network-streams subprocesses modules
menu-accelerator-support menubar berkeley-db md5 xemacs xim mule gutter tiff
png gif jpeg xface xpm xbm lisp-float-type file-coding linux dialog devices
window-system base64)
Recent keystrokes:
-----------------
M-x g n u s - n o - SPC RET y C-n C-n C-n C-n C-n C-n
C-n C-n misc-user
Recent messages (most recent first):
-----------------------------------
Fontifying *mail to XEmacs Beta*... done.
Parsing /users/james/.mailrc... done
Fontifying *mail to XEmacs Beta*...
Parsing /users/james/.mailrc...
Loading xemacsbug...done
Loading xemacsbug...
Loading gnus-topic...done
Loading gnus-topic...
Checking new news...done
nnml: Reading incoming mail (no new mail)...done
nnml: Reading incoming mail from file...
Opening nnml server...done
Opening nnml server...
Checking new news...
Reading /users/james/.newsrc.eld...
Gnus auto-save file exists. Do you want to read it? (y or n) Yes
Gnus auto-save file exists. Do you want to read it? (y or n)
Wrote /users/james/.newsrc-dribble
Loading time-stamp...done
Loading time-stamp...
--
Jerry James
http://www.ittc.ku.edu/~james/