<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Evolution LDAP address source won't timeout, indefinitely freezing ui"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137101">137101</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Evolution LDAP address source won't timeout, indefinitely freezing ui
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.4.6.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>krumelmonster@zoho.com
</td>
</tr></table>
<p>
<div>
<pre>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
<a href="https://gitlab.gnome.org/GNOME/evolution-data-server/-/commit/884fb8d872787d9c9e8132d4cfca47f275d9da3e#c9a7132d08790f78d45354801734fe3457a91e79_1641_1736">https://gitlab.gnome.org/GNOME/evolution-data-server/-/commit/884fb8d872787d9c9e8132d4cfca47f275d9da3e#c9a7132d08790f78d45354801734fe3457a91e79_1641_1736</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>