On Wed, Nov 07, 2007 at 03:54:30PM +0900, Stephen J. Turnbull wrote:
FKtPp writes:
> > do you also have a lisp Backtrace show where in erc the crash happens?
> >
>
> Sorry, for now I don't know how to produce that from a XEmacs crash...
After sourcing .gdbinit and crashing, try lbt in gdb.
Well, rewroked as you wish.
--8<---------------cut here---------------start------------->8---
Fatal error: assertion failed, file print.c, line 1522, ABORT()
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x2ad8295aa1e0 (LWP 4658)]
0x00002ad8285a36a5 in raise () from /lib/libc.so.6
(gdb) lpt
Undefined command: "lpt". Try "help".
(gdb) lbt
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (print-message-label)
display-error((invalid-function #<EMACS BUG: freed lrecord object 0x111dac0 Save your
buffers immediately and please report this bug>) t)
# bind (etype debug-on-error inhibit-quit error-object)
command-error((invalid-function #<EMACS BUG: freed lrecord object 0x111dac0 Save your
buffers immediately and please report this bug>))
# (catch top-level ...)
(gdb) up 9
#9 0x0000000000470d81 in execute_optimized_program (
program=0x151c910 "�\033�\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+�\207q", stack_depth=6, constants_data=0xb133d0)
at bytecode.c:862
(gdb) pobj constants_data
Unknown Lisp Object type
$1 = (Lisp_Object *) 0xb133d0
(gdb) down 1
#8 0x00000000004b5d16 in Ffuncall (nargs=3, args=0x7fff847e0768)
at eval.c:3928
(gdb) pobj args[0]
$2 = (struct Lisp_Symbol *) 0x9b1af0
$3 = {lheader = {type = 4, mark = 0, c_readonly = 0, lisp_readonly = 0,
uid = 3897}, next = 0x0, name = 12653648, value = 9672544,
function = 10266152, plist = 10223248}
Symbol name: display-error
(gdb) ldp args[0]
Lisp => display-error
(gdb) pobj args[1]
$4 = (struct Lisp_Cons *) 0x11ecb00
$5 = {lheader = {type = 6, mark = 0, c_readonly = 0, lisp_readonly = 0,
uid = 392708}, car_ = 10034704, cdr_ = 18794496}
(gdb) ldp args[1]
Lisp => (invalid-function #<EMACS BUG: freed lrecord object 0x111dac0 Save your
buffers immediately and please report this bug>)
(gdb) pobj args[2]
$6 = (struct Lisp_Symbol *) 0x9bf8c0
$7 = {lheader = {type = 4, mark = 0, c_readonly = 0, lisp_readonly = 0,
uid = 264}, next = 0x0, name = 12705424, value = 10221760,
function = 9672544, plist = 10223248}
Symbol name: t
(gdb) ldp args[2]
Lisp => t
(gdb)
--8<---------------cut here---------------end--------------->8---
--
ENCODING
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta