Reproducible gedit crash opening/editing a file on Wayland
Try to open the attached text file gadgets.foo
in gedit-3.30.2-1.fc29.x86_64
with gtk3-3.24.1-1.fc29.x86_64
. Always crashes.
$:acko\> gdb gedit
GNU gdb (GDB) Fedora 8.2-3.fc29
Reading symbols from gedit...Reading symbols from /usr/lib/debug/usr/bin/gedit-3.30.2-1.fc29.x86_64.debug...done.
done.
(gdb) run ~/coding/sitematrixtesting/gadgets.foo
Starting program: /usr/bin/gedit ~/coding/sitematrixtesting/gadgets.foo
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe8f8a700 (LWP 11501)]
[New Thread 0x7fffe3fff700 (LWP 11502)]
[New Thread 0x7fffe37fe700 (LWP 11503)]
[New Thread 0x7fffe2ffd700 (LWP 11504)]
[Detaching after fork from child process 11505]
[New Thread 0x7fffe15d5700 (LWP 11507)]
Thread 1 "gedit" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 return ret;
(gdb) thread apply all bt full
Thread 6 (Thread 0x7fffe15d5700 (LWP 11507)):
#0 0x00007ffff6cb2ded in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff6e3811e in g_cond_wait_until (cond=cond@entry=0x55555557ff88, mutex=mutex@entry=0x55555557ff80, end_time=end_time@entry=94345877290) at gthread-posix.c:1449
now = {tv_sec = 94345, tv_nsec = 377291008}
span = {tv_sec = 0, tv_nsec = 499998992}
sampled = 8
res = <optimized out>
#2 0x00007ffff6dc2231 in g_async_queue_pop_intern_unlocked (queue=0x55555557ff80, wait=wait@entry=1, end_time=94345877290) at gasyncqueue.c:422
retval = <optimized out>
__func__ = "g_async_queue_pop_intern_unlocked"
#3 0x00007ffff6dc28a1 in g_async_queue_timeout_pop_unlocked (queue=<optimized out>, timeout=timeout@entry=500000) at gasyncqueue.c:574
end_time = <optimized out>
__func__ = "g_async_queue_timeout_pop_unlocked"
#4 0x00007ffff6e19fd2 in g_thread_pool_wait_for_new_task (pool=<optimized out>) at gthreadpool.c:262
task = <optimized out>
task = <optimized out>
pool = 0x555555585200
#5 0x00007ffff6e19fd2 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:296
task = <optimized out>
pool = 0x555555585200
#6 0x00007ffff6e1948a in g_thread_proxy (data=0x555556511850) at gthread.c:784
thread = 0x555556511850
__func__ = "g_thread_proxy"
#7 0x00007ffff6d8958e in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf =
{cancel_jmp_buf = {{jmp_buf = {140736974378752, -9213378993729815084, 140737488343246, 140737488343247, 140737488343376, 140736974376064, 9213311661122797012, 9213358988537249236}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#8 0x00007ffff6cb8593 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 5 (Thread 0x7fffe2ffd700 (LWP 11504)):
#0 0x00007ffff6cad371 in __GI___poll (fds=0x5555555b8c40, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
#1 0x00007ffff6df05a6 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x5555555b8c40, timeout=<optimized out>, context=0x5555555b8d10) at gmain.c:4221
ret = <optimized out>
errsv = <optimized out>
poll_func = 0x7ffff6e000f0 <g_poll>
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 1
allocated_nfds = 1
fds = 0x5555555b8c40
#2 0x00007ffff6df05a6 in g_main_context_iterate (context=context@entry=0x5555555b8d10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3915
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 1
allocated_nfds = 1
fds = 0x5555555b8c40
#3 0x00007ffff6df06d0 in g_main_context_iteration (context=context@entry=0x5555555b8d10, may_block=may_block@entry=1) at gmain.c:3981
retval = <optimized out>
#4 0x00007ffff7edcc7d in dconf_gdbus_worker_thread (user_data=0x5555555b8d10) at ../gdbus/dconf-gdbus-thread.c:82
context = 0x5555555b8d10
#5 0x00007ffff6e1948a in g_thread_proxy (data=0x7fffdc0054a0) at gthread.c:784
thread = 0x7fffdc0054a0
__func__ = "g_thread_proxy"
#6 0x00007ffff6d8958e in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf =
{cancel_jmp_buf = {{jmp_buf = {140737001805568, -9213378993729815084, 140737488340654, 140737488340655, 140737488340784, 140737001802880, 9213315221650685396, 9213358988537249236}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#7 0x00007ffff6cb8593 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 4 (Thread 0x7fffe37fe700 (LWP 11503)):
#0 0x00007ffff6cb2ded in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff6e3811e in g_cond_wait_until (cond=cond@entry=0x55555557ff88, mutex=mutex@entry=0x55555557ff80, end_time=end_time@entry=94345887299) at gthread-posix.c:1449
now = {tv_sec = 94345, tv_nsec = 387299497}
span = {tv_sec = 0, tv_nsec = 499999503}
sampled = 9
res = <optimized out>
#2 0x00007ffff6dc2231 in g_async_queue_pop_intern_unlocked (queue=0x55555557ff80, wait=wait@entry=1, end_time=94345887299) at gasyncqueue.c:422
retval = <optimized out>
__func__ = "g_async_queue_pop_intern_unlocked"
#3 0x00007ffff6dc28a1 in g_async_queue_timeout_pop_unlocked (queue=<optimized out>, timeout=timeout@entry=500000) at gasyncqueue.c:574
end_time = <optimized out>
__func__ = "g_async_queue_timeout_pop_unlocked"
#4 0x00007ffff6e19fd2 in g_thread_pool_wait_for_new_task (pool=<optimized out>) at gthreadpool.c:262
task = <optimized out>
task = <optimized out>
pool = 0x555555585200
#5 0x00007ffff6e19fd2 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:296
task = <optimized out>
pool = 0x555555585200
#6 0x00007ffff6e1948a in g_thread_proxy (data=0x555555587ca0) at gthread.c:784
thread = 0x555555587ca0
__func__ = "g_thread_proxy"
#7 0x00007ffff6d8958e in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf =
{cancel_jmp_buf = {{jmp_buf = {140737010198272, -9213378993729815084, 140737488341134, 140737488341135, 140737488341264, 140737010195584, 9213316320625442260, 9213358988537249236}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#8 0x00007ffff6cb8593 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 3 (Thread 0x7fffe3fff700 (LWP 11502)):
#0 0x00007ffff6cad371 in __GI___poll (fds=0x555555599be0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
#1 0x00007ffff6df05a6 in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x555555599be0, timeout=<optimized out>, context=0x555555597fa0) at gmain.c:4221
ret = <optimized out>
errsv = <optimized out>
poll_func = 0x7ffff6e000f0 <g_poll>
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 3
allocated_nfds = 3
fds = 0x555555599be0
#2 0x00007ffff6df05a6 in g_main_context_iterate (context=0x555555597fa0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3915
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 3
allocated_nfds = 3
fds = 0x555555599be0
#3 0x00007ffff6df0962 in g_main_loop_run (loop=0x5555555980e0) at gmain.c:4116
__func__ = "g_main_loop_run"
#4 0x00007ffff716779a in gdbus_shared_thread_func (user_data=0x555555597f70) at gdbusprivate.c:275
data = 0x555555597f70
#5 0x00007ffff6e1948a in g_thread_proxy (data=0x5555555874a0) at gthread.c:784
thread = 0x5555555874a0
__func__ = "g_thread_proxy"
#6 0x00007ffff6d8958e in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf =
{cancel_jmp_buf = {{jmp_buf = {140737018590976, -9213378993729815084, 140737488341374, 140737488341375, 140737488341504, 140737018588288, 9213317421747682772, 9213358988537249236}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#7 0x00007ffff6cb8593 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7fffe8f8a700 (LWP 11501)):
#0 0x00007ffff6cad371 in __GI___poll (fds=0x555555588380, nfds=2, timeout=5598) at ../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
#1 0x00007ffff6df05a6 in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x555555588380, timeout=<optimized out>, context=0x555555587060) at gmain.c:4221
ret = <optimized out>
errsv = <optimized out>
poll_func = 0x7ffff6e000f0 <g_poll>
max_priority = 2147483647
timeout = 5598
some_ready = <optimized out>
nfds = 2
allocated_nfds = 2
fds = 0x555555588380
#2 0x00007ffff6df05a6 in g_main_context_iterate (context=context@entry=0x555555587060, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3915
max_priority = 2147483647
timeout = 5598
some_ready = <optimized out>
nfds = 2
allocated_nfds = 2
fds = 0x555555588380
#3 0x00007ffff6df06d0 in g_main_context_iteration (context=0x555555587060, may_block=may_block@entry=1) at gmain.c:3981
retval = <optimized out>
#4 0x00007ffff6df0721 in glib_worker_main (data=<optimized out>) at gmain.c:5861
#5 0x00007ffff6e1948a in g_thread_proxy (data=0x555555587400) at gthread.c:784
thread = 0x555555587400
__func__ = "g_thread_proxy"
#6 0x00007ffff6d8958e in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf =
{cancel_jmp_buf = {{jmp_buf = {140737101997824, -9213378993729815084, 140737488341406, 140737488341407, 140737488341536, 140737101995136, 9213328477530373588, 9213358988537249236}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#7 0x00007ffff6cb8593 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7ffff5f35a80 (LWP 11491)):
#0 0x00007ffff6bf353f in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
set = {__val = {0, 93825009999360, 1, 140737333991703, 93827783032832, 93825009999360, 93825009999360, 140737333121928, 93825009999360, 128, 4, 140737488336832, 0, 140737335233744, 0, 140737335234060}}
pid = <optimized out>
tid = <optimized out>
#1 0x00007ffff6bdd895 in __GI_abort () at abort.c:79
save_stage = 1
act =
{__sigaction_handler = {sa_handler = 0x7ffff6df73e0 <g_log_default_handler>, sa_sigaction = 0x7ffff6df73e0 <g_log_default_handler>}, sa_mask = {__val = {0, 140737342496791, 140737342496791, 140737334481850, 4, 93824992333440, 34201876190, 0, 0, 0, 140737488337112, 21474836480, 8635500397203039744, 140737334511856, 93825010025344, 0}}, sa_flags = 1449925632, sa_restorer = 0x7fffffffba80}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007ffff69737a5 in wl_abort (fmt=fmt@entry=0x7ffff697424f "Error sending request: %s\n") at src/wayland-util.c:417
argp = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffb9e0, reg_save_area = 0x7fffffffb920}}
#3 0x00007ffff696f4dd in wl_proxy_marshal_array_constructor_versioned (proxy=proxy@entry=0x55555664c380, opcode=opcode@entry=3, args=args@entry=0x7fffffffba80, interface=interface@entry=0x0, version=1)
at src/wayland-client.c:747
closure = 0x5555566c1c00
new_proxy = 0x0
message = 0x7ffff7c84ba8 <zwp_text_input_v3_requests+72>
#4 0x00007ffff696f53d in wl_proxy_marshal_array_constructor (proxy=proxy@entry=0x55555664c380, opcode=opcode@entry=3, args=args@entry=0x7fffffffba80, interface=interface@entry=0x0) at src/wayland-client.c:687
#5 0x00007ffff696f630 in wl_proxy_marshal (proxy=0x55555664c380, opcode=opcode@entry=3) at src/wayland-client.c:784
args =
{{i = 1448820736, u = 1448820736, f = 1448820736, s = 0x5555565b4000 "{\"batchcomplete\":\"\",\"query\":{\"allpages\":[{\"pageid\":445181,\"ns\":8,\"title\":\"MediaWiki:Gadget-CleanDeleteReasons\"},{\"pageid\":445183,\"ns\":8,\"title\":\"MediaWiki:Gadget-CleanDeleteReasons.js\"},{\"pageid\":6397"..., o = 0x5555565b4000, n = 1448820736, a = 0x5555565b4000, h = 1448820736}, {i = 0, u = 0, f = 0, s = 0x555500000000 <error: Cannot access memory at address 0x555500000000>, o = 0x555500000000, n = 0, a = 0x555500000000, h = 0}, {i = 0, u = 0, f = 0, s = 0x555500000000 <error: Cannot access memory at address 0x555500000000>, o = 0x555500000000, n = 0, a = 0x555500000000, h = 0}, {i = 1433851648, u = 1433851648, f = 1433851648, s = 0x55555576d700 "\200\326\307\367\377\177", o = 0x55555576d700, n = 1433851648, a = 0x55555576d700, h = 1433851648}, {i = 1433898240, u = 1433898240, f = 1433898240, s = 0x555555778d00 " \361wUUU", o = 0x555555778d00, n = 1433898240, a = 0x555555778d00, h = 1433898240}, {i = 1, u = 1, f = 1, s = 0x1 <error: Cannot access memory at address 0x1>, o = 0x1, n = 1, a = 0x1, h = 1}, {i = 1, u = 1, f = 1, s = 0x1 <error: Cannot access memory at address 0x1>, o = 0x1, n = 1, a = 0x1, h = 1}, {i = -153013610, u = 4141953686, f = -153013610, s = 0x7ffff6e13296 <g_string_free+38> "H\203\304\bH\211\350[]\303H\215\025\252\271\b", o = 0x7ffff6e13296 <g_string_free+38>, n = 4141953686, a = 0x7ffff6e13296 <g_string_free+38>, h = -153013610}, {i = -17696, u = 4294949600, f = -17696, s = 0x7fffffffbae0 "\366\030", o = 0x7fffffffbae0, n = 4294949600, a = 0x7fffffffbae0, h = -17696}, {i = 1448580128, u = 1448580128, f = 1448580128, s = 0x555556579420 "{\"batchcomplete\":\"\",\"query\":{\"allpages\":[{\"pageid\":445181,\"ns\":8,\"title\":\"MediaWiki:Gadget-CleanDeleteReasons\"},{\"pageid\":445183,\"ns\":8,\"title\":\"MediaWiki:Gadget-CleanDeleteReasons.js\"},{\"pageid\":6397"..., o = 0x555556579420, n = 1448580128, a = 0x555556579420, h = 1448580128}, {i = -17536, u = 4294949760, f = -17536, s = 0x7fffffffbb80 "\260\377\377\377\377\377\377\377p\276\377\377\377\177", o = 0x7fffffffbb80, n = 4294949760, a = 0x7fffffffbb80, h = -17536}, {i = -142354395, u = 4152612901, f = -142354395, s = 0x7ffff783d825 <_gtk_text_btree_get_text+501> "\351}\376\377\377f\017\037D", o = 0x7ffff783d825 <_gtk_text_btree_get_text+501>, n = 4152612901, a = 0x7ffff783d825 <_gtk_text_btree_get_text+501>, h = -142354395}, {i = 6390, u = 6390, f = 6390, s = 0x18f6 <error: Cannot access memory at address 0x18f6>, o = 0x18f6, n = 6390, a = 0x18f6, h = 6390}, {i = 0, u = 0, f = 0, s = 0x555500000000 <error: Cannot access memory at address 0x555500000000>, o = 0x555500000000, n = 0, a = 0x555500000000, h = 0}, {i = 0, u = 0, f = 0, s = 0x0, o = 0x0, n = 0, a = 0x0, h = 0}, {i = 7, u = 7, f = 7, s = 0x7 <error: Cannot access memory at address 0x7>, o = 0x7, n = 7, a = 0x7, h = 7}, {i = 103, u = 103, f = 103, s = 0x627e3800000067 <error: Cannot access memory at address 0x627e3800000067>, o = 0x627e3800000067, n = 103, a = 0x627e3800000067, h = 103}, {i = 1431673984, u = 1431673984, f = 1431673984, s = 0x555555559c80 "\340\316]VUU", o = 0x555555559c80, n = 1431673984, a = 0x555555559c80, h = 1431673984}, {i = 6383, u = 6383, f = 6383, s = 0x18ef <error: Cannot access memory at address 0x18ef>, o = 0x18ef, n = 6383, a = 0x18ef, h = 6383}, {i = 6432, u = 6432, f = 6432, s = 0x1920 <error: Cannot access memory at address 0x1920>, o = 0x1920, n = 6432, a = 0x1920, h = 6432}}
ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffffffbc00, reg_save_area = 0x7fffffffbb30}}
#6 0x00007ffff792ac3f in zwp_text_input_v3_set_surrounding_text (anchor=0, cursor=0, text=<optimized out>, zwp_text_input_v3=<optimized out>) at text-input-unstable-v3-client-protocol.h:639
context_wayland = 0x555555fd6920 [GtkIMContextWayland]
#7 0x00007ffff792ac3f in notify_surrounding_text (context=0x555555fd6920 [GtkIMContextWayland]) at imwayland.c:352
context_wayland = 0x555555fd6920 [GtkIMContextWayland]
#8 0x00007ffff792ac3f in gtk_im_context_wayland_set_surrounding
(context=0x555555fd6920 [GtkIMContextWayland], text=0x555556579420 "{\"batchcomplete\":\"\",\"query\":{\"allpages\":[{\"pageid\":445181,\"ns\":8,\"title\":\"MediaWiki:Gadget-CleanDeleteReasons\"},{\"pageid\":445183,\"ns\":8,\"title\":\"MediaWiki:Gadget-CleanDeleteReasons.js\"},{\"pageid\":6397"..., len=<optimized out>, cursor_index=0) at imwayland.c:713
context_wayland = 0x555555fd6920 [GtkIMContextWayland]
#9 0x00007ffff786abbc in gtk_text_view_retrieve_surrounding_handler (context=context@entry=0x555555fa2930 [GtkIMMulticontext], text_view=<optimized out>) at gtktextview.c:9181
start =
{dummy1 = 0x555555d7be10, dummy2 = 0x555555fd9180, dummy3 = -1, dummy4 = 0, dummy5 = -1, dummy6 = -1, dummy7 = 1363487707, dummy8 = 912424504, dummy9 = 0x5555566bf000, dummy10 = 0x555555faaa80, dummy11 = -1, dummy12 = 0, dummy13 = 1448091136, dummy14 = 0x7ffff6e0efad <g_slice_free_chain_with_offset+77>}
end =
{dummy1 = 0x555555d7be10, dummy2 = 0x555555fd9180, dummy3 = -1, dummy4 = 6389, dummy5 = 6389, dummy6 = -1, dummy7 = 1363487707, dummy8 = 912424504, dummy9 = 0x55555576d700, dummy10 = 0x555555faaa40, dummy11 = -1, dummy12 = 0, dummy13 = 1448091136, dummy14 = 0x7ffff6e0efad <g_slice_free_chain_with_offset+77>}
pos = 0
text = 0x555556579420 "{\"batchcomplete\":\"\",\"query\":{\"allpages\":[{\"pageid\":445181,\"ns\":8,\"title\":\"MediaWiki:Gadget-CleanDeleteReasons\"},{\"pageid\":445183,\"ns\":8,\"title\":\"MediaWiki:Gadget-CleanDeleteReasons.js\"},{\"pageid\":6397"...
#14 0x00007ffff6ef0e04 in <emit signal 0x7ffff7958890 "retrieve-surrounding" on instance 0x555555fa2930 [GtkIMMulticontext]>
(instance=0x555555fa2930, detailed_signal=detailed_signal@entry=0x7ffff7958890 "retrieve-surrounding") at gsignal.c:3487
var_args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffc230, reg_save_area = 0x7fffffffc140}}
detail = 0
signal_id = 304
itype = 0x555555b91dd0 [GtkIMMulticontext/GtkIMContext]
__func__ = "g_signal_emit_by_name"
#10 0x00007ffff7922206 in _gtk_marshal_BOOLEAN__VOID
(closure=0x555555fa4e20, return_value=0x7fffffffbe90, n_param_values=<optimized out>, param_values=<optimized out>, invocation_hint=<optimized out>, marshal_data=<optimized out>) at gtkmarshalers.c:1901
cc = 0x555555fa4e20
data1 = 0x555555fa2930
data2 = <optimized out>
callback = 0x7ffff786aaf0 <gtk_text_view_retrieve_surrounding_handler>
v_return = <optimized out>
__func__ = "_gtk_marshal_BOOLEAN__VOID"
#11 0x00007ffff6ed3c9d in g_closure_invoke (closure=0x555555fa4e20, return_value=0x7fffffffbe90, n_param_values=1, param_values=0x7fffffffbef0, invocation_hint=0x7fffffffbe70) at gclosure.c:810
marshal = 0x7ffff79221a0 <_gtk_marshal_BOOLEAN__VOID>
marshal_data = 0x0
in_marshal = 0
real_closure = 0x555555fa4e00
__func__ = "g_closure_invoke"
#12 0x00007ffff6ee7203 in signal_emit_unlocked_R
(node=node@entry=0x55555560f250, detail=detail@entry=0, instance=instance@entry=0x555555fa2930, emission_return=emission_return@entry=0x7fffffffc000, instance_and_params=instance_and_params@entry=0x7fffffffbef0) at gsignal.c:3635
tmp = <optimized out>
handler = 0x555555fa3d80
accumulator = 0x555555b91fe0
emission = {next = 0x7fffffffc3b0, instance = 0x555555fa2930, ihint = {signal_id = 304, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 0x4 [void]}
class_closure = 0x55555560f220
hlist = <optimized out>
handler_list = 0x555555fa3d80
return_accu = 0x7fffffffbe90
accu =
{g_type = 0x14 [gboolean], data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
signal_id = 304
max_sequential_handler_number = 5715
return_value_altered = 0
#13 0x00007ffff6eef9a3 in g_signal_emit_valist (instance=instance@entry=0x555555fa2930, signal_id=signal_id@entry=304, detail=detail@entry=0, var_args=var_args@entry=0x7fffffffc0f8) at gsignal.c:3401
return_value =
{g_type = 0x14 [gboolean], data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
error = 0x0
rtype = 0x14 [gboolean]
static_scope = 0
instance_and_params = 0x7fffffffbef0
signal_return_type = <optimized out>
param_values = 0x7fffffffbf08
node = <optimized out>
i = <optimized out>
n_params = <optimized out>
__func__ = "g_signal_emit_valist"
#15 0x00007ffff776a5dc in gtk_im_multicontext_retrieve_surrounding_cb (slave=slave@entry=0x555555fd6920 [GtkIMContextWayland], multicontext=<optimized out>) at gtkimmulticontext.c:532
result = 21845
#20 0x00007ffff6ef0e04 in <emit signal 0x7ffff7958890 "retrieve-surrounding" on instance 0x555555fd6920 [GtkIMContextWayland]>
(instance=0x555555fd6920, detailed_signal=detailed_signal@entry=0x7ffff7958890 "retrieve-surrounding") at gsignal.c:3487
var_args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffc780, reg_save_area = 0x7fffffffc690}}
detail = 0
signal_id = 304
itype = 0x555555ce5b50 [GtkIMContextWayland/GtkIMContextSimple/GtkIMContext]
__func__ = "g_signal_emit_by_name"
#16 0x00007ffff7922206 in _gtk_marshal_BOOLEAN__VOID
(closure=0x55555650a7d0, return_value=0x7fffffffc3e0, n_param_values=<optimized out>, param_values=<optimized out>, invocation_hint=<optimized out>, marshal_data=<optimized out>) at gtkmarshalers.c:1901
cc = 0x55555650a7d0
data1 = 0x555555fd6920
data2 = <optimized out>
callback = 0x7ffff776a5b0 <gtk_im_multicontext_retrieve_surrounding_cb>
v_return = <optimized out>
__func__ = "_gtk_marshal_BOOLEAN__VOID"
#17 0x00007ffff6ed3c9d in g_closure_invoke (closure=0x55555650a7d0, return_value=0x7fffffffc3e0, n_param_values=1, param_values=0x7fffffffc440, invocation_hint=0x7fffffffc3c0) at gclosure.c:810
marshal = 0x7ffff79221a0 <_gtk_marshal_BOOLEAN__VOID>
marshal_data = 0x0
in_marshal = 0
real_closure = 0x55555650a7b0
__func__ = "g_closure_invoke"
#18 0x00007ffff6ee7203 in signal_emit_unlocked_R
(node=node@entry=0x55555560f250, detail=detail@entry=0, instance=instance@entry=0x555555fd6920, emission_return=emission_return@entry=0x7fffffffc550, instance_and_params=instance_and_params@entry=0x7fffffffc440) at gsignal.c:3635
tmp = <optimized out>
handler = 0x555555fc5c80
accumulator = 0x555555b91fe0
emission = {next = 0x7fffffffc920, instance = 0x555555fd6920, ihint = {signal_id = 304, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 0x4 [void]}
class_closure = 0x55555560f220
hlist = <optimized out>
handler_list = 0x555555fc5c80
return_accu = 0x7fffffffc3e0
accu =
{g_type = 0x14 [gboolean], data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
signal_id = 304
max_sequential_handler_number = 5715
return_value_altered = 0
#19 0x00007ffff6eef9a3 in g_signal_emit_valist (instance=instance@entry=0x555555fd6920, signal_id=signal_id@entry=304, detail=detail@entry=0, var_args=var_args@entry=0x7fffffffc648) at gsignal.c:3401
return_value =
{g_type = 0x14 [gboolean], data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
error = 0x0
rtype = 0x14 [gboolean]
static_scope = 0
instance_and_params = 0x7fffffffc440
signal_return_type = <optimized out>
param_values = 0x7fffffffc458
node = <optimized out>
i = <optimized out>
n_params = <optimized out>
__func__ = "g_signal_emit_valist"
#21 0x00007ffff792b510 in gtk_im_context_wayland_focus_in (context=0x555555fd6920 [GtkIMContextWayland]) at imwayland.c:638
context_wayland = 0x555555fd6920 [GtkIMContextWayland]
result = 32767
#22 0x00007ffff786f29d in gtk_text_view_focus_in_event (widget=widget@entry=0x555555fa6480 [GeditView], event=<optimized out>) at gtktextview.c:5810
text_view = 0x555555fa6480 [GeditView]
priv = 0x555555fa6200
#27 0x00007ffff6ef0923 in <emit signal ??? on instance 0x555555fa6480 [GeditView]> (instance=instance@entry=0x555555fa6480, signal_id=<optimized out>, detail=detail@entry=0) at gsignal.c:3447
var_args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fffffffcc70, reg_save_area = 0x7fffffffcbb0}}
#23 0x00007ffff791f6fb in _gtk_marshal_BOOLEAN__BOXED
(closure=0x5555555bfb70, return_value=0x7fffffffc950, n_param_values=<optimized out>, param_values=0x7fffffffc9b0, invocation_hint=<optimized out>, marshal_data=<optimized out>) at gtkmarshalers.c:83
cc = 0x5555555bfb70
data1 = 0x555555fa6480
data2 = <optimized out>
callback = 0x7ffff786f1f0 <gtk_text_view_focus_in_event>
v_return = <optimized out>
__func__ = "_gtk_marshal_BOOLEAN__BOXED"
#24 0x00007ffff6ed3bb5 in g_closure_invoke (closure=0x5555555bfb70, return_value=0x7fffffffc950, n_param_values=2, param_values=0x7fffffffc9b0, invocation_hint=0x7fffffffc930) at gclosure.c:810
marshal = 0x7ffff6ed2180 <g_type_class_meta_marshal>
marshal_data = 0x1d8
in_marshal = 1
real_closure = 0x5555555bfb50
__func__ = "g_closure_invoke"
#25 0x00007ffff6ee6a34 in signal_emit_unlocked_R
(node=node@entry=0x5555555e7510, detail=detail@entry=0, instance=instance@entry=0x555555fa6480, emission_return=emission_return@entry=0x7fffffffcae0, instance_and_params=instance_and_params@entry=0x7fffffffc9b0) at gsignal.c:3673
accumulator = 0x5555555c7000
emission =
{next = 0x7fffffffcee0, instance = 0x555555fa6480, ihint = {signal_id = 105, detail = 0, run_type = G_SIGNAL_RUN_LAST}, state = EMISSION_RUN, chain_type = 0x555555ab3290 [GeditView/GtkSourceView/GtkTextView/GtkContainer/GtkWidget/GInitiallyUnowned]}
class_closure = 0x5555555bfb70
hlist = <optimized out>
handler_list = <optimized out>
return_accu = 0x7fffffffc950
accu =
{g_type = 0x14 [gboolean], data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
signal_id = 105
max_sequential_handler_number = 5714
return_value_altered = 0
#26 0x00007ffff6eef9a3 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffcb90) at gsignal.c:3401
return_value =
{g_type = 0x14 [gboolean], data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
error = 0x0
rtype = 0x14 [gboolean]
static_scope = 0
instance_and_params = 0x7fffffffc9b0
signal_return_type = <optimized out>
param_values = 0x7fffffffc9c8
node = <optimized out>
i = <optimized out>
n_params = <optimized out>
__func__ = "g_signal_emit_valist"
#28 0x00007ffff78cc664 in gtk_widget_event_internal (widget=widget@entry=0x555555fa6480 [GeditView], event=event@entry=0x5555555918d0) at gtkwidget.c:7744
signal_num = <optimized out>
return_val = <optimized out>
handled = 0
__func__ = "gtk_widget_event_internal"
#29 0x00007ffff78ce7ee in gtk_widget_event (widget=widget@entry=0x555555fa6480 [GeditView], event=event@entry=0x5555555918d0) at gtkwidget.c:7314
__func__ = "gtk_widget_event"
#30 0x00007ffff78df92d in gtk_widget_send_focus_change (widget=widget@entry=0x555555fa6480 [GeditView], event=event@entry=0x5555555918d0) at gtkwidget.c:16176
res = <optimized out>
__func__ = "gtk_widget_send_focus_change"
#31 0x00007ffff78e1a2f in do_focus_change (widget=0x555555fa6480 [GeditView], in=1) at gtkwindow.c:8395
dev = 0x55555557eb80 [GdkWaylandDevice]
fevent = 0x5555555918d0
window = 0x555556509320 [GdkWaylandWindow]
device_manager = <optimized out>
devices = 0x55555576b9a0 = {0x55555557ead0, 0x55555557eb80, 0x55555557ec30, 0x55555557ece0}
d = 0x55555576d320 = {0x55555557eb80, 0x55555557ec30, 0x55555557ece0}
#32 0x00007ffff78f1115 in _gtk_window_set_is_active (window=0x555555af5950 [GeditWindow], is_active=1) at gtkwindow.c:12073
priv = <optimized out>
__func__ = "_gtk_window_set_is_active"
#33 0x00007ffff78f16aa in gtk_window_focus_in_event (widget=widget@entry=0x555555af5950 [GeditWindow], event=<optimized out>) at gtkwindow.c:8448
event = <optimized out>
widget = 0x555555af5950 [GeditWindow]
window = 0x555555af5950 [GeditWindow]
#38 0x00007ffff6ef0923 in <emit signal ??? on instance 0x555555af5950 [GeditWindow]> (instance=instance@entry=0x555555af5950, signal_id=<optimized out>, detail=detail@entry=0) at gsignal.c:3447
var_args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fffffffd230, reg_save_area = 0x7fffffffd170}}
#34 0x00007ffff791f6fb in _gtk_marshal_BOOLEAN__BOXED
(closure=0x5555555bfb70, return_value=0x7fffffffcf10, n_param_values=<optimized out>, param_values=0x7fffffffcf70, invocation_hint=<optimized out>, marshal_data=<optimized out>) at gtkmarshalers.c:83
cc = 0x5555555bfb70
data1 = 0x555555af5950
data2 = <optimized out>
callback = 0x7ffff78f1640 <gtk_window_focus_in_event>
v_return = <optimized out>
__func__ = "_gtk_marshal_BOOLEAN__BOXED"
#35 0x00007ffff6ed3c9d in g_closure_invoke (closure=0x5555555bfb70, return_value=0x7fffffffcf10, n_param_values=2, param_values=0x7fffffffcf70, invocation_hint=0x7fffffffcef0) at gclosure.c:810
marshal = 0x7ffff6ed2180 <g_type_class_meta_marshal>
marshal_data = 0x1d8
in_marshal = 0
real_closure = 0x5555555bfb50
__func__ = "g_closure_invoke"
#36 0x00007ffff6ee6a34 in signal_emit_unlocked_R
(node=node@entry=0x5555555e7510, detail=detail@entry=0, instance=instance@entry=0x555555af5950, emission_return=emission_return@entry=0x7fffffffd0a0, instance_and_params=instance_and_params@entry=0x7fffffffcf70) at gsignal.c:3673
accumulator = 0x5555555c7000
emission =
{next = 0x0, instance = 0x555555af5950, ihint = {signal_id = 105, detail = 0, run_type = G_SIGNAL_RUN_LAST}, state = EMISSION_RUN, chain_type = 0x5555556906b0 [GeditWindow/GtkApplicationWindow/GtkWindow/GtkBin/GtkContainer/GtkWidget/GInitiallyUnowned]}
class_closure = 0x5555555bfb70
hlist = <optimized out>
handler_list = <optimized out>
return_accu = 0x7fffffffcf10
accu =
{g_type = 0x14 [gboolean], data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
signal_id = 105
max_sequential_handler_number = 5714
return_value_altered = 1
#37 0x00007ffff6eef9a3 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffd150) at gsignal.c:3401
return_value =
{g_type = 0x14 [gboolean], data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
error = 0x0
rtype = 0x14 [gboolean]
static_scope = 0
instance_and_params = 0x7fffffffcf70
signal_return_type = <optimized out>
param_values = 0x7fffffffcf88
node = <optimized out>
i = <optimized out>
n_params = <optimized out>
__func__ = "g_signal_emit_valist"
#39 0x00007ffff78cc664 in gtk_widget_event_internal (widget=widget@entry=0x555555af5950 [GeditWindow], event=event@entry=0x5555564f43c0) at gtkwidget.c:7744
signal_num = <optimized out>
return_val = <optimized out>
handled = 0
__func__ = "gtk_widget_event_internal"
#40 0x00007ffff78ce7ee in gtk_widget_event (widget=widget@entry=0x555555af5950 [GeditWindow], event=event@entry=0x5555564f43c0) at gtkwidget.c:7314
__func__ = "gtk_widget_event"
#41 0x00007ffff778aa76 in gtk_main_do_event (event=<optimized out>) at gtkmain.c:1855
grab_widget = <optimized out>
window_group = 0x555555b7c940 [GtkWindowGroup]
rewritten_event = <optimized out>
device = 0x55555557eb80 [GdkWaylandDevice]
tmp_list = <optimized out>
event_widget = 0x555555af5950 [GeditWindow]
topmost_widget = <optimized out>
event = 0x5555564f43c0
__func__ = "gtk_main_do_event"
__func__ = "gtk_main_do_event"
#42 0x00007ffff747ba39 in _gdk_event_emit (event=event@entry=0x5555564f43c0) at gdkevents.c:73
#43 0x00007ffff74d8286 in gdk_event_source_dispatch (base=<optimized out>, callback=<optimized out>, data=<optimized out>) at gdkeventsource.c:124
source = <optimized out>
display = <optimized out>
event = 0x5555564f43c0
#44 0x00007ffff6df026d in g_main_dispatch (context=0x55555557fcb0) at gmain.c:3182
dispatch = 0x7ffff74d8260 <gdk_event_source_dispatch>
prev_source = 0x0
was_in_call = 0
user_data = 0x0
callback = 0x0
cb_funcs = 0x0
cb_data = 0x0
need_destroy = <optimized out>
source = 0x5555555bf200
current = 0x55555558cd30
i = 0
__func__ = "g_main_dispatch"
#45 0x00007ffff6df026d in g_main_context_dispatch (context=context@entry=0x55555557fcb0) at gmain.c:3847
#46 0x00007ffff6df0638 in g_main_context_iterate (context=context@entry=0x55555557fcb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3920
max_priority = 0
timeout = 0
some_ready = 1
nfds = <optimized out>
allocated_nfds = 4
fds = 0x555555ae13f0
#47 0x00007ffff6df06d0 in g_main_context_iteration (context=context@entry=0x55555557fcb0, may_block=may_block@entry=1) at gmain.c:3981
retval = <optimized out>
#48 0x00007ffff713a465 in g_application_run (application=0x5555555761e0 [GeditAppX11], argc=<optimized out>, argv=0x7fffffffd588) at gapplication.c:2470
arguments = 0x555555575230
status = 0
context = 0x55555557fcb0
acquired_context = <optimized out>
__func__ = "g_application_run"
#49 0x000055555555530e in main (argc=2, argv=0x7fffffffd588) at gedit/gedit.c:146
type = <optimized out>
app = 0x5555555761e0 [GeditAppX11]
status = <optimized out>
dir = <optimized out>
__func__ = "main"
(gdb) list
45
46 int ret = INLINE_SYSCALL (tgkill, 3, pid, tid, sig);
47
48 __libc_signal_restore_set (&set);
49
50 return ret;
51 }
52 libc_hidden_def (raise)
53 weak_alias (raise, gsignal)
(gdb)
Edited by Sébastien Lafargue