geary won't start after upgrading to 3.36

Bug #1868152 reported by Danial Behzadi
72
This bug affects 17 people
Affects Status Importance Assigned to Milestone
Geary
Fix Released
Unknown
geary (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

It simply doesn't start anymore. Here are the logs:

    *[wrn] 21:48:42.0184 GLib-GObject:cannot register existing type 'PluginNotification'
    ![crt] 21:48:42.0184 GLib:g_once_init_leave: assertion 'result != 0' failed
    ![crt] 21:48:42.0184 GLib-GObject:g_type_register_dynamic: assertion 'parent_type > 0' failed
    *[wrn] 21:48:42.0184 GLib-GObject:cannot register existing type 'GearyBaseObject'
    *[wrn] 21:48:42.0184 GLib-GObject:cannot register existing type 'GearyBaseInterface'
    ![crt] 21:48:42.0184 GLib:g_once_init_leave: assertion 'result != 0' failed
    ![crt] 21:48:42.0184 GLib-GObject:g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
    ![crt] 21:48:42.0184 GLib:g_once_init_leave: assertion 'result != 0' failed
    ![crt] 21:48:42.0184 GLib-GObject:g_type_register_dynamic: assertion 'parent_type > 0' failed

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: geary 3.36.0-2
ProcVersionSignature: Ubuntu 5.4.0-18.22-generic 5.4.24
Uname: Linux 5.4.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu20
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Mar 19 21:55:38 2020
InstallationDate: Installed on 2019-11-01 (138 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
SourcePackage: geary
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Danial Behzadi (dani.behzi) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in geary (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Gratton (mjog) wrote :

Pretty sure this is a build bug - it doesn't happen when compiling 3.36 from source and running it from there, doesn't happen installing the Debian 3.36.0-2 package either.

Revision history for this message
Michael Gratton (mjog) wrote :

@jbicha does this ring any bells? I'd really rather Ubuntu not ship a version of Geary that does not start.

Revision history for this message
Joe Barnett (thejoe) wrote :

fwiw, here's gdb backtrace when seeing this bug:

(gdb) bt
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007ffff7d74483 in g_cond_wait ()
    at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff7d50b0f in g_once_init_enter ()
    at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fff8ca5370c in plugin_notification_get_type ()
    at /usr/lib/x86_64-linux-gnu/geary/plugins/messaging-menu/libmessaging-menu-geary.so
#4 0x00007fff8c980e07 in peas_register_types ()
    at /usr/lib/x86_64-linux-gnu/geary/plugins/messaging-menu/libmessaging-menu-geary.so
#5 0x00007ffff59d34cc in () at /lib/x86_64-linux-gnu/libpeas-1.0.so.0
#6 0x00007ffff7e3c58b in g_type_module_use ()
    at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007ffff59d5d9b in () at /lib/x86_64-linux-gnu/libpeas-1.0.so.0
#8 0x00007ffff59cf9e0 in () at /lib/x86_64-linux-gnu/libpeas-1.0.so.0
#9 0x00007ffff7e12802 in g_closure_invoke ()
    at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff7e25f96 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff7e31b9e in g_signal_emit_valist ()
    at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ffff7e32b7c in g_signal_emit_by_name ()
    at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--c
#13 0x0000555555633d09 in application_plugin_manager_load ()
#14 0x0000555555606c50 in ()
#15 0x00005555555f856c in ()
#16 0x00007ffff787ae79 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#17 0x00007ffff787aebd in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#18 0x00007ffff7d26e8e in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007ffff7d27240 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ffff7d272e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007ffff78a8f05 in g_application_run () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#22 0x00005555555f4d67 in _vala_main ()
#23 0x00007ffff22aa0b3 in __libc_start_main (main=0x5555555f4bc0 <main>, argc=1, argv=0x7fffffffdaa8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffda98) at ../csu/libc-start.c:308
#24 0x00005555555f4c0e in _start ()

Also, I only get the first 3 lines of log output above, nothing about GearyBaseObject etc

Revision history for this message
Fabio Duran Verdugo (fabioduran) wrote :
Download full text (6.5 KiB)

Here a better trace

(gdb) bt full
#0 0x00007ffff23999bf in __GI___poll (fds=0x555555af2d30, nfds=1, timeout=25000) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
        sc_ret = <optimized out>
#1 0x00007ffff7d301ae in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x555555af2d30, timeout=<optimized out>,
    context=0x555555af3590) at ../../../glib/gmain.c:4346
        ret = <optimized out>
        errsv = <optimized out>
        poll_func = 0x7ffff7d3ff10 <g_poll>
        poll_func = <optimized out>
        ret = <optimized out>
        errsv = <optimized out>
#2 g_main_context_iterate (context=0x555555af3590, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../../../glib/gmain.c:4042
        max_priority = 2147483647
        timeout = 25000
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = <optimized out>
        fds = 0x555555af2d30
#3 0x00007ffff7d30533 in g_main_loop_run (loop=0x555555af2d10) at ../../../glib/gmain.c:4241
        self = <optimized out>
        __func__ = "g_main_loop_run"
#4 0x00007ffff78df415 in g_dbus_connection_send_message_with_reply_sync (connection=connection@entry=0x555555ac6020,
    message=message@entry=0x555555ad24a0, flags=flags@entry=G_DBUS_SEND_MESSAGE_FLAGS_NONE, timeout_msec=timeout_msec@entry=-1,
    out_serial=out_serial@entry=0x0, cancellable=cancellable@entry=0x0, error=0x7fffffffdc90) at ../../../gio/gdbusconnection.c:2164
        data = {res = 0x0, context = 0x555555af3590, loop = 0x555555af2d10}
        reply = <optimized out>
        __func__ = "g_dbus_connection_send_message_with_reply_sync"
#5 0x00007ffff78df80f in g_dbus_connection_call_sync_internal (connection=0x555555ac6020, bus_name=0x555555aeed80 "org.gnome.Geary",
    object_path=0x555555af0f40 "/org/gnome/Geary", interface_name=interface_name@entry=0x7ffff793b231 "org.gtk.Actions",
    method_name=method_name@entry=0x7ffff793b259 "DescribeAll", parameters=parameters@entry=0x0, reply_type=0x7ffff793b265,
    flags=G_DBUS_CALL_FLAGS_NONE, timeout_msec=-1, fd_list=0x0, out_fd_list=0x0, cancellable=0x0, error=0x7fffffffde60)
    at ../../../gio/gdbusconnection.c:5989
        message = 0x555555ad24a0
        reply = 0x0
        result = 0x0
        local_error = 0x0
        send_flags = G_DBUS_SEND_MESSAGE_FLAGS_NONE
        __func__ = "g_dbus_connection_call_sync_internal"
#6 0x00007ffff78e17f7 in g_dbus_connection_call_sync (connection=<optimized out>, bus_name=<optimized out>, object_path=<optimized out>,
    interface_name=interface_name@entry=0x7ffff793b231 "org.gtk.Actions", method_name=method_name@entry=0x7ffff793b259 "DescribeAll",
    parameters=parameters@entry=0x0, reply_type=0x7ffff793b265, flags=G_DBUS_CALL_FLAGS_NONE, timeout_msec=-1, cancellable=0x0, error=0x7fffffffde60)
    at ../../../gio/gdbusconnection.c:6219
No locals.
#7 0x00007ffff78b8bf9 in g_dbus_action_group_sync (group=group@entry=0x555555ad2400, cancellable=cancellable@entry=0x0,
    error=error@entry=0x7fffffffde60) at ../../../gio/gdbusactiongroup.c:530
        reply = <optimized out>
        __func__ = "g_dbus_a...

Read more...

Revision history for this message
Fabio Duran Verdugo (fabioduran) wrote :
Revision history for this message
Michael Gratton (mjog) wrote :

This should be fixed in 3.36.1, which was just released. Anyone know how to get the package updated?

Revision history for this message
Danial Behzadi (dani.behzi) wrote :

Fixed in 3.36.1

Changed in geary (Ubuntu):
status: Confirmed → Fix Released
Changed in geary:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.