[Libreoffice-bugs] [Bug 137101] New: Evolution LDAP address source won't timeout, indefinitely freezing ui

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 28 15:28:47 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=137101

            Bug ID: 137101
           Summary: Evolution LDAP address source won't timeout,
                    indefinitely freezing ui
           Product: LibreOffice
           Version: 6.4.6.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: krumelmonster at zoho.com

I somehow managed to freeze libreoffice with an Evolution LDAP address source I
set up (I'm not exactly sure yet on how to reproduce it because I don't know
which address book/configuration causes this).

I tracked this issue down to
libreoffice/connectivity/source/drivers/evoab2/NResultSet.cxx:479
e_book_client_connect_direct_sync(get_e_source_registry(), pSource, nullptr,
nullptr); where the third argument is supposed to be the timeout for connecting
to an address book. In 2015, there was an API change in libebook

https://gitlab.gnome.org/GNOME/evolution-data-server/-/commit/884fb8d872787d9c9e8132d4cfca47f275d9da3e#c9a7132d08790f78d45354801734fe3457a91e79_1641_1736

Libreoffice still has the old signature hard-coded in
libreoffice/connectivity/source/drivers/evoab2/EApi.h:150 as
e_book_client_connect_direct_sync(ESourceRegistry *registry, ESource *source,
GCancellable *cancellable, GError **error) but the actual signature with
current versions of libebook is
e_book_client_connect_direct_sync(ESourceRegistry *registry, ESource *source,
guint32 wait_for_connected_seconds, GCancellable *cancellable, GError **error).

This change goes back to at least the gnome 3.16 version.

I will try to libreoffice to the newer libebook api and see if this resolves
this issue and maybe others I'm having with the Evolution LDAP address source.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200928/c2840bd9/attachment.htm>


More information about the Libreoffice-bugs mailing list