bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46827: Broken initial size of GTK3 frame


From: martin rudalics
Subject: bug#46827: Broken initial size of GTK3 frame
Date: Mon, 1 Mar 2021 10:46:34 +0100

> But so far I have no idea
> why font cache issues would have any impact on the order of how things
> get executed here.

One clue I found is this: With a "good" run, update_frame_tool_bar gets
called three times with an existing FRAME_GTK_WIDGET, with a "bad" run
it gets called four times before the initial frame appears.  The two
traces below are for Emacs 27 where the first, "good" one is without the
zero_vector assignment and the second, "bad" one is with it.

martin


WITHOUT zero_vector:

Thread 1 "emacs" hit Breakpoint 3, update_frame_tool_bar (f=0x1456d70) at 
../../src/gtkutil.c:4948
4948      block_input ();
(gdb) bt
#0  0x0000000000621c5c in update_frame_tool_bar (f=0x1456d70) at 
../../src/gtkutil.c:4948
#1  0x0000000000619fd7 in xg_create_frame_widgets (f=0x1456d70) at 
../../src/gtkutil.c:1294
#2  0x00000000005e5607 in x_window (f=0x1456d70) at ../../src/xfns.c:3194
#3  0x00000000005e7eb1 in Fx_create_frame (parms=XIL(0x105e383)) at 
../../src/xfns.c:4055
#4  0x00000000007b4852 in funcall_subr (subr=0xf8f0c0 <Sx_create_frame>, 
numargs=1, args=0x7fffffffb568) at ../../src/eval.c:2872
#5  0x00000000007b431c in Ffuncall (nargs=2, args=0x7fffffffb560) at 
../../src/eval.c:2799
#6  0x0000000000837a9d in exec_byte_code (bytestr=XIL(0x7ffff3e3ee6c), 
vector=XIL(0x7ffff3e3df85), maxdepth=make_fixnum(13), 
args_template=make_fixnum(256), nargs=1, args=0x7fffffffba80) at 
../../src/bytecode.c:633
#7  0x00000000007b4fa0 in funcall_lambda (fun=XIL(0x7ffff3e3df55), nargs=1, 
arg_vector=0x7fffffffba78) at ../../src/eval.c:2994
#8  0x00000000007b4360 in Ffuncall (nargs=2, args=0x7fffffffba70) at 
../../src/eval.c:2801
#9  0x0000000000837a9d in exec_byte_code (bytestr=XIL(0x7ffff3e3eeac), 
vector=XIL(0x7ffff3e3df15), maxdepth=make_fixnum(3), 
args_template=make_fixnum(257), nargs=1, args=0x7fffffffc0a0) at 
../../src/bytecode.c:633
#10 0x00000000007b4fa0 in funcall_lambda (fun=XIL(0x7ffff3e3dec5), nargs=1, 
arg_vector=0x7fffffffc098) at ../../src/eval.c:2994
#11 0x00000000007b4360 in Ffuncall (nargs=2, args=0x7fffffffc090) at 
../../src/eval.c:2801
#12 0x00000000007b318e in Fapply (nargs=2, args=0x7fffffffc090) at 
../../src/eval.c:2386
#13 0x00000000007b4746 in funcall_subr (subr=0xf97cc0 <Sapply>, numargs=2, 
args=0x7fffffffc090) at ../../src/eval.c:2852
#14 0x00000000007b431c in Ffuncall (nargs=3, args=0x7fffffffc088) at 
../../src/eval.c:2799
#15 0x0000000000837a9d in exec_byte_code (bytestr=XIL(0x7ffff3cfbc7c), 
vector=XIL(0x7ffff3e3ba7d), maxdepth=make_fixnum(15), 
args_template=make_fixnum(128), nargs=1, args=0x7fffffffc5c8) at 
../../src/bytecode.c:633
#16 0x00000000007b4fa0 in funcall_lambda (fun=XIL(0x7ffff3e3ba4d), nargs=1, 
arg_vector=0x7fffffffc5c8) at ../../src/eval.c:2994
#17 0x00000000007b4360 in Ffuncall (nargs=2, args=0x7fffffffc5c0) at 
../../src/eval.c:2801
#18 0x0000000000837a9d in exec_byte_code (bytestr=XIL(0x7ffff3e4e5cc), 
vector=XIL(0x7ffff3c1f21d), maxdepth=make_fixnum(14), 
args_template=make_fixnum(256), nargs=1, args=0x7fffffffcba8) at 
../../src/bytecode.c:633
#19 0x00000000007b4fa0 in funcall_lambda (fun=XIL(0x7ffff3c1f1e5), nargs=1, 
arg_vector=0x7fffffffcba0) at ../../src/eval.c:2994
#20 0x00000000007b4360 in Ffuncall (nargs=2, args=0x7fffffffcb98) at 
../../src/eval.c:2801
#21 0x0000000000837a9d in exec_byte_code (bytestr=XIL(0x7ffff400baa4), 
vector=XIL(0x7ffff400b9fd), maxdepth=make_fixnum(6), 
args_template=make_fixnum(0), nargs=0, args=0x7fffffffd090) at 
../../src/bytecode.c:633
#22 0x00000000007b4fa0 in funcall_lambda (fun=XIL(0x7ffff400b9cd), nargs=0, 
arg_vector=0x7fffffffd090) at ../../src/eval.c:2994
#23 0x00000000007b4360 in Ffuncall (nargs=1, args=0x7fffffffd088) at 
../../src/eval.c:2801
#24 0x0000000000837a9d in exec_byte_code (bytestr=XIL(0x7ffff4011b5c), 
vector=XIL(0x7ffff400dbdd), maxdepth=make_fixnum(14), 
args_template=make_fixnum(0), nargs=0, args=0x7fffffffdbd8) at 
../../src/bytecode.c:633
#25 0x00000000007b4fa0 in funcall_lambda (fun=XIL(0x7ffff400dbad), nargs=0, 
arg_vector=0x7fffffffdbd8) at ../../src/eval.c:2994
#26 0x00000000007b4360 in Ffuncall (nargs=1, args=0x7fffffffdbd0) at 
../../src/eval.c:2801
#27 0x0000000000837a9d in exec_byte_code (bytestr=XIL(0x7ffff401282c), 
vector=XIL(0x7ffff4011d2d), maxdepth=make_fixnum(12), 
args_template=make_fixnum(0), nargs=0, args=0x7fffffffe220) at 
../../src/bytecode.c:633
#28 0x00000000007b4fa0 in funcall_lambda (fun=XIL(0x7ffff4011cfd), nargs=0, 
arg_vector=0x7fffffffe220) at ../../src/eval.c:2994
#29 0x00000000007b4bd7 in apply_lambda (fun=XIL(0x7ffff4011cfd), args=XIL(0), 
count=4) at ../../src/eval.c:2931
#30 0x00000000007b2dd3 in eval_sub (form=XIL(0x7ffff416d89b)) at 
../../src/eval.c:2323
#31 0x00000000007b2163 in Feval (form=XIL(0x7ffff416d89b), lexical=XIL(0)) at 
../../src/eval.c:2107
#32 0x000000000064af57 in top_level_2 () at ../../src/keyboard.c:1100
#33 0x00000000007b0300 in internal_condition_case (bfun=0x64af34 <top_level_2>, 
handlers=XIL(0x90), hfun=0x64a933 <cmd_error>) at ../../src/eval.c:1360
#34 0x000000000064af9f in top_level_1 (ignore=XIL(0)) at 
../../src/keyboard.c:1108
#35 0x00000000007af7b4 in internal_catch (tag=XIL(0xd110), func=0x64af59 
<top_level_1>, arg=XIL(0)) at ../../src/eval.c:1121
#36 0x000000000064ae7e in command_loop () at ../../src/keyboard.c:1069
#37 0x000000000064a41a in recursive_edit_1 () at ../../src/keyboard.c:714
#38 0x000000000064a612 in Frecursive_edit () at ../../src/keyboard.c:786
#39 0x0000000000640a1b in main (argc=4, argv=0x7fffffffe798) at 
../../src/emacs.c:2066

Lisp Backtrace:
"x-create-frame" (0xffffb568)
"x-create-frame-with-faces" (0xffffba78)
0xf3e3dec0 PVEC_COMPILED
"apply" (0xffffc090)
"frame-creation-function" (0xffffc5c8)
"make-frame" (0xffffcba0)
"frame-initialize" (0xffffd090)
"command-line" (0xffffdbd8)
"normal-top-level" (0xffffe220)
(gdb) c
Continuing.
[Switching to thread 4 (Thread 0x7ffff1c7e700 (LWP 10050))](running)

Thread 1 "emacs" hit Breakpoint 3, update_frame_tool_bar (f=0x1456d70) at 
../../src/gtkutil.c:4948
4948      block_input ();
(gdb) bt
#0  0x0000000000621c5c in update_frame_tool_bar (f=0x1456d70) at 
../../src/gtkutil.c:4948
#1  0x000000000048748f in redisplay_tool_bar (f=0x1456d70) at 
../../src/xdisp.c:14161
#2  0x000000000049686c in redisplay_window (window=XIL(0x14bf815), 
just_this_one_p=false) at ../../src/xdisp.c:19074
#3  0x000000000048beeb in redisplay_window_0 (window=XIL(0x14bf815)) at 
../../src/xdisp.c:16328
#4  0x00000000007b03db in internal_condition_case_1 (bfun=0x48bea9 
<redisplay_window_0>, arg=XIL(0x14bf815), handlers=XIL(0x7ffff3e9921b), hfun=0x48be71 
<redisplay_window_error>) at ../../src/eval.c:1384
#5  0x000000000048be43 in redisplay_windows (window=XIL(0x14bf815)) at 
../../src/xdisp.c:16308
#6  0x000000000048bdf5 in redisplay_windows (window=XIL(0x134be45)) at 
../../src/xdisp.c:16302
#7  0x000000000048a871 in redisplay_internal () at ../../src/xdisp.c:15776
#8  0x0000000000488458 in redisplay () at ../../src/xdisp.c:14998
#9  0x000000000064f2da in read_char (commandflag=1, map=XIL(0x18b5833), 
prev_event=XIL(0), used_mouse_menu=0x7fffffffe10f, end_time=0x0) at 
../../src/keyboard.c:2493
#10 0x000000000066221b in read_key_sequence (keybuf=0x7fffffffe2a0, 
prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, 
fix_current_buffer=true, prevent_redisplay=false) at ../../src/keyboard.c:9554
#11 0x000000000064b7a0 in command_loop_1 () at ../../src/keyboard.c:1350
#12 0x00000000007b0300 in internal_condition_case (bfun=0x64b324 <command_loop_1>, 
handlers=XIL(0x90), hfun=0x64a933 <cmd_error>) at ../../src/eval.c:1360
#13 0x000000000064af09 in command_loop_2 (ignore=XIL(0)) at 
../../src/keyboard.c:1091
#14 0x00000000007af7b4 in internal_catch (tag=XIL(0xd110), func=0x64aedc 
<command_loop_2>, arg=XIL(0)) at ../../src/eval.c:1121
#15 0x000000000064aea7 in command_loop () at ../../src/keyboard.c:1070
#16 0x000000000064a41a in recursive_edit_1 () at ../../src/keyboard.c:714
#17 0x000000000064a612 in Frecursive_edit () at ../../src/keyboard.c:786
#18 0x0000000000640a1b in main (argc=4, argv=0x7fffffffe798) at 
../../src/emacs.c:2066

Lisp Backtrace:
"redisplay_internal (C function)" (0x0)
(gdb) c
Continuing.
[Switching to thread 4 (Thread 0x7ffff1c7e700 (LWP 10050))](running)

Thread 1 "emacs" hit Breakpoint 3, update_frame_tool_bar (f=0x1456d70) at 
../../src/gtkutil.c:4948
4948      block_input ();
(gdb) bt
#0  0x0000000000621c5c in update_frame_tool_bar (f=0x1456d70) at 
../../src/gtkutil.c:4948
#1  0x000000000048748f in redisplay_tool_bar (f=0x1456d70) at 
../../src/xdisp.c:14161
#2  0x000000000049686c in redisplay_window (window=XIL(0x14bf815), 
just_this_one_p=false) at ../../src/xdisp.c:19074
#3  0x000000000048beeb in redisplay_window_0 (window=XIL(0x14bf815)) at 
../../src/xdisp.c:16328
#4  0x00000000007b03db in internal_condition_case_1 (bfun=0x48bea9 
<redisplay_window_0>, arg=XIL(0x14bf815), handlers=XIL(0x7ffff3e9921b), hfun=0x48be71 
<redisplay_window_error>) at ../../src/eval.c:1384
#5  0x000000000048be43 in redisplay_windows (window=XIL(0x14bf815)) at 
../../src/xdisp.c:16308
#6  0x000000000048bdf5 in redisplay_windows (window=XIL(0x134be45)) at 
../../src/xdisp.c:16302
#7  0x000000000048a871 in redisplay_internal () at ../../src/xdisp.c:15776
#8  0x0000000000488458 in redisplay () at ../../src/xdisp.c:14998
#9  0x000000000064f2da in read_char (commandflag=1, map=XIL(0x18b5833), 
prev_event=XIL(0), used_mouse_menu=0x7fffffffe10f, end_time=0x0) at 
../../src/keyboard.c:2493
#10 0x000000000066221b in read_key_sequence (keybuf=0x7fffffffe2a0, 
prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, 
fix_current_buffer=true, prevent_redisplay=false) at ../../src/keyboard.c:9554
#11 0x000000000064b7a0 in command_loop_1 () at ../../src/keyboard.c:1350
#12 0x00000000007b0300 in internal_condition_case (bfun=0x64b324 <command_loop_1>, 
handlers=XIL(0x90), hfun=0x64a933 <cmd_error>) at ../../src/eval.c:1360
#13 0x000000000064af09 in command_loop_2 (ignore=XIL(0)) at 
../../src/keyboard.c:1091
#14 0x00000000007af7b4 in internal_catch (tag=XIL(0xd110), func=0x64aedc 
<command_loop_2>, arg=XIL(0)) at ../../src/eval.c:1121
#15 0x000000000064aea7 in command_loop () at ../../src/keyboard.c:1070
#16 0x000000000064a41a in recursive_edit_1 () at ../../src/keyboard.c:714
#17 0x000000000064a612 in Frecursive_edit () at ../../src/keyboard.c:786
#18 0x0000000000640a1b in main (argc=4, argv=0x7fffffffe798) at 
../../src/emacs.c:2066

Lisp Backtrace:
"redisplay_internal (C function)" (0x0)
(gdb) c
Continuing.
[Switching to thread 4 (Thread 0x7ffff1c7e700 (LWP 10050))](running)


WITH zero_vector:

Thread 1 "emacs" hit Breakpoint 3, update_frame_tool_bar (f=0x14369f0) at 
../../src/gtkutil.c:4948
4948      block_input ();
(gdb) bt
#0  0x0000000000621c5c in update_frame_tool_bar (f=0x14369f0) at 
../../src/gtkutil.c:4948
#1  0x0000000000619fd7 in xg_create_frame_widgets (f=0x14369f0) at 
../../src/gtkutil.c:1294
#2  0x00000000005e5607 in x_window (f=0x14369f0) at ../../src/xfns.c:3194
#3  0x00000000005e7eb1 in Fx_create_frame (parms=XIL(0x105e383)) at 
../../src/xfns.c:4055
#4  0x00000000007b4852 in funcall_subr (subr=0xf8f0c0 <Sx_create_frame>, 
numargs=1, args=0x7fffffffb568) at ../../src/eval.c:2872
#5  0x00000000007b431c in Ffuncall (nargs=2, args=0x7fffffffb560) at 
../../src/eval.c:2799
#6  0x0000000000837a86 in exec_byte_code (bytestr=XIL(0x7ffff3e3ee6c), 
vector=XIL(0x7ffff3e3df85), maxdepth=make_fixnum(13), 
args_template=make_fixnum(256), nargs=1, args=0x7fffffffba80) at 
../../src/bytecode.c:633
#7  0x00000000007b4fa0 in funcall_lambda (fun=XIL(0x7ffff3e3df55), nargs=1, 
arg_vector=0x7fffffffba78) at ../../src/eval.c:2994
#8  0x00000000007b4360 in Ffuncall (nargs=2, args=0x7fffffffba70) at 
../../src/eval.c:2801
#9  0x0000000000837a86 in exec_byte_code (bytestr=XIL(0x7ffff3e3eeac), 
vector=XIL(0x7ffff3e3df15), maxdepth=make_fixnum(3), 
args_template=make_fixnum(257), nargs=1, args=0x7fffffffc0a0) at 
../../src/bytecode.c:633
#10 0x00000000007b4fa0 in funcall_lambda (fun=XIL(0x7ffff3e3dec5), nargs=1, 
arg_vector=0x7fffffffc098) at ../../src/eval.c:2994
#11 0x00000000007b4360 in Ffuncall (nargs=2, args=0x7fffffffc090) at 
../../src/eval.c:2801
#12 0x00000000007b318e in Fapply (nargs=2, args=0x7fffffffc090) at 
../../src/eval.c:2386
#13 0x00000000007b4746 in funcall_subr (subr=0xf97cc0 <Sapply>, numargs=2, 
args=0x7fffffffc090) at ../../src/eval.c:2852
#14 0x00000000007b431c in Ffuncall (nargs=3, args=0x7fffffffc088) at 
../../src/eval.c:2799
#15 0x0000000000837a86 in exec_byte_code (bytestr=XIL(0x7ffff3cfbc7c), 
vector=XIL(0x7ffff3e3ba7d), maxdepth=make_fixnum(15), 
args_template=make_fixnum(128), nargs=1, args=0x7fffffffc5c8) at 
../../src/bytecode.c:633
#16 0x00000000007b4fa0 in funcall_lambda (fun=XIL(0x7ffff3e3ba4d), nargs=1, 
arg_vector=0x7fffffffc5c8) at ../../src/eval.c:2994
#17 0x00000000007b4360 in Ffuncall (nargs=2, args=0x7fffffffc5c0) at 
../../src/eval.c:2801
#18 0x0000000000837a86 in exec_byte_code (bytestr=XIL(0x7ffff3e4e5cc), 
vector=XIL(0x7ffff3c1f21d), maxdepth=make_fixnum(14), 
args_template=make_fixnum(256), nargs=1, args=0x7fffffffcba8) at 
../../src/bytecode.c:633
#19 0x00000000007b4fa0 in funcall_lambda (fun=XIL(0x7ffff3c1f1e5), nargs=1, 
arg_vector=0x7fffffffcba0) at ../../src/eval.c:2994
#20 0x00000000007b4360 in Ffuncall (nargs=2, args=0x7fffffffcb98) at 
../../src/eval.c:2801
#21 0x0000000000837a86 in exec_byte_code (bytestr=XIL(0x7ffff400baa4), 
vector=XIL(0x7ffff400b9fd), maxdepth=make_fixnum(6), 
args_template=make_fixnum(0), nargs=0, args=0x7fffffffd090) at 
../../src/bytecode.c:633
#22 0x00000000007b4fa0 in funcall_lambda (fun=XIL(0x7ffff400b9cd), nargs=0, 
arg_vector=0x7fffffffd090) at ../../src/eval.c:2994
#23 0x00000000007b4360 in Ffuncall (nargs=1, args=0x7fffffffd088) at 
../../src/eval.c:2801
#24 0x0000000000837a86 in exec_byte_code (bytestr=XIL(0x7ffff4011b5c), 
vector=XIL(0x7ffff400dbdd), maxdepth=make_fixnum(14), 
args_template=make_fixnum(0), nargs=0, args=0x7fffffffdbd8) at 
../../src/bytecode.c:633
#25 0x00000000007b4fa0 in funcall_lambda (fun=XIL(0x7ffff400dbad), nargs=0, 
arg_vector=0x7fffffffdbd8) at ../../src/eval.c:2994
#26 0x00000000007b4360 in Ffuncall (nargs=1, args=0x7fffffffdbd0) at 
../../src/eval.c:2801
#27 0x0000000000837a86 in exec_byte_code (bytestr=XIL(0x7ffff401282c), 
vector=XIL(0x7ffff4011d2d), maxdepth=make_fixnum(12), 
args_template=make_fixnum(0), nargs=0, args=0x7fffffffe220) at 
../../src/bytecode.c:633
#28 0x00000000007b4fa0 in funcall_lambda (fun=XIL(0x7ffff4011cfd), nargs=0, 
arg_vector=0x7fffffffe220) at ../../src/eval.c:2994
#29 0x00000000007b4bd7 in apply_lambda (fun=XIL(0x7ffff4011cfd), args=XIL(0), 
count=4) at ../../src/eval.c:2931
#30 0x00000000007b2dd3 in eval_sub (form=XIL(0x7ffff416d89b)) at 
../../src/eval.c:2323
#31 0x00000000007b2163 in Feval (form=XIL(0x7ffff416d89b), lexical=XIL(0)) at 
../../src/eval.c:2107
#32 0x000000000064af57 in top_level_2 () at ../../src/keyboard.c:1100
#33 0x00000000007b0300 in internal_condition_case (bfun=0x64af34 <top_level_2>, 
handlers=XIL(0x90), hfun=0x64a933 <cmd_error>) at ../../src/eval.c:1360
#34 0x000000000064af9f in top_level_1 (ignore=XIL(0)) at 
../../src/keyboard.c:1108
#35 0x00000000007af7b4 in internal_catch (tag=XIL(0xd110), func=0x64af59 
<top_level_1>, arg=XIL(0)) at ../../src/eval.c:1121
#36 0x000000000064ae7e in command_loop () at ../../src/keyboard.c:1069
#37 0x000000000064a41a in recursive_edit_1 () at ../../src/keyboard.c:714
#38 0x000000000064a612 in Frecursive_edit () at ../../src/keyboard.c:786
#39 0x0000000000640a1b in main (argc=4, argv=0x7fffffffe798) at 
../../src/emacs.c:2066

Lisp Backtrace:
"x-create-frame" (0xffffb568)
"x-create-frame-with-faces" (0xffffba78)
0xf3e3dec0 PVEC_COMPILED
"apply" (0xffffc090)
"frame-creation-function" (0xffffc5c8)
"make-frame" (0xffffcba0)
"frame-initialize" (0xffffd090)
"command-line" (0xffffdbd8)
"normal-top-level" (0xffffe220)
(gdb) c
Continuing.
[Switching to thread 4 (Thread 0x7ffff1c5d700 (LWP 10301))](running)

Thread 1 "emacs" hit Breakpoint 3, update_frame_tool_bar (f=0x14369f0) at 
../../src/gtkutil.c:4948
4948      block_input ();
(gdb) bt
#0  0x0000000000621c5c in update_frame_tool_bar (f=0x14369f0) at 
../../src/gtkutil.c:4948
#1  0x000000000048748f in redisplay_tool_bar (f=0x14369f0) at 
../../src/xdisp.c:14161
#2  0x000000000049686c in redisplay_window (window=XIL(0x149feb5), 
just_this_one_p=false) at ../../src/xdisp.c:19074
#3  0x000000000048beeb in redisplay_window_0 (window=XIL(0x149feb5)) at 
../../src/xdisp.c:16328
#4  0x00000000007b03db in internal_condition_case_1 (bfun=0x48bea9 
<redisplay_window_0>, arg=XIL(0x149feb5), handlers=XIL(0x7ffff3e9921b), hfun=0x48be71 
<redisplay_window_error>) at ../../src/eval.c:1384
#5  0x000000000048be43 in redisplay_windows (window=XIL(0x149feb5)) at 
../../src/xdisp.c:16308
#6  0x000000000048bdf5 in redisplay_windows (window=XIL(0x135ee55)) at 
../../src/xdisp.c:16302
#7  0x000000000048a871 in redisplay_internal () at ../../src/xdisp.c:15776
#8  0x0000000000488458 in redisplay () at ../../src/xdisp.c:14998
#9  0x000000000064f2da in read_char (commandflag=1, map=XIL(0x1897353), 
prev_event=XIL(0), used_mouse_menu=0x7fffffffe10f, end_time=0x0) at 
../../src/keyboard.c:2493
#10 0x000000000066221b in read_key_sequence (keybuf=0x7fffffffe2a0, 
prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, 
fix_current_buffer=true, prevent_redisplay=false) at ../../src/keyboard.c:9554
#11 0x000000000064b7a0 in command_loop_1 () at ../../src/keyboard.c:1350
#12 0x00000000007b0300 in internal_condition_case (bfun=0x64b324 <command_loop_1>, 
handlers=XIL(0x90), hfun=0x64a933 <cmd_error>) at ../../src/eval.c:1360
#13 0x000000000064af09 in command_loop_2 (ignore=XIL(0)) at 
../../src/keyboard.c:1091
#14 0x00000000007af7b4 in internal_catch (tag=XIL(0xd110), func=0x64aedc 
<command_loop_2>, arg=XIL(0)) at ../../src/eval.c:1121
#15 0x000000000064aea7 in command_loop () at ../../src/keyboard.c:1070
#16 0x000000000064a41a in recursive_edit_1 () at ../../src/keyboard.c:714
#17 0x000000000064a612 in Frecursive_edit () at ../../src/keyboard.c:786
#18 0x0000000000640a1b in main (argc=4, argv=0x7fffffffe798) at 
../../src/emacs.c:2066

Lisp Backtrace:
"redisplay_internal (C function)" (0x0)
(gdb) c
Continuing.
[Switching to thread 4 (Thread 0x7ffff1c5d700 (LWP 10301))](running)

Thread 1 "emacs" hit Breakpoint 3, update_frame_tool_bar (f=0x14369f0) at 
../../src/gtkutil.c:4948
4948      block_input ();
(gdb) bt
#0  0x0000000000621c5c in update_frame_tool_bar (f=0x14369f0) at 
../../src/gtkutil.c:4948
#1  0x000000000048748f in redisplay_tool_bar (f=0x14369f0) at 
../../src/xdisp.c:14161
#2  0x000000000049686c in redisplay_window (window=XIL(0x149feb5), 
just_this_one_p=false) at ../../src/xdisp.c:19074
#3  0x000000000048beeb in redisplay_window_0 (window=XIL(0x149feb5)) at 
../../src/xdisp.c:16328
#4  0x00000000007b03db in internal_condition_case_1 (bfun=0x48bea9 
<redisplay_window_0>, arg=XIL(0x149feb5), handlers=XIL(0x7ffff3e9921b), hfun=0x48be71 
<redisplay_window_error>) at ../../src/eval.c:1384
#5  0x000000000048be43 in redisplay_windows (window=XIL(0x149feb5)) at 
../../src/xdisp.c:16308
#6  0x000000000048bdf5 in redisplay_windows (window=XIL(0x135ee55)) at 
../../src/xdisp.c:16302
#7  0x000000000048a871 in redisplay_internal () at ../../src/xdisp.c:15776
#8  0x0000000000488458 in redisplay () at ../../src/xdisp.c:14998
#9  0x000000000064f2da in read_char (commandflag=1, map=XIL(0x1897353), 
prev_event=XIL(0), used_mouse_menu=0x7fffffffe10f, end_time=0x0) at 
../../src/keyboard.c:2493
#10 0x000000000066221b in read_key_sequence (keybuf=0x7fffffffe2a0, 
prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, 
fix_current_buffer=true, prevent_redisplay=false) at ../../src/keyboard.c:9554
#11 0x000000000064b7a0 in command_loop_1 () at ../../src/keyboard.c:1350
#12 0x00000000007b0300 in internal_condition_case (bfun=0x64b324 <command_loop_1>, 
handlers=XIL(0x90), hfun=0x64a933 <cmd_error>) at ../../src/eval.c:1360
#13 0x000000000064af09 in command_loop_2 (ignore=XIL(0)) at 
../../src/keyboard.c:1091
#14 0x00000000007af7b4 in internal_catch (tag=XIL(0xd110), func=0x64aedc 
<command_loop_2>, arg=XIL(0)) at ../../src/eval.c:1121
#15 0x000000000064aea7 in command_loop () at ../../src/keyboard.c:1070
#16 0x000000000064a41a in recursive_edit_1 () at ../../src/keyboard.c:714
#17 0x000000000064a612 in Frecursive_edit () at ../../src/keyboard.c:786
#18 0x0000000000640a1b in main (argc=4, argv=0x7fffffffe798) at 
../../src/emacs.c:2066

Lisp Backtrace:
"redisplay_internal (C function)" (0x0)
(gdb) c
Continuing.
[Switching to thread 4 (Thread 0x7ffff1c5d700 (LWP 10301))](running)

Thread 1 "emacs" hit Breakpoint 3, update_frame_tool_bar (f=0x14369f0) at 
../../src/gtkutil.c:4948
4948      block_input ();
(gdb) bt
#0  0x0000000000621c5c in update_frame_tool_bar (f=0x14369f0) at 
../../src/gtkutil.c:4948
#1  0x000000000048748f in redisplay_tool_bar (f=0x14369f0) at 
../../src/xdisp.c:14161
#2  0x000000000049686c in redisplay_window (window=XIL(0x149feb5), 
just_this_one_p=false) at ../../src/xdisp.c:19074
#3  0x000000000048beeb in redisplay_window_0 (window=XIL(0x149feb5)) at 
../../src/xdisp.c:16328
#4  0x00000000007b03db in internal_condition_case_1 (bfun=0x48bea9 
<redisplay_window_0>, arg=XIL(0x149feb5), handlers=XIL(0x7ffff3e9921b), hfun=0x48be71 
<redisplay_window_error>) at ../../src/eval.c:1384
#5  0x000000000048be43 in redisplay_windows (window=XIL(0x149feb5)) at 
../../src/xdisp.c:16308
#6  0x000000000048bdf5 in redisplay_windows (window=XIL(0x135ee55)) at 
../../src/xdisp.c:16302
#7  0x000000000048a871 in redisplay_internal () at ../../src/xdisp.c:15776
#8  0x0000000000488458 in redisplay () at ../../src/xdisp.c:14998
#9  0x000000000064f2da in read_char (commandflag=1, map=XIL(0x1897353), 
prev_event=XIL(0), used_mouse_menu=0x7fffffffe10f, end_time=0x0) at 
../../src/keyboard.c:2493
#10 0x000000000066221b in read_key_sequence (keybuf=0x7fffffffe2a0, 
prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, 
fix_current_buffer=true, prevent_redisplay=false) at ../../src/keyboard.c:9554
#11 0x000000000064b7a0 in command_loop_1 () at ../../src/keyboard.c:1350
#12 0x00000000007b0300 in internal_condition_case (bfun=0x64b324 <command_loop_1>, 
handlers=XIL(0x90), hfun=0x64a933 <cmd_error>) at ../../src/eval.c:1360
#13 0x000000000064af09 in command_loop_2 (ignore=XIL(0)) at 
../../src/keyboard.c:1091
#14 0x00000000007af7b4 in internal_catch (tag=XIL(0xd110), func=0x64aedc 
<command_loop_2>, arg=XIL(0)) at ../../src/eval.c:1121
#15 0x000000000064aea7 in command_loop () at ../../src/keyboard.c:1070
#16 0x000000000064a41a in recursive_edit_1 () at ../../src/keyboard.c:714
#17 0x000000000064a612 in Frecursive_edit () at ../../src/keyboard.c:786
#18 0x0000000000640a1b in main (argc=4, argv=0x7fffffffe798) at 
../../src/emacs.c:2066

Lisp Backtrace:
"redisplay_internal (C function)" (0x0)
(gdb) c
Continuing.
[Switching to thread 4 (Thread 0x7ffff1c5d700 (LWP 10301))](running)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]