Sorry to take so long...
After "up 9", "pobj client_data" returns:
No symbol "lrecord_type_fc_objectset" in current context.
even after sourcing .gdbinit.
However, since instance == client_data:
(gdb) p *instance
$5 = {widget = 0x889d270, parent = 0x88680e0, pop_up_p = 0 '\0', info =
0x888a848, next = 0x0}
(gdb) p *(instance->widget)
$6 = {core = {self = 0x889d270, widget_class = 0x8513a00, parent =
0x88680e0, xrm_name = 400, being_destroyed = 0 '\0', destroy_callbacks =
0x889f360, constraints = 0x0, x = 0, y = 0, width = 715, height = 24,
border_width = 1, managed = 1 '\001', sensitive = 1 '\001',
ancestor_sensitive = 1 '\001', event_table = 0x0, tm = {translations =
0x889d248, proc_table = 0x8867d40, current_state = 0x0, lastEventTime =
1208268510}, accelerators = 0x0, border_pixel = 0, border_pixmap = 2,
popup_list = 0x0, num_popups = 0, name = 0x86113e5 "menubar", screen =
0x867dbe0, colormap = 32, window = 50332039, depth = 24,
background_pixel = 13421772, background_pixmap = 2, visible = 1 '\001',
mapped_when_managed = 1 '\001'}}
(gdb) p *(instance->info)
$7 = {type = 0x888a878 "menubar", name = 0x888a888 "menubar", id =
65537, val = 0x888a898, busy = 0 '\0', pre_activate_cb = 0x823c168
<pre_activate_callback>, selection_cb = 0x8239e62
<popup_selection_callback>, post_activate_cb = 0, instances = 0x889d0f0,
next = 0x0}
(gdb) p *(instance->parent)
$8 = {core = {self = 0x88680e0, widget_class = 0x82a76c0, parent =
0x8867e58, xrm_name = 1092, being_destroyed = 0 '\0', destroy_callbacks
= 0x0, constraints = 0x0, x = 0, y = 0, width = 717, height = 855,
border_width = 0, managed = 1 '\001', sensitive = 1 '\001',
ancestor_sensitive = 1 '\001', event_table = 0x0, tm = {translations =
0x0, proc_table = 0x0, current_state = 0x0, lastEventTime = 0},
accelerators = 0x0, border_pixel = 0, border_pixmap = 2, popup_list =
0x0, num_popups = 0, name = 0x873aa72 "container", screen = 0x867dbe0,
colormap = 32, window = 50332038, depth = 24, background_pixel =
14474460, background_pixmap = 2, visible = 1 '\001', mapped_when_managed
= 1 '\001'}}
(Happy to oblige in any way...)
Barry
-----Original Message-----
From: Stephen J. Turnbull [mailto:stephenï¼ xemacs.org]
Sent: Saturday, April 22, 2006 9:54 AM
To: Barry Wandell
Cc: XEmacs Beta
Subject: Re: [Bug: 21.5-b26] Fatal error: assertion failed,
file menubar-x.c, line 579, ABORT()
>>>>> "Barry" == Barry Wandell <jwandell(a)cadence.com>
writes:
Barry> I'll save the corefile.
Good!
Please
cd /usr1/jwandell/emacs/xemacs-21.5.26/src ;; or wherever
xemacs was built
gdb /usr/local/bin/xemacs core
Then
up 9
pobj client_data
(I'm hoping it's a Lisp object.) Since I'm typing blind :-)
I'm not sure that's going to work as I would hope. If it says
"pobj not a valid command" or something like that, you need to
find the .gdbinit file; it is built in the same directory as
the xemacs binary as a normal part of the build process. use
the gdb "source" command to load it. If it gives some other
error, let us know and we'll try Plan B. (Well, you could try
"pobj 0x889d0f0", first.)
#0 0x403d9fd1 in kill () from /lib/tls/libc.so.6
#1 0x080cce0e in fatal_error_signal (sig=6) at emacs.c:3799
#2 <signal handler called>
#3 0x403d9cdf in raise () from /lib/tls/libc.so.6
#4 0x403db4e5 in abort () from /lib/tls/libc.so.6
#5 0x080ce1ae in really_abort () at emacs.c:4692
#6 0x080ccf01 in assert_failed (file=0x8299f60 "menubar-x.c",
line=579, expr=0x829a24f "ABORT()") at emacs.c:3985
#7 0x0823c5ed in set_frame_menubar (f=0x8864b78, deep_p=1,
first_time_p=0) at menubar-x.c:579
#8 0x0823c3ba in pre_activate_callback (widget=0x889d270,
unused_id=65537, client_data=0x0) at menubar-x.c:514
#9 0x0825edd0 in pre_hook (w=0x889d270,
client_data=0x889d0f0, call_data=0x0) at lwlib-Xlw.c:82
--
School of Systems and Information Engineering
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1
Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.