Closed lukefromdc closed 4 years ago
With new gtk 3.24.11 (plus commits from that point to Sep 12 for proper meson build versioning) and glib 2.62.0 I got what might be a more useful backtrace, looks like problems in glib or gtk itself but not sure:
Thread 1 "mate-panel" received signal SIGSEGV, Segmentation fault.
0x00007ffff7846315 in gtk_widget_get_request_mode ()
from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
(gdb) thread apply all bt full
Thread 7 (Thread 0x7fffec8dc700 (LWP 29693)):
#0 0x00007fffeee8e3d9 in () at /lib/x86_64-linux-gnu/libnss_files.so.2
mate-desktop/mate-panel#1 0x00007fffeee8f772 in _nss_files_gethostbyname4_r () at /lib/x86_64-linux-gnu/libnss_files.so.2
mate-desktop/mate-panel#2 0x00007ffff69cfe0a in () at /lib/x86_64-linux-gnu/libc.so.6
mate-desktop/mate-panel#3 0x00007ffff69d0e37 in getaddrinfo () at /lib/x86_64-linux-gnu/libc.so.6
mate-desktop/mate-panel#4 0x00007ffff71b547d in () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
mate-desktop/mate-panel#5 0x00007ffff71b1d9e in () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
mate-desktop/mate-panel#6 0x00007ffff7002274 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
mate-desktop/mate-panel#7 0x00007ffff7001b9d in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
mate-desktop/mate-panel#8 0x00007ffff7d5ffa3 in start_thread () at /lib/x86_64-linux-gnu/libpthread.so.0
mate-desktop/mate-panel#9 0x00007ffff69e64cf in clone () at /lib/x86_64-linux-gnu/libc.so.6
Thread 4 (Thread 0x7fffef7fe700 (LWP 29653)):
#0 0x00007ffff69db819 in poll () at /lib/x86_64-linux-gnu/libc.so.6
mate-desktop/mate-panel#1 0x00007ffff6fd9d0e in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
mate-desktop/mate-panel#2 0x00007ffff6fd9e2f in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
mate-desktop/mate-panel#3 0x00007ffff4174ffd in () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
mate-desktop/mate-panel#4 0x00007ffff7001b9d in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
mate-desktop/mate-panel#5 0x00007ffff7d5ffa3 in start_thread () at /lib/x86_64-linux-gnu/libpthread.so.0
mate-desktop/mate-panel#6 0x00007ffff69e64cf in clone () at /lib/x86_64-linux-gnu/libc.so.6
Thread 3 (Thread 0x7fffeffff700 (LWP 29652)):
#0 0x00007ffff69db819 in poll () at /lib/x86_64-linux-gnu/libc.so.6
mate-desktop/mate-panel#1 0x00007ffff6fd9d0e in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
mate-desktop/mate-panel#2 0x00007ffff6fda073 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
mate-desktop/mate-panel#3 0x00007ffff7215ad6 in () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
mate-desktop/mate-panel#4 0x00007ffff7001b9d in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
mate-desktop/mate-panel#5 0x00007ffff7d5ffa3 in start_thread () at /lib/x86_64-linux-gnu/libpthread.so.0
mate-desktop/mate-panel#6 0x00007ffff69e64cf in clone () at /lib/x86_64-linux-gnu/libc.so.6
Thread 2 (Thread 0x7ffff49d9700 (LWP 29651)):
#0 0x00007ffff69db819 in poll () at /lib/x86_64-linux-gnu/libc.so.6
mate-desktop/mate-panel#1 0x00007ffff6fd9d0e in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
mate-desktop/mate-panel#2 0x00007ffff6fd9e2f in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
mate-desktop/mate-panel#3 0x00007ffff6fd9e81 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
mate-desktop/mate-panel#4 0x00007ffff7001b9d in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
mate-desktop/mate-panel#5 0x00007ffff7d5ffa3 in start_thread () at /lib/x86_64-linux-gnu/libpthread.so.0
mate-desktop/mate-panel#6 0x00007ffff69e64cf in clone () at /lib/x86_64-linux-gnu/libc.so.6
Thread 1 (Thread 0x7ffff4fcbf00 (LWP 29647)):
#0 0x00007ffff7846315 in gtk_widget_get_request_mode () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#1 0x00007ffff76c0059 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#2 0x00007ffff76759d0 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#3 0x00007ffff76c4d35 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#4 0x00007ffff7846339 in gtk_widget_get_request_mode () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#5 0x00007ffff76c0059 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#6 0x00007ffff7675a19 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#7 0x00007ffff76c4d35 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#8 0x00007ffff7846339 in gtk_widget_get_request_mode () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#9 0x00007ffff784645e in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#10 0x00007ffff7846e12 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#11 0x00007ffff78471e5 in gtk_widget_get_preferred_height_and_baseline_for_width () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#12 0x00007ffff767558a in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#13 0x00007ffff76cc0f4 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#14 0x00007ffff76d0238 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#15 0x00007ffff7675c04 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#16 0x00007ffff7846ca3 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#17 0x00007ffff7846eb1 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#18 0x00007ffff78471e5 in gtk_widget_get_preferred_height_and_baseline_for_width () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#19 0x00007ffff767558a in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#20 0x00007ffff76cc0f4 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#21 0x00007ffff76d0238 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#22 0x00007ffff7675c04 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#23 0x00007ffff7846ca3 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#24 0x00007ffff7846eb1 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#25 0x00007ffff78463e1 in gtk_widget_get_preferred_height () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#26 0x00007ffff7750b7a in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#27 0x00007ffff76cc0f4 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#28 0x00007ffff76d0238 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#29 0x00007ffff7751450 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#30 0x00007ffff76cc0f4 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#31 0x00007ffff76d0238 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#32 0x00007ffff77516d3 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#33 0x00007ffff784671b in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#34 0x00007ffff7846eb1 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#35 0x00007ffff78463e1 in gtk_widget_get_preferred_height () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#36 0x00007ffff7911a8a in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#37 0x00007ffff784671b in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#38 0x00007ffff7846eb1 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#39 0x00007ffff78471e5 in gtk_widget_get_preferred_height_and_baseline_for_width () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#40 0x00007ffff784731d in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#41 0x00007ffff7910726 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#42 0x00007ffff7917880 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#43 0x00007ffff70c0006 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
mate-desktop/mate-panel#44 0x00007ffff70dbc10 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
mate-desktop/mate-panel#45 0x00007ffff70dc192 in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
mate-desktop/mate-panel#46 0x00007ffff76c4af0 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#47 0x00007ffff70c0006 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
mate-desktop/mate-panel#48 0x00007ffff70dbc10 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
mate-desktop/mate-panel#49 0x00007ffff70dc192 in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
mate-desktop/mate-panel#50 0x00007ffff74ed98f in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
mate-desktop/mate-panel#51 0x00007ffff74d9ac9 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
mate-desktop/mate-panel#52 0x00007ffff6fda4f4 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
mate-desktop/mate-panel#53 0x00007ffff6fd9a1e in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
mate-desktop/mate-panel#54 0x00007ffff6fd9da0 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
mate-desktop/mate-panel#55 0x00007ffff6fda073 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
mate-desktop/mate-panel#56 0x00007ffff77a2095 in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
mate-desktop/mate-panel#57 0x00005555555789f1 in main (argc=<optimized out>, argv=<optimized out>) at main.c:227
desktopfile = <optimized out>
context = <optimized out>
error = 0x0
display = <optimized out>
screen = 0x55555562a020
css = 0x555555813ae0
provider = 0x555555813ae0
resource = 0x5555555c5588 "/org/mate/panel/theme/mate-panel.css"
priority = 1
found_backend = <optimized out>
(gdb)
It doesn't crash here in f30 with glib2-2.60.7-1.fc30.x86_64 and gtk3-3.24.11-1.fc30.x86_64. I will check that in fedora rawhide. Edit: This is with master + https://github.com/mate-desktop/mate-panel/pull/1016
I can't reproduce this issue with debian testing/bullseye
and mate-panel 1.22.1
I'm not sure this is anywhere in mate-panel itself given the backtrace. With gtk3.24.11 and glib 2.62 the segfault was on gtk_widget_get_request_mode called somewhere after gtk_widget_get_preferred_height_and_baseline_for_width, and that does not appear in our code, only in GTK itself. The whole mess seems to come out of gtk_main , posssibly from mate-panel-applet.c as I don't see any other cases of it that might be affected from fiddling with the clock. Other instances of gtk_main() in parents of this would be in main.c (unlikely it would seem here), or maybe panel.shell.c but all other instances of it are in things adding a location to the clock ought not to invoke or modify at all.
I've tested both with and without https://github.com/mate-desktop/mate-panel/pull/1016 and gotten the same results, getting this segfault almost but not quite all of the time.
New test with:
[rave@f31 ~]$ uname -r
5.3.0-1.fc31.x86_64
[rave@f31 ~]$ rpm -qa glib2
glib2-2.62.0-1.fc31.x86_64
[rave@f31 ~]$ rpm -qa gtk3
gtk3-3.24.11-1.fc31.x86_64
[rave@f31 ~]$ rpm -qa mate-panel
mate-panel-1.23.1-1.fc31.x86_64
mate-panel is built from released 1.23.1 tarball with support for X11, wayland and out-of-process-applets (all applets). But i can't reproduce it. Anything different to your setup? Maybe the issue is introduced between 1.23.1 tarball and actual master? Edit: Sorry, this build was built with out-of-process-applets (all)
Same result with matel-panel built from master and --with-in-process-applets=all Latest commit is https://github.com/mate-desktop/mate-panel/commit/60894665c424ff487caf294b9cd5f72c753a4a4f
I have no idea in the world what is different, what exact glib and GTK versions are you using? Stacktrace does not look like the segfault is from within our code but I'm not skilled enough in reading them to be sure. I do not have gtk and glib debugging symbols installed for space reasons.
I was able reproduce the issue today when adding a location to clock-applet in fedora 32 or 30. For some reasons it's clear reproducible for me now. With glib2-2.60.7-3.fc30.x86_64 or glib2-2.64.1-1.fc32.x86_64.rpm
My backtrace is different, here the clock-applet crashes with libsoup, which is a dependency from libmateweather. 1.24 panel from master is build with out-of-process-applets to avoid crashing the whole panel.
Core was generated by `/usr/libexec/mate-panel/clock-applet'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f11dbdc7b87 in soup_session_kick_queue (session=0x55d46e9cf8df) at ../libsoup/soup-session.c:2353
2353 ../libsoup/soup-session.c: No such file or directory.
[Current thread is 1 (Thread 0x7f11dac80c40 (LWP 15975))]
Thread 1 (Thread 0x7f11dac80c40 (LWP 15975)):
#0 0x00007f11dbdc7b87 in soup_session_kick_queue (session=0x55d46e9cf8df) at ../libsoup/soup-session.c:2353
session = 0x55d46e9cf8df
conn = <optimized out>
mate-desktop/mate-panel#1 0x00007f11dbdc7b87 in connection_state_changed (object=0x7f11c000c380 [SoupConnection], param=<optimized out>, user_data=0x55d46e9cf8df) at ../libsoup/soup-session.c:1465
session = 0x55d46e9cf8df
conn = <optimized out>
mate-desktop/mate-panel#2 0x00007f11dbdc7b87 in connection_state_changed (object=0x7f11c000c380 [SoupConnection], param=<optimized out>, user_data=0x55d46e9cf8df) at ../libsoup/soup-session.c:1459
session = 0x55d46e9cf8df
conn = <optimized out>
mate-desktop/mate-panel#6 0x00007f11dc729973 in <emit signal notify:state on instance 0x7f11c000c380 [SoupConnection]> (instance=instance@entry=0x7f11c000c380, signal_id=<optimized out>, detail=<optimized out>) at ../gobject/gsignal.c:3447
var_args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7ffdda655800, reg_save_area = 0x7ffdda655740}}
mate-desktop/mate-panel#3 0x00007f11dc70c742 in g_closure_invoke (closure=0x55d46f0a0d70, return_value=0x0, n_param_values=2, param_values=0x7ffdda655540, invocation_hint=0x7ffdda6554c0) at ../gobject/gclosure.c:810
marshal = 0x7f11dc70f8c0 <g_cclosure_marshal_VOID__PARAM>
marshal_data = 0x0
in_marshal = 0
real_closure = 0x55d46f0a0d50
__FUNCTION__ = "g_closure_invoke"
mate-desktop/mate-panel#4 0x00007f11dc7204f4 in signal_emit_unlocked_R (node=node@entry=0x55d46e3b0b90, detail=detail@entry=807, instance=instance@entry=0x7f11c000c380, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7ffdda655540) at ../gobject/gsignal.c:3635
tmp = <optimized out>
handler = 0x55d46f314580
accumulator = 0x0
emission = {next = 0x0, instance = 0x7f11c000c380, ihint = {signal_id = 1, detail = 807, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 0x4 [void]}
class_closure = 0x55d46e3b0ef0
hlist = <optimized out>
handler_list = 0x55d46f314580
return_accu = 0x0
accu = {g_type = 0x0, 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 = 1
max_sequential_handler_number = 7061
return_value_altered = 1
mate-desktop/mate-panel#5 0x00007f11dc72934e in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7ffdda655720) at ../gobject/gsignal.c:3391
instance_and_params = 0x7ffdda655540
signal_return_type = <optimized out>
param_values = 0x7ffdda655558
node = <optimized out>
i = <optimized out>
n_params = <optimized out>
__FUNCTION__ = "g_signal_emit_valist"
mate-desktop/mate-panel#7 0x00007f11dc711204 in g_object_dispatch_properties_changed (object=0x7f11c000c380 [SoupConnection], n_pspecs=<optimized out>, pspecs=<optimized out>) at ../gobject/gobject.c:1088
i = <optimized out>
mate-desktop/mate-panel#8 0x00007f11dc710ade in g_object_notify_queue_thaw (object=object@entry=0x7f11c000c380 [SoupConnection], nqueue=nqueue@entry=0x55d46f358910) at ../gobject/gobject.c:296
pspecs_mem = {0x55d46f113bb0 [GParamEnum], 0x38, 0x7f11c000c390, 0x0, 0x55d46f113bb0 [GParamEnum], 0x55d46f113bb0 [GParamEnum], 0x0, 0x38, 0x7f11c000c390, 0x0, 0x0, 0x7f11dc606537, 0x7f11c000c380 [SoupConnection], 0x0, 0x55d46e9cf8e0 [SoupSession], 0x7f11c000c390}
pspecs = 0x7ffdda655830
free_me = 0x0
slist = <optimized out>
n_pspecs = 1
__FUNCTION__ = "g_object_notify_queue_thaw"
mate-desktop/mate-panel#9 0x00007f11dc71387b in g_object_thaw_notify (object=0x7f11c000c380 [SoupConnection]) at ../gobject/gobject.c:1325
nqueue = 0x55d46f358910
__FUNCTION__ = "g_object_thaw_notify"
mate-desktop/mate-panel#10 0x00007f11dbda684f in soup_connection_set_state (conn=<optimized out>, state=<optimized out>) at ../libsoup/soup-connection.c:721
priv = <optimized out>
__FUNCTION__ = "soup_connection_set_state"
mate-desktop/mate-panel#11 0x00007f11dbdc73da in soup_session_unqueue_item (session=0x55d46e9cf8e0 [SoupSession], item=0x55d46f419b40) at ../libsoup/soup-session.c:1489
priv = 0x55d46e9cf7e0
host = <optimized out>
dedicated_conn = 0x0
mate-desktop/mate-panel#12 0x00007f11dbdcb365 in soup_session_process_queue_item (loop=<optimized out>, should_cleanup=<optimized out>, item=<optimized out>, session=<optimized out>) at ../libsoup/soup-session.c:2040
__FUNCTION__ = "soup_session_process_queue_item"
__FUNCTION__ = "soup_session_process_queue_item"
mate-desktop/mate-panel#13 0x00007f11dbdcb365 in soup_session_process_queue_item (session=<optimized out>, item=0x55d46f419b40, should_cleanup=<optimized out>, loop=<optimized out>) at ../libsoup/soup-session.c:1964
__FUNCTION__ = "soup_session_process_queue_item"
mate-desktop/mate-panel#14 0x00007f11dbdcbd58 in async_run_queue (session=session@entry=0x55d46e9cf8e0 [SoupSession]) at ../libsoup/soup-session.c:2082
priv = 0x55d46e9cf7e0
item = 0x55d46f419b40
msg = <optimized out>
try_cleanup = <optimized out>
should_cleanup = 0
mate-desktop/mate-panel#15 0x00007f11dbdcbdfa in idle_run_queue (user_data=user_data@entry=0x55d46f3d3c40) at ../libsoup/soup-session.c:2109
wref = 0x55d46f3d3c40
session = 0x55d46e9cf8e0 [SoupSession]
mate-desktop/mate-panel#16 0x00007f11dc6217cb in g_idle_dispatch (source=source@entry=0x55d46e5d2d90, callback=0x7f11dbdcbde0 <idle_run_queue>, user_data=0x55d46f3d3c40) at ../glib/gmain.c:5627
again = <optimized out>
mate-desktop/mate-panel#17 0x00007f11dc624ecd in g_main_dispatch (context=0x55d46e3e1e60) at ../glib/gmain.c:3189
dispatch = <optimized out>
prev_source = 0x0
was_in_call = <optimized out>
user_data = 0x55d46f3d3c40
callback = 0x7f11dbdcbde0 <idle_run_queue>
cb_funcs = 0x7f11dc6f7280 <g_source_callback_funcs>
cb_data = 0x55d46e4011d0
need_destroy = <optimized out>
source = 0x55d46e5d2d90
current = 0x55d46e435ae0
i = 0
__FUNCTION__ = "g_main_dispatch"
mate-desktop/mate-panel#18 0x00007f11dc624ecd in g_main_context_dispatch (context=context@entry=0x55d46e3e1e60) at ../glib/gmain.c:3854
mate-desktop/mate-panel#19 0x00007f11dc625260 in g_main_context_iterate (context=0x55d46e3e1e60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3927
max_priority = 0
timeout = 0
some_ready = 1
nfds = <optimized out>
allocated_nfds = <optimized out>
fds = 0x55d46f0d8f40
mate-desktop/mate-panel#20 0x00007f11dc625593 in g_main_loop_run (loop=0x55d46e435f90) at ../glib/gmain.c:4123
__FUNCTION__ = "g_main_loop_run"
mate-desktop/mate-panel#21 0x00007f11dce42f2d in gtk_main () at gtkmain.c:1323
loop = 0x55d46e435f90
mate-desktop/mate-panel#22 0x00007f11dd7025a8 in _mate_panel_applet_factory_main_internal (factory_id=<optimized out>, out_process=1, applet_type=0x55d46e42da00 [MatePanelApplet/GtkEventBox/GtkBin/GtkContainer/GtkWidget/GInitiallyUnowned], callback=<optimized out>, user_data=0x0) at mate-panel-applet.c:2344
factory = 0x55d46e416c60 [MatePanelAppletFactory]
closure = 0x55d46e42db50
__func__ = "_mate_panel_applet_factory_main_internal"
mate-desktop/mate-panel#23 0x000055d46dedae46 in main (argc=<optimized out>, argv=<optimized out>) at clock.c:3423
context = 0x55d46e3a9fd0
error = 0x0
retval = <optimized out>
So, i assume it is more an issue with libmateweather.
Reverting https://github.com/mate-desktop/libmateweather/commit/4cad2cfe818be68e2eb3ef038ab6177cf2fa0bc4 seems to fix the issue.
Any plans to make new release?
Expected behaviour
Adding location to calendar works normally
Actual behaviour
Panel segfaults on clicking "OK" button in dialog to add location
Steps to reproduce the behaviour
Open the calendar popup , it will come up with "locations" selected click "edit" and then "add" buttons Select any location click "OK" and that's when the panel segfaults. When it restarts the location will have been sucessfully added. Got this backtrace in gdb
MATE general version
1.23 from git master
Package version
local build from git master as of 9-11-2019
Linux Distribution
Debian Unstable last updated Sep 6
Link to downstream report of your Distribution
None as this is a local build