<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 9pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hello</p>
<p>I added <span style="white-space: nowrap;">fts_mail_user_init / fts_mail_user_deinit</span></p>
<p><span style="white-space: nowrap;">The dovecot does not break but gives warnings:</span></p>
<p><span style="white-space: nowrap;">Nov 1 12:56:35 gjserver dovecot[1191632]: imap(1191725): Warning: Timeout leak: 0x7f9c470c2a30 (mail-index-alloc-cache.c:265)<br />Nov 1 12:56:35 gjserver dovecot[1191632]: imap(1191725): Warning: Raw backtrace for leaks: #0 io_loop_destroy[0x7f9c46f228c0] -> <a class="issue-link js-issue-link" href="https://github.com/grosjo/fts-xapian/pull/1" data-error-text="Failed to load title" data-id="398868569" data-permission-text="Title is private" data-url="https://github.com/grosjo/fts-xapian/issues/1" data-hovercard-type="pull_request" data-hovercard-url="/grosjo/fts-xapian/pull/1/hovercard">#1</a> master_service_deinit[0x7f9c46e96d40] -> <a class="issue-link js-issue-link" href="https://github.com/grosjo/fts-xapian/issues/2" data-error-text="Failed to load title" data-id="398880177" data-permission-text="Title is private" data-url="https://github.com/grosjo/fts-xapian/issues/2" data-hovercard-type="issue" data-hovercard-url="/grosjo/fts-xapian/issues/2/hovercard">#2</a> main[0x55c69d657a80] -> <a class="issue-link js-issue-link" href="https://github.com/grosjo/fts-xapian/issues/3" data-error-text="Failed to load title" data-id="398967430" data-permission-text="Title is private" data-url="https://github.com/grosjo/fts-xapian/issues/3" data-hovercard-type="issue" data-hovercard-url="/grosjo/fts-xapian/issues/3/hovercard">#3</a> __libc_start_main[0x7f9c46c67a50] -> <a class="issue-link js-issue-link" href="https://github.com/grosjo/fts-xapian/issues/4" data-error-text="Failed to load title" data-id="399011951" data-permission-text="Title is private" data-url="https://github.com/grosjo/fts-xapian/issues/4" data-hovercard-type="issue" data-hovercard-url="/grosjo/fts-xapian/issues/4/hovercard">#4</a> _start[0x55c69d658010]<br />Nov 1 12:56:35 gjserver dovecot[1191632]: imap(1191725): Warning: Event 0x55c69d7d02b0 leaked (parent=0x55c69d7c9220): mail-cache.c:578<br />Nov 1 12:56:35 gjserver dovecot[1191632]: imap(1191725): Warning: Event 0x55c69d7c9220 leaked (parent=0x55c69d7c0e20): mail-index.c:67<br />Nov 1 12:56:35 gjserver dovecot[1191632]: imap(1191725): Warning: Event 0x55c69d7c0e20 leaked (parent=0x55c69d7b51d0): index-storage.c:405<br />Nov 1 12:56:35 gjserver dovecot[1191632]: imap(1191725): Warning: Event 0x55c69d7c0120 leaked (parent=0x55c69d7c1ef0): mail-cache.c:578<br />Nov 1 12:56:35 gjserver dovecot[1191632]: imap(1191725): Warning: Event 0x55c69d7c1ef0 leaked (parent=0x55c69d7ee170): mail-index.c:67</span></p>
<p><span style="white-space: nowrap;">Your help very welcome</span></p>
<p><br /></p>
<div id="signature"></div>
<p><br /></p>
<p id="reply-intro">On 2021-11-01 07:03, Aki Tuomi wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><span style="white-space: nowrap;">On 31/10/2021 00:01 Juan Felipe Arjona <<a href="mailto:jfarjona@gmail.com">jfarjona@gmail.com</a>> wrote:</span><br /><br /><span style="white-space: nowrap;"> </span><br /><span style="white-space: nowrap;">Hello:</span><br /><br /><br /><span style="white-space: nowrap;">I just upgraded my Debian server with dovecot 2.3.17, and it breaks when </span><br /><span style="white-space: nowrap;">using the plugin fts-xapian.</span><br /><br /><span style="white-space: nowrap;">Apparently is a bug in Dovecot, please see:</span><br /><br /><br /><span style="white-space: nowrap;"><a href="https://github.com/grosjo/fts-xapian/issues/99" target="_blank" rel="noopener noreferrer">https://github.com/grosjo/fts-xapian/issues/99</a></span><br /><br /><br /><span style="white-space: nowrap;">Thanks,</span><br /><br /><br />Juan</blockquote>
<br /><span style="white-space: nowrap;">Hi!</span><br /><br /><span style="white-space: nowrap;">This issue is due to a bug in fts-xapian. The plugin does not call fts_mail_user_init, causing the crash.</span><br /><br />Aki<br /><br /></div>
</blockquote>
</body></html>