glade-previewer crashed with segfault in read_buffer
Submitted by gkrithi8
Link to original bug (#792006)
Description
(gdb) thread apply all bt full
Thread 4 (Thread 0x7fc0a2ea6700 (LWP 21828)):
#0 0x00007fc0ae91ca5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007fc0aee46159 in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7fc0980010c0, timeout=<optimized out>, context=0x7fc09c0159d0) at ../../../../glib/gmain.c:4187
ret = <optimized out>
errsv = <optimized out>
poll_func = 0x7fc0aee55650 <g_poll>
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 2
allocated_nfds = 2
fds = 0x7fc0980010c0
#2 0x00007fc0aee46159 in g_main_context_iterate (context=0x7fc09c0159d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3881
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 2
allocated_nfds = 2
fds = 0x7fc0980010c0
#3 0x00007fc0aee464f2 in g_main_loop_run (loop=0x7fc09c017870) at ../../../../glib/gmain.c:4082
__func__ = "g_main_loop_run"
#4 0x00007fc0af42fad6 in gdbus_shared_thread_func (user_data=0x7fc09c0159a0) at ../../../../gio/gdbusprivate.c:275
data = 0x7fc09c0159a0
#5 0x00007fc0aee6d635 in g_thread_proxy (data=0x56498e198320) at ../../../../glib/gthread.c:784
thread = 0x56498e198320
#6 0x00007fc0aebe4519 in start_thread (arg=0x7fc0a2ea6700) at pthread_create.c:456
__res = <optimized out>
pd = 0x7fc0a2ea6700
now = <optimized out>
unwind_buf = {
cancel_jmp_buf = {{
jmp_buf = {140465343719168, -2135250105970706108, 140465360500734, 140465360500735, 140465544812000, 140465343719168, 2152532071753464132, 2152522898747963716},
mask_was_saved = 0
}},
priv = {
pad = {0x0, 0x0, 0x0, 0x0},
data = {
prev = 0x0,
cleanup = 0x0,
canceltype = 0
}
}
}
not_first_call = <optimized out>
#7 0x00007fc0ae926a4f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
Thread 3 (Thread 0x7fc0a36a7700 (LWP 21827)):
#0 0x00007fc0ae91ca5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007fc0aee46159 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fc0940008c0, timeout=<optimized out>, context=0x7fc09c004000) at ../../../../glib/gmain.c:4187
ret = <optimized out>
errsv = <optimized out>
poll_func = 0x7fc0aee55650 <g_poll>
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 1
allocated_nfds = 1
fds = 0x7fc0940008c0
#2 0x00007fc0aee46159 in g_main_context_iterate (context=context@entry=0x7fc09c004000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3881
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 1
allocated_nfds = 1
fds = 0x7fc0940008c0
#3 0x00007fc0aee4626c in g_main_context_iteration (context=0x7fc09c004000, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3947
retval = <optimized out>
#4 0x00007fc0aee462b1 in glib_worker_main (data=<optimized out>) at ../../../../glib/gmain.c:5742
#5 0x00007fc0aee6d635 in g_thread_proxy (data=0x56498e198280) at ../../../../glib/gthread.c:784
thread = 0x56498e198280
#6 0x00007fc0aebe4519 in start_thread (arg=0x7fc0a36a7700) at pthread_create.c:456
__res = <optimized out>
pd = 0x7fc0a36a7700
now = <optimized out>
unwind_buf = {
cancel_jmp_buf = {{
jmp_buf = {140465352111872, -2135250105970706108, 140465360500350, 140465360500351, 140465544812000, 140465352111872, 2152535369751476548, 2152522898747963716},
mask_was_saved = 0
}},
priv = {
pad = {0x0, 0x0, 0x0, 0x0},
data = {
prev = 0x0,
cleanup = 0x0,
canceltype = 0
}
}
}
not_first_call = <optimized out>
#7 0x00007fc0ae926a4f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
Thread 2 (Thread 0x7fc0a3ea8700 (LWP 21826)):
#0 0x00007fc0ae91ca5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007fc0aee46159 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fc09c0010e0, timeout=<optimized out>, context=0x56498e19e220) at ../../../../glib/gmain.c:4187
ret = <optimized out>
errsv = <optimized out>
poll_func = 0x7fc0aee55650 <g_poll>
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 1
allocated_nfds = 1
fds = 0x7fc09c0010e0
#2 0x00007fc0aee46159 in g_main_context_iterate (context=context@entry=0x56498e19e220, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3881
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 1
allocated_nfds = 1
fds = 0x7fc09c0010e0
#3 0x00007fc0aee4626c in g_main_context_iteration (context=0x56498e19e220, may_block=1) at ../../../../glib/gmain.c:3947
retval = <optimized out>
#4 0x00007fc0a3eb042d in () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#5 0x00007fc0aee6d635 in g_thread_proxy (data=0x56498e1958f0) at ../../../../glib/gthread.c:784
thread = 0x56498e1958f0
#6 0x00007fc0aebe4519 in start_thread (arg=0x7fc0a3ea8700) at pthread_create.c:456
__res = <optimized out>
pd = 0x7fc0a3ea8700
now = <optimized out>
unwind_buf = {
cancel_jmp_buf = {{
jmp_buf = {140465360504576, -2135250105970706108, 140725280916702, 140725280916703, 140465544812000, 140465360504576, 2152534269702977860, 2152522898747963716},
mask_was_saved = 0
}},
priv = {
pad = {0x0, 0x0, 0x0, 0x0},
data = {
prev = 0x0,
cleanup = 0x0,
canceltype = 0
}
}
}
not_first_call = <optimized out>
#7 0x00007fc0ae926a4f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
Thread 1 (Thread 0x7fc0b0cbfa80 (LWP 21825)):
#0 0x000056498cf8c27c in read_buffer (source=0x56498e62e130) at glade-previewer-main.c:197
buffer = <optimized out>
token = 0x0
tmp = <optimized out>
error = 0x0
app = 0x56498e185050
new_widget = <optimized out>
#1 0x000056498cf8c27c in on_data_incoming (source=0x56498e62e130, condition=G_IO_HUP, data=0x56498e185050) at glade-previewer-main.c:218
app = 0x56498e185050
new_widget = <optimized out>
#2 0x00007fc0aee45e15 in g_main_dispatch (context=0x56498e187990) at ../../../../glib/gmain.c:3148
dispatch = 0x7fc0aee8baa0 <g_io_unix_dispatch>
prev_source = 0x0
was_in_call = 0
user_data = 0x56498e185050
callback = 0x56498cf8c060 <on_data_incoming>
cb_funcs = 0x7fc0af10d280 <g_source_callback_funcs>
cb_data = 0x56498ee29930
need_destroy = <optimized out>
source = 0x56498e62e1d0
current = 0x56498e1d2130
i = 0
#3 0x00007fc0aee45e15 in g_main_context_dispatch (context=context@entry=0x56498e187990) at ../../../../glib/gmain.c:3813
#4 0x00007fc0aee461e0 in g_main_context_iterate (context=0x56498e187990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3886
max_priority = 2147483647
timeout = -1
some_ready = 1
nfds = <optimized out>
allocated_nfds = 4
fds = 0x56498e62fc00
#5 0x00007fc0aee464f2 in g_main_loop_run (loop=0x56498e62e250) at ../../../../glib/gmain.c:4082
__func__ = "g_main_loop_run"
#6 0x00007fc0b0164345 in gtk_main () at ../../../../gtk/gtkmain.c:1322
loop = 0x56498e62e250
#7 0x000056498cf8bb08 in main (argc=<optimized out>, argv=<optimized out>) at glade-previewer-main.c:376
input = <optimized out>
context = <optimized out>
error = 0x0
toplevel = 0x0