I put breakpoints on TabsResize and TabsExpose. After hitting the 6th
breakpoint, the infinite loop seems to start.
I have code in my .emacs that turns off tabs that may be being run.
(defmacro safe-set-specifier (specifier value)
`(when (and (boundp ',specifier)
(specifierp ,specifier))
(set-specifier ,specifier ,value)))
(safe-set-specifier default-gutter-visible-p nil)
Good Luck....
(gdb) br TabsExpose
Breakpoint 1 at 0x81eedf3: file /xemacs/ws/dev/lwlib/xlwtabs.c, line 588.
(gdb) br TabsResize
Breakpoint 2 at 0x81eec47: file /xemacs/ws/dev/lwlib/xlwtabs.c, line 524.
(gdb) define foo
>where 4
>cont
>end
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /xemacs/build/ud9/./src/xemacs
Breakpoint 2, TabsResize (w=0x855c730) at /xemacs/ws/dev/lwlib/xlwtabs.c:524
524 TabsWidget tw = (TabsWidget) w;
(gdb) foo
#0 TabsResize (w=0x855c730) at /xemacs/ws/dev/lwlib/xlwtabs.c:524
#1 0x81ef70d in TabsChangeManaged (w=0x855c730) at /xemacs/ws/dev/lwlib/xlwtabs.c:963
#2 0x40124b85 in ManageChildren ()
#3 0x40124d1d in XtManageChildren ()
Breakpoint 1, TabsExpose (w=0x855c730, event=0x0, region=0x0) at /xemacs/ws/dev/lwlib/xlwtabs.c:588
588 TabsWidget tw = (TabsWidget) w;
(gdb)
#0 TabsExpose (w=0x855c730, event=0x0, region=0x0) at /xemacs/ws/dev/lwlib/xlwtabs.c:588
#1 0x81eedd8 in TabsResize (w=0x855c730) at /xemacs/ws/dev/lwlib/xlwtabs.c:573
#2 0x81ef70d in TabsChangeManaged (w=0x855c730) at /xemacs/ws/dev/lwlib/xlwtabs.c:963
#3 0x40124b85 in ManageChildren ()
Breakpoint 1, TabsExpose (w=0x855c730, event=0x0, region=0x0) at /xemacs/ws/dev/lwlib/xlwtabs.c:588
588 TabsWidget tw = (TabsWidget) w;
(gdb)
#0 TabsExpose (w=0x855c730, event=0x0, region=0x0) at /xemacs/ws/dev/lwlib/xlwtabs.c:588
#1 0x81ef761 in TabsChangeManaged (w=0x855c730) at /xemacs/ws/dev/lwlib/xlwtabs.c:968
#2 0x40124b85 in ManageChildren ()
#3 0x40124d1d in XtManageChildren ()
Breakpoint 2, TabsResize (w=0x855c730) at /xemacs/ws/dev/lwlib/xlwtabs.c:524
524 TabsWidget tw = (TabsWidget) w;
(gdb)
#0 TabsResize (w=0x855c730) at /xemacs/ws/dev/lwlib/xlwtabs.c:524
#1 0x40130823 in XtSetValues ()
#2 0x81b9e8b in update_widget_face (ii=0x855b6d8, domain={gu = {type = Lisp_Type_Record, val = 34912048}, s = {bits = 0, val = 69824096}, u = {bits = 0, val = 69824096}, ui = 139648192, i = 139648192, v = 0x852dcc0, cv = 0x852dcc0}) at /xemacs/ws/dev/src/glyphs-x.c:2352
#3 0x81ba59c in x_widget_instantiate (image_instance={gu = {type = Lisp_Type_Record, val = 34958774}, s = {bits = 0, val = 69917548}, u = {bits = 0, val = 69917548}, ui = 139835096, i = 139835096, v = 0x855b6d8, cv = 0x855b6d8}, instantiator={gu = {type = Lisp_Type_Record, val = 34958406}, s = {bits = 0, val = 69916812}, u = {bits = 0, val = 69916812}, ui = 139833624, i = 139833624, v = 0x855b118, cv = 0x855b118}, pointer_fg={gu = {type = Lisp_Type_Record, val = 34237653}, s = {bits = 0, val = 68475306}, u = {bits = 0, val = 68475306}, ui = 136950612, i = 136950612, v = 0x829b354, cv = 0x829b354}, pointer_bg={gu = {type = Lisp_Type_Record, val = 34237653}, s = {bits = 0, val = 68475306}, u = {bits = 0, val = 68475306}, ui = 136950612, i = 136950612, v = 0x829b354, cv = 0x829b354}, dest_mask=239, domain={gu = {type = Lisp_Type_Record, val = 34912048}, s = {bits = 0, val = 69824096}, u = {bits = 0, val = 69824096}, ui = 139648192, i = 139648192, v = 0x852dcc0, cv = 0x852dcc0}, type=0x824616d "tab-control", wv=0x8531960) at /xemacs/ws/dev/src/glyphs-x.c:2454
Breakpoint 1, TabsExpose (w=0x855c730, event=0x0, region=0x0) at /xemacs/ws/dev/lwlib/xlwtabs.c:588
588 TabsWidget tw = (TabsWidget) w;
(gdb)
#0 TabsExpose (w=0x855c730, event=0x0, region=0x0) at /xemacs/ws/dev/lwlib/xlwtabs.c:588
#1 0x81eedd8 in TabsResize (w=0x855c730) at /xemacs/ws/dev/lwlib/xlwtabs.c:573
#2 0x40130823 in XtSetValues ()
#3 0x81b9e8b in update_widget_face (ii=0x855b6d8, domain={gu = {type = Lisp_Type_Record, val = 34912048}, s = {bits = 0, val = 69824096}, u = {bits = 0, val = 69824096}, ui = 139648192, i = 139648192, v = 0x852dcc0, cv = 0x852dcc0}) at /xemacs/ws/dev/src/glyphs-x.c:2352
Breakpoint 2, TabsResize (w=0x855c730) at /xemacs/ws/dev/lwlib/xlwtabs.c:524
524 TabsWidget tw = (TabsWidget) w;
(gdb)
#0 TabsResize (w=0x855c730) at /xemacs/ws/dev/lwlib/xlwtabs.c:524
#1 0x81eee17 in TabsExpose (w=0x855c730, event=0x0, region=0x0) at /xemacs/ws/dev/lwlib/xlwtabs.c:591
#2 0x81eedd8 in TabsResize (w=0x855c730) at /xemacs/ws/dev/lwlib/xlwtabs.c:573
#3 0x40130823 in XtSetValues ()
Breakpoint 1, TabsExpose (w=0x855c730, event=0x0, region=0x0) at /xemacs/ws/dev/lwlib/xlwtabs.c:588
588 TabsWidget tw = (TabsWidget) w;
(gdb)
#0 TabsExpose (w=0x855c730, event=0x0, region=0x0) at /xemacs/ws/dev/lwlib/xlwtabs.c:588
#1 0x81eedd8 in TabsResize (w=0x855c730) at /xemacs/ws/dev/lwlib/xlwtabs.c:573
#2 0x81eee17 in TabsExpose (w=0x855c730, event=0x0, region=0x0) at /xemacs/ws/dev/lwlib/xlwtabs.c:591
#3 0x81eedd8 in TabsResize (w=0x855c730) at /xemacs/ws/dev/lwlib/xlwtabs.c:573
Breakpoint 2, TabsResize (w=0x855c730) at /xemacs/ws/dev/lwlib/xlwtabs.c:524
524 TabsWidget tw = (TabsWidget) w;
(gdb)