================================================================
Dear Bug Team!
The crash was occur when I reading news in gnus and report the
message(Xref:
news.gmane.org gmane.emacs.nxml.general:1704) to
gmane.org.
Very Interesting, if I am run only xemacs it will crash immediately,
but if I run xemacs inside gdb I would have a chance to see a message
`wrong type arguments: hash-table-p nil'
and then if I toggle `debug on error' or `stack trace on error' the
xemacs process being debuged will receive a signal SIGABRT as bellow.
Fatal error: assertion failed, file elhash.c, line 519, RECORD_TYPEP (obj,
lrecord_type_hash_table)
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x2ab01d9ca740 (LWP 6435)]
0x00002ab01c9d21d5 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00002ab01c9d21d5 in raise () from /lib/libc.so.6
#1 0x00002ab01c9d3680 in abort () from /lib/libc.so.6
#2 0x00000000004cd6d6 in really_abort () at emacs.c:4693
#3 0x00000000004ca8c2 in assert_failed (file=0x756295 "elhash.c", line=519,
expr=0x75eac8 "RECORD_TYPEP (obj, lrecord_type_hash_table)")
at emacs.c:3987
#4 0x0000000000508ba7 in error_check_hash_table (obj=38433248,
file=0x756295 "elhash.c", line=519) at elhash.h:28
#5 0x00000000004c3c81 in xhash_table (hash_table=38433248) at elhash.c:519
#6 0x00000000004c54ab in Fgethash (key=38352144, hash_table=38433248,
default_=38433248) at elhash.c:1154
#7 0x00000000004d751a in Ffuncall (nargs=3, args=0x7fff905f2ec8)
at eval.c:3928
#8 0x0000000000476d80 in execute_optimized_program (
program=0x3ebedd8
"~\n\t\"\034\n~\022~\f!~\r~\v\f\"~\a~\v\f\"~\016~\v\t\"\211\030<~\004~~\215))\207D~~}",
stack_depth=4, constants_data=0x3de8958)
at bytecode.c:862
#9 0x00000000004d6fc2 in funcall_compiled_function (fun=67082064, nargs=2,
args=0x7fff905f3440) at eval.c:3517
#10 0x00000000004d784c in Ffuncall (nargs=3, args=0x7fff905f3438)
at eval.c:3967
#11 0x0000000000476d80 in execute_optimized_program (
program=0x400ee70
"\016\021~7\f;~,\n;~(~\v!~#~\t!~\036~\b!~\031~\f\v\"~\t\b\nE\036\020\035\016\020\rB\025~\f\v\r#*\207~~~~~\"\"\207",
stack_depth=5,
constants_data=0x3174a10) at bytecode.c:862
#12 0x00000000004d6fc2 in funcall_compiled_function (fun=58042120, nargs=5,
args=0x7fff905f39b0) at eval.c:3517
#13 0x00000000004d784c in Ffuncall (nargs=6, args=0x7fff905f39a8)
at eval.c:3967
#14 0x0000000000476d80 in execute_optimized_program (
program=0x3ac3c70
"~\r!~z~\f!~u~\r\f\"\036\031~\r\f\"\036\032\b~\005\016\032~\003\016\031\036\030\b~\004~\002~\036\033~\211\032\033\016\030~K\016\034~\006~\016\035\r\"\023~~~\b~\004~\002~\vG\016\034~\004~\002~~\r!~\f!&\a\210\016\030\v!\210\v~\032\211\031~\026\t(a)\022\016\033~\n!~\r\f\016\036%\210\tA\211\021~~*~.\006\207",
stack_depth=10, constants_data=0x3484958) at bytecode.c:862
#15 0x00000000004d6fc2 in funcall_compiled_function (fun=58042048, nargs=2,
args=0x7fff905f3f50) at eval.c:3517
#16 0x00000000004d784c in Ffuncall (nargs=3, args=0x7fff905f3f48)
at eval.c:3967
#17 0x0000000000476d80 in execute_optimized_program (
program=0x3904d48 "\0160\204V\001~~~\"\210~~\033\211\036#\203\213",
stack_depth=9, constants_data=0x3758010) at bytecode.c:862
#18 0x00000000004d6fc2 in funcall_compiled_function (fun=57868080, nargs=0,
args=0x7fff905f4930) at eval.c:3517
#19 0x00000000004d784c in Ffuncall (nargs=1, args=0x7fff905f4928)
at eval.c:3967
#20 0x00000000004d890f in run_hook_with_args_in_buffer (buf=0x3b8d580,
nargs=1, args=0x7fff905f4928, cond=RUN_HOOKS_TO_COMPLETION) at eval.c:4450
#21 0x00000000004d89c5 in run_hook_with_args (nargs=1, args=0x7fff905f4928,
cond=RUN_HOOKS_TO_COMPLETION) at eval.c:4463
#22 0x00000000004d854a in Frun_hooks (nargs=1, args=0x7fff905f4928)
at eval.c:4315
#23 0x00000000004d77be in Ffuncall (nargs=2, args=0x7fff905f4920)
at eval.c:3951
#24 0x00000000004d7fe6 in Fapply (nargs=2, args=0x7fff905f4920) at eval.c:4175
#25 0x00000000004d77be in Ffuncall (nargs=3, args=0x7fff905f4918)
at eval.c:3951
#26 0x0000000000476d80 in execute_optimized_program (
program=0x1898ce8 "r~~\b\")\207", stack_depth=3,
constants_data=0x31c5920)
at bytecode.c:862
#27 0x00000000004d6fc2 in funcall_compiled_function (fun=50210712, nargs=1,
args=0x7fff905f4e80) at eval.c:3517
#28 0x00000000004d784c in Ffuncall (nargs=2, args=0x7fff905f4e78)
at eval.c:3967
#29 0x0000000000476d80 in execute_optimized_program (
program=0x3811c88 "~ \210~\b!~\021\212\bq\210~\0166!\210~\211\026>\0266)~
\210~ \210\0162\031~\0162!\033~\036?\016@\0363~\0364p\035\v~\017\016A~\004~
\210\016B~\004~
\210~~!\210\0167~%\0168\211\035\211\034~\v\f;~\004~\002~\f!)~\f~~\r!\n\"\022~\r!\210)~\0269\016:~\a~
\210~ \210~\t!\210\016C~\004~ \210\016D~\005~\t!\210\016:~\004~
\210~\t\0361~~\0161\"~\t\0161~\225~O~\003\0161)!\210\v~\b~~!\210~
\210~\t!\210\0165q\210\v~\005~\t!\210~~!\210"..., stack_depth=5,
constants_data=0x334a990) at bytecode.c:862
#30 0x00000000004d6fc2 in funcall_compiled_function (fun=55424632, nargs=0,
args=0x7fff905f5400) at eval.c:3517
#31 0x00000000004d784c in Ffuncall (nargs=1, args=0x7fff905f53f8)
at eval.c:3967
#32 0x00000000004d8f86 in apply1 (fn=55424632, arg=38433248) at eval.c:4549
#33 0x000000000047ecfc in Fcall_interactively (function=46386416,
record_flag=38433248, keys=38433248) at callint.c:459
#34 0x00000000004d4b67 in Fcommand_execute (cmd=46386416,
record_flag=38433248, keys=38433248) at eval.c:3138
#35 0x00000000004f6a37 in execute_command_event (command_builder=0x1911e70,
event=56296120) at event-stream.c:4288
#36 0x00000000004f7496 in Fdispatch_event (event=56296120)
at event-stream.c:4592
#37 0x000000000048ba93 in Fcommand_loop_1 () at cmdloop.c:600
#38 0x000000000048b872 in command_loop_1 (unused_dummy=38433248)
at cmdloop.c:505
#39 0x00000000004d2410 in condition_case_1 (handlers=38428032,
bfun=0x48b83d <command_loop_1>, barg=38433248, hfun=0x48b448 <cmd_error>,
harg=38433248) at eval.c:1946
#40 0x000000000048b578 in command_loop_3 () at cmdloop.c:262
#41 0x000000000048b59c in command_loop_2 (unused_dummy=38433248)
at cmdloop.c:275
#42 0x00000000004d1e35 in internal_catch (tag=37904864,
func=0x48b58b <command_loop_2>, arg=38433248, threw=0x0, thrown_tag=0x0,
backtrace_before_throw=0x0) at eval.c:1552
#43 0x000000000048b6a0 in initial_command_loop (load_me=38433248)
at cmdloop.c:313
#44 0x00000000004c93ba in xemacs_21_5_b28_x86_64_unknown_linux (argc=1,
argv=0x7fff905f6008, unused_envp=0x0, restart=0) at emacs.c:2668
#45 0x00000000004c9e84 in main (argc=1, argv=0x7fff905f6008,
unused_envp=0x7fff905f6018) at emacs.c:3112
(gdb)
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux workhard 2.6.24-1-amd64 #1 SMP Thu Mar 27 16:52:38 UTC 2008 x86_64
GNU/Linux
../configure '--with-athena=3d'
'--with-xft=emacs,nomenubars,notabs,nogauges' '--with-mule'
'--with-kkcc' '--with-newgc' '--with-pdump'
'--with-dump-in-exec'
XEmacs 21.5-b28 "fuki" 279739019e5c configured for `x86_64-unknown-linux'.
Compilation Environment and Installation Defaults:
Source code location: /home/fktpp/workspace/xemacs
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Not using any machine description file
Compiler version: gcc (GCC) 4.2.3 (Debian 4.2.3-3)
- GCC specs file: specs.
- Compiler command: gcc -Wall -Wno-switch -Wundef -Wsign-compare
-Wno-char-subscripts -Wpacked -Wunused-parameter -g
libc version: GNU libc 2.7-10 (Debian)
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:
- X Windows libraries location:
- Handling WM_COMMAND properly.
- Using fontconfig to manage fonts.
- Compiling in support for Xft antialiased fonts (EXPERIMENTAL).
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.
- Using Xft to render antialiased fonts in progress bars.
WARNING: This feature will be replaced with a face.
WARNING: This feature not yet implemented; setting ignored.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
WARNING: -----------------------------------------------------------
WARNING: Compiling without PNG image support.
WARNING: You should strongly consider installing the PNG libraries.
WARNING: Otherwise certain images and glyphs may not display.
WARNING: (a copy may be found in
ftp://ftp.xemacs.org/pub/xemacs/aux)
WARNING: -----------------------------------------------------------
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
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 "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 incremental garbage collector and the new allocator.
Using POSIX sigaction() to install fault handler.
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:
----------------------
(/usr/share/emacs/site-lisp/mercurial
/home/fktpp/.xemacs/xemacs-packages/lisp/vc/mercurial
/home/fktpp/.xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
/usr/local/share/xemacs-21.5-b28/lisp/easy-mmode
/home/fktpp/.xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
/usr/local/share/xemacs-21.5-b28/lisp/regexp-opt)
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 : zh_CN.UTF-8
Lisp locale settings:
current-language-environment => "Chinese-GB (UTF-8)"
default-buffer-file-coding-system => utf-8
default-process-coding-system => (undecided . utf-8)
(current-locale) => "zh_CN.UTF-8"
keyboard-coding-system => utf-8
terminal-coding-system => utf-8
(coding-priority-list) =>
(utf-8 iso-8-2 big5 iso-7 utf-16-little-endian-bom utf-16-bom
utf-8-bom no-conversion iso-8-1 iso-8-designate iso-lock-shift
shift-jis utf-16-little-endian utf-16 ucs-4)
Coding system aliases:
'native is aliased to utf-8
'file-name is aliased to native
'mswindows-multibyte-system-default is not a coding system alias
Installed XEmacs Packages:
-------------------------
(xemacs-devel ver: 1.78 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.16 upstream: No-Upstream-Ver)
(vc ver: 1.45 upstream: No-Upstream-Ver)
(tramp ver: 1.4 upstream: 2.0.56)
(time ver: 1.14 upstream: 1.17)
(text-modes ver: 1.95 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(supercite ver: 1.21 upstream: 3.55x3)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sounds-au ver: 1.12 upstream: No-Upstream-Ver)
(sh-script ver: 1.24 upstream: 2.0f)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(python-modes ver: 1.1 upstream: 426)
(psgml ver: 1.45 upstream: 1.3.2)
(prog-modes ver: 2.16 upstream: No-Upstream-Ver)
(perl-modes ver: 1.14 upstream: No-Upstream-Ver)
(pcomplete ver: 1.04 upstream: 1.1.6)
(pcl-cvs ver: 1.68 upstream: R-2_9_9)
(os-utils ver: 1.4 upstream: No-Upstream-Ver)
(net-utils ver: 1.56 upstream: N/A)
(mail-lib ver: 1.79 upstream: No-Upstream-Ver)
(ispell ver: 1.32 upstream: 3.6)
(igrep ver: 1.16 upstream: 2.111)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(gnus ver: 1.93 upstream: 5.10.8)
(general-docs ver: 1.05 upstream: No-Upstream-Ver)
(fsf-compat ver: 1.17 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eterm ver: 1.17 upstream: No-Upstream-Ver)
(eshell ver: 1.12 upstream: 2.4.1)
(erc ver: 0.21 upstream: Version 5.1.2 Revision: 1.796.2.6)
(elib ver: 1.13 upstream: 1.0)
(efs ver: 1.34 upstream: 1.24)
(edit-utils ver: 2.38 upstream: No-Upstream-Ver)
(ediff ver: 1.75 upstream: 2.75)
(edebug ver: 1.22 upstream: No-Upstream-Ver)
(ecrypto ver: 0.2 upstream: 2.0)
(easypg ver: 1.02 upstream: 0.0.16)
(dired ver: 1.19 upstream: 7.16)
(debug ver: 1.18 upstream: No-Upstream-Ver)
(cc-mode ver: 1.45 upstream: 5.30.10)
(calendar ver: 1.36 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
(bbdb ver: 1.32 upstream: 2.35)
Installed Modules:
-----------------
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 gdb debug-toolbar shell
comint ring dired-faces dired-xemacs dired timer-funcs lazy-lock
lazy-shot font-lock gnuserv vc-hooks vc-xemacs paren mic-paren timer
cus-face icomplete jka-compr china-util xemacs-devel-autoloads
xemacs-base-autoloads vc-autoloads tramp-autoloads time-autoloads
text-modes-autoloads texinfo-autoloads supercite-autoloads
sounds-wav-autoloads sounds-au-autoloads sh-script-autoloads
ruby-modes-autoloads python-modes-autoloads psgml-autoloads
prog-modes-autoloads perl-modes-autoloads pcomplete-autoloads
pcl-cvs-autoloads os-utils-autoloads net-utils-autoloads
mail-lib-autoloads ispell-autoloads igrep-autoloads ibuffer-autoloads
gnus-autoloads general-docs-autoloads fsf-compat-autoloads
forms-autoloads footnote-autoloads eterm-autoloads eshell-autoloads
erc-autoloads elib-autoloads efs-autoloads edit-utils-autoloads
ediff-autoloads edebug-autoloads ecrypto-autoloads easypg-autoloads
dired-autoloads debug-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads bbdb-autoloads modules-autoloads
mule-autoloads auto-autoloads auto-show fontl-hooks canna-leim tibetan
slovenian czech romanian lao devanagari indian cyrillic 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 fontconfig frame obsolete cus-start custom widget cl-extra
cl cl-19 packages backquote unicode font-mgr lucid-scrollbars
cut-buffer xft-fonts 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 gif jpeg xpm xbm
lisp-float-type file-coding linux dialog devices window-system base64)
Recent keystrokes:
-----------------
C-s C-s C-s C-a C-s e m a c s RET RET M-x e BS g d
b RET s r TAB C-g C-s s r c C-s RET RET M-x g d b RET
x e m TAB RET r u n RET l b t RET M-v M-v C-v C-v C-v
M-v M-v C-v M-v M-v M-> b t RET M-v M-> M-v M-v M->
r u n RET b t RET M-v M-v M-v M-v M-v C-v C-v C-v C-v
C-v M-> M-v M-< M-> M-x r e p o r TAB x e m TAB RE
T
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Alert: ("unchecked charset" #<charset jit-ucs-charset-0
"jit-ucs-charset-0" "Mule charset for otherwise unknown Unicode code
points." "Mule charset for otherwise unknown Unicode code points." 96x96
l2r cols=1 g0 final='0' reg=[iso10646-1] 0x5f928>)
Reading directory /home/fktpp/workspace/xemacs/src/...done
Reading directory /home/fktpp/workspace/xemacs/src/...
Quit
Loading gdb...done
Loading gdb...
Reading directory /home/fktpp/workspace/xemacs/...done
Reading directory /home/fktpp/workspace/xemacs/...
Reading directory /home/fktpp/workspace/...done
Reading directory /home/fktpp/workspace/...
Loading dired...done
Loading dired-mule...done
Loading dired-mule...
Loading dired...
Quit
Loading timer-funcs...done
Loading timer-funcs...
Loading gnuserv...done
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta