>>>>> "Andy" == Andy Piper <andy(a)xemacs.org> writes:
Andy> Could you try this patch instead of the other one and let me know if it
Andy> makes any difference.
Ok, I applied that patch and I got another crash. I don't remember
what the tabs were at the time, but I clicked on one in VM and xemacs
said good-bye.
C traceback below.
If it helps, here's some debug info. In DrawHighlight, child is:
(gdb) p *child
$2 = {core = {self = 0x1958e00, widget_class = 0x16c9000, parent = 0xb81af8, xrm_name = 12065556,
being_destroyed = 0 '\000', destroy_callbacks = 0x0, constraints = 0x0, x = 0, y = 0,
width = 0, height = 0, border_width = 0, managed = 0 '\000', sensitive = 0 '\000',
ancestor_sensitive = 0 '\000', event_table = 0x0, tm = {translations = 0x0, proc_table = 0x0,
current_state = 0x0, lastEventTime = 0}, accelerators = 0x0, border_pixel = 0,
border_pixmap = 0, popup_list = 0x0, num_popups = 0, name = 0x0, screen = 0x0, colormap = 0,
window = 0, depth = 0, background_pixel = 0, background_pixmap = 0, visible = 0 '\000',
mapped_when_managed = 0 '\000'}}
so child->core.constraints is NULL.
Ray
#0 0xfeb16870 in _libc_kill () from /usr/lib/libc.so.1
#1 0xa7cc8 in fatal_error_signal (sig=11) at emacs.c:278
#2 <signal handler called>
#3 DrawHighlight (tw=0x16f9400, child=0x18d5c00, undraw=1) at xlwtabs.c:1569
#4 0x23eeb8 in XawTabsSetTop (w=0xc52200, callCallbacks=1) at xlwtabs.c:1273
#5 0x23e970 in TabsSelect (w=0x16f9400, event=0xd, params=0x0, num_params=0xfeeee054)
at xlwtabs.c:1073
#6 0xfeecb060 in HandleActions () from /apps/public/solaris2.7/X11R6.4/lib/libXt.so.6.0
#7 0xfeecb76c in HandleSimpleState () from /apps/public/solaris2.7/X11R6.4/lib/libXt.so.6.0
#8 0xfeecbe70 in _XtTranslateEvent () from /apps/public/solaris2.7/X11R6.4/lib/libXt.so.6.0
#9 0xfeea1828 in XtDispatchEventToWidget () from /apps/public/solaris2.7/X11R6.4/lib/libXt.so.6.0
#10 0xfeea2470 in _XtDefaultDispatcher () from /apps/public/solaris2.7/X11R6.4/lib/libXt.so.6.0
#11 0xfeea2700 in XtDispatchEvent () from /apps/public/solaris2.7/X11R6.4/lib/libXt.so.6.0
#12 0xfeeaffd0 in XtAppProcessEvent () from /apps/public/solaris2.7/X11R6.4/lib/libXt.so.6.0
#13 0x1ff524 in emacs_Xt_next_event (emacs_event=0xc87500) at event-Xt.c:2398
#14 0x10086c in event_stream_next_event (event=0xc87500) at event-stream.c:566
#15 0x1038f0 in next_event_internal (target_event=13137152, allow_queued=1) at event-stream.c:2021
#16 0x104040 in Fnext_event (event=13137152, prompt=3119108) at event-stream.c:2238
#17 0x8a020 in Fcommand_loop_1 () at cmdloop.c:566
#18 0x89d7c in command_loop_1 (dummy=3119108) at cmdloop.c:490
#19 0xae284 in condition_case_1 (handlers=2902016, bfun=0x89d18 <command_loop_1>, barg=3119108,
hfun=0x8a204 <cmd_error>, harg=3119108) at eval.c:1629
#20 0x8a314 in command_loop_2 (dummy=3119108) at cmdloop.c:252
#21 0xaddd0 in internal_catch (tag=3201364, func=0x8a2c8 <command_loop_2>, arg=3119108, threw=0x0)
at eval.c:1304
#22 0x89590 in initial_command_loop (load_me=565960) at cmdloop.c:301
#23 0xa98c4 in xemacs_21_2_b27_sparc_sun_solaris2_7 (argc=4, argv=0xffbeeddc, envp=0xffbeedf0,
restart=0) at emacs.c:1906
#24 0xaa0fc in main (argc=4, argv=0xffbeeddc, envp=0xffbeedf0) at emacs.c:2331