Crash when checking mail
I hit a crash today when running mainline for the first time in a while. I suspect this crash is a regression from 3.34 branch, since 3.34 is pretty stable.
#0 _g_log_abort (breakpoint=1) at ../glib/gmessages.c:554
debugger_present = 1
#1 0x00007f1d34a469b6 in g_logv
(log_domain=0x7f1d34b582f7 "GLib-GObject", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=args@entry=0x7fffaa5669e0)
at ../glib/gmessages.c:1373
domain = 0x0
data = 0x0
depth = 1
log_func = 0x7f1d34a466b0 <g_log_default_handler>
domain_fatal_mask = <optimized out>
masquerade_fatal = 0
test_level = <optimized out>
was_fatal = 0
was_recursion = 0
msg = 0x631e930 "g_object_ref: assertion 'old_val > 0' failed"
msg_alloc = 0x631e930 "g_object_ref: assertion 'old_val > 0' failed"
i = 3
#2 0x00007f1d34a46b83 in g_log
(log_domain=log_domain@entry=0x7f1d34b582f7 "GLib-GObject", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x7f1d34a975df "%s: assertion '%s' failed") at ../glib/gmessages.c:1415
args =
{{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffaa566ac0, reg_save_area = 0x7fffaa566a00}}
#3 0x00007f1d34a4737d in g_return_if_fail_warning (log_domain=log_domain@entry=0x7f1d34b582f7 "GLib-GObject", pretty_function=pretty_function@entry=0x7f1d34b5b958 <__FUNCTION__.15478> "g_object_ref", expression=expression@entry=0x7f1d34b5a6e1 "old_val > 0") at ../glib/gmessages.c:2771
#4 0x00007f1d34b2e712 in g_object_ref (_object=0x6177380) at ../gobject/gobject.c:3251
object = 0x6177380 [GearyImapFolderSession]
old_val = 0
__FUNCTION__ = "g_object_ref"
#5 0x000000000082cc65 in _g_object_ref0 (self=0x6177380) at ../../../../Projects/geary/src/engine/util/util-logging.vala:222
#6 0x000000000082cd6e in geary_logging_source_log_structured (self=0x6177380, flags=GEARY_LOGGING_FLAG_ALL, levels=G_LOG_LEVEL_DEBUG, fmt=0xa1f750 "Destroyed without releasing its session", args=0x7fffaa566bd0) at ../../../../Projects/geary/src/engine/util/util-logging.vala:222
context = {fields = 0x5457ef0, fields_length1 = 8, len = 8 '\b', count = 3 '\003', message = 0x4b353a0 "Destroyed without releasing its session"}
decorated = 0x0
_tmp1_ = 0x1d0cc60
_tmp9_ = 0x7fffffff7fffffff
_tmp8_ = 0
_tmp10_ = 0x6177380
_tmp10__length1 = 0
_tmp0_ = 1
__func__ = "geary_logging_source_log_structured"
#7 0x000000000082c6d3 in geary_logging_source_debug (self=0x6177380, fmt=0xa1f750 "Destroyed without releasing its session") at ../../../../Projects/geary/src/engine/util/util-logging.vala:160
_tmp0_ = GEARY_LOGGING_FLAG_ALL
_tmp1_ = GEARY_LOGGING_FLAG_ALL
_tmp2_ = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffaa566cb0, reg_save_area = 0x7fffaa566bf0}}
__func__ = "geary_logging_source_debug"
#8 0x000000000086f1ef in geary_imap_session_object_finalize (obj=0x6177380 [GearyImapFolderSession]) at ../../../../Projects/geary/src/engine/imap/api/imap-session-object.vala:52
self = 0x6177380 [GearyImapFolderSession]
_tmp0_ = 0x4175730 [GearyImapClientSession]
_tmp1_ = 0x0
_tmp2_ = 1
#9 0x000000000086df54 in geary_imap_folder_session_finalize (obj=0x6177380 [GearyImapFolderSession]) at ../../../../Projects/geary/src/engine/imap/api/imap-folder-session.vala:22
self = 0x6177380 [GearyImapFolderSession]
#10 0x00007f1d34b2ecb0 in g_object_unref (_object=<optimized out>) at ../gobject/gobject.c:3382
weak_locations = <optimized out>
old_ref = <optimized out>
__FUNCTION__ = "g_object_unref"
object = 0x6177380 [GearyImapFolderSession]
__FUNCTION__ = "g_object_unref"
#11 g_object_unref (_object=0x6177380) at ../gobject/gobject.c:3274
object = 0x6177380 [GearyImapFolderSession]
__FUNCTION__ = "g_object_unref"
#12 0x0000000000859979 in geary_imap_folder_session_construct_data_free (_data=0x43c23f0) at ../../../../Projects/geary/src/engine/imap/api/imap-folder-session.vala:90
_data_ = 0x43c23f0
#13 0x00007f1d345815a2 in g_task_finalize (object=0x56f7e10 [GTask]) at ../gio/gtask.c:657
task = 0x56f7e10 [GTask]
#14 0x00007f1d34b2ecb0 in g_object_unref (_object=<optimized out>) at ../gobject/gobject.c:3382
weak_locations = <optimized out>
old_ref = <optimized out>
__FUNCTION__ = "g_object_unref"
object = 0x56f7e10 [GTask]
__FUNCTION__ = "g_object_unref"
#15 g_object_unref (_object=0x56f7e10) at ../gobject/gobject.c:3274
object = 0x56f7e10 [GTask]
__FUNCTION__ = "g_object_unref"
#16 0x00007f1d34a3be23 in g_source_callback_unref (cb_data=0x4c44930) at ../glib/gmain.c:1549
callback = 0x4c44930
#17 g_source_callback_unref (cb_data=0x4c44930) at ../glib/gmain.c:1542
callback = 0x4c44930
#18 0x00007f1d34a3d5fc in g_source_destroy_internal (source=0x48a7150, context=0x1b7d400, have_lock=1) at ../glib/gmain.c:1231
tmp_list = <optimized out>
old_cb_data = 0x4c44930
old_cb_funcs = 0x7f1d34b14280 <g_source_callback_funcs>
#19 0x00007f1d34a3f548 in g_main_dispatch (context=0x1b7d400) at ../glib/gmain.c:3203
dispatch = <optimized out>
prev_source = 0x0
was_in_call = <optimized out>
user_data = 0x56f7e10
callback = 0x7f1d345812d0 <complete_in_idle_cb>
cb_funcs = 0x7f1d34b14280 <g_source_callback_funcs>
cb_data = 0x4c44930
need_destroy = <optimized out>
source = 0x48a7150
current = 0x1b88c80
i = 0
__FUNCTION__ = "g_main_dispatch"
#20 g_main_context_dispatch (context=context@entry=0x1b7d400) at ../glib/gmain.c:3844
#21 0x00007f1d34a3f830 in g_main_context_iterate (context=context@entry=0x1b7d400, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3917
max_priority = 0
timeout = 0
some_ready = 1
nfds = <optimized out>
allocated_nfds = <optimized out>
fds = 0x4551000
#22 0x00007f1d34a3f8d3 in g_main_context_iteration (context=context@entry=0x1b7d400, may_block=may_block@entry=1) at ../glib/gmain.c:3978
retval = <optimized out>
#23 0x00007f1d345aed35 in g_application_run (application=0x1b6e160 [ApplicationClient], argc=<optimized out>, argv=<optimized out>) at ../gio/gapplication.c:2559
arguments = 0x1b9e170
status = 0
context = 0x1b7d400
acquired_context = 1
__FUNCTION__ = "g_application_run"
#24 0x00000000004815ac in _vala_main (args=0x7fffaa5670b8, args_length1=1) at ../../../../Projects/geary/src/client/application/main.vala:30
app = 0x1b6e160 [ApplicationClient]
_tmp0_ = 0x1b6e160 [ApplicationClient]
ec = 0
result = 0
#25 0x00000000004815f5 in main (argc=1, argv=0x7fffaa5670b8) at ../../../../Projects/geary/src/client/application/main.vala:7