<html>
<head>
<style type="text/css">
body,p,td,div,span{
font-size:14px;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
};
body p{
margin:0px;
}
</style>
</head>
<body>Not sure if I mentioned it but I'm on FreeBSD too. I wonder if any of the patches FreeBSD applies automatically is causing this. I looked through them but couldn't find anything obvious that might cause this<div><br></div><div><div>--- configure.orig 2020-08-12 12:20:51 UTC</div><div>+++ configure</div><div>@@ -28901,13 +28901,13 @@ fi</div><div><br></div><div><br></div><div> if test $want_stemmer != no; then</div><div>- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sb_stemmer_new in -lstemmer" >&5</div><div>-$as_echo_n "checking for sb_stemmer_new in -lstemmer... " >&6; }</div><div>+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sb_stemmer_new in -lclucene-contribs-lib" >&5</div><div>+$as_echo_n "checking for sb_stemmer_new in -lclucene-contribs-lib... " >&6; }</div><div> if ${ac_cv_lib_stemmer_sb_stemmer_new+:} false; then :</div><div> $as_echo_n "(cached) " >&6</div><div> else</div><div> ac_check_lib_save_LIBS=$LIBS</div><div>-LIBS="-lstemmer $LIBS"</div><div>+LIBS="-lclucene-contribs-lib $LIBS"</div><div> cat confdefs.h - <<_ACEOF >conftest.$ac_ext</div><div> /* end confdefs.h. */</div><div><br></div><div>--- src/plugins/fts-lucene/Makefile.in.orig</div><div>+++ src/plugins/fts-lucene/Makefile.in</div><div>@@ -516,7 +516,7 @@</div><div> module_LTLIBRARIES = \</div><div> lib21_fts_lucene_plugin.la</div><div><br></div><div>-@BUILD_FTS_STEMMER_TRUE@STEMMER_LIBS = -lstemmer</div><div>+@BUILD_FTS_STEMMER_TRUE@STEMMER_LIBS = -lclucene-contribs-lib</div><div> @BUILD_FTS_STEMMER_TRUE@SHOWBALL_SOURCES = Snowball.cc</div><div> @BUILD_FTS_EXTTEXTCAT_FALSE@@BUILD_FTS_TEXTCAT_TRUE@TEXTCAT_LIBS = -ltextcat</div><div> @BUILD_FTS_EXTTEXTCAT_TRUE@TEXTCAT_LIBS = $(LIBEXTTEXTCAT_LIBS)</div><div>--- src/lib-fts/Makefile.in.orig</div><div>+++ src/lib-fts/Makefile.in</div><div>@@ -549,7 +549,7 @@</div><div> word-break-data.c \</div><div> stopwords/stopwords_malformed.txt</div><div><br></div><div>-@BUILD_FTS_STEMMER_TRUE@STEMMER_LIBS = -lstemmer</div><div>+@BUILD_FTS_STEMMER_TRUE@STEMMER_LIBS = -lclucene-contribs-lib</div><div> @BUILD_FTS_EXTTEXTCAT_FALSE@@BUILD_FTS_TEXTCAT_TRUE@TEXTCAT_LIBS = -ltextcat</div><div> @BUILD_FTS_EXTTEXTCAT_TRUE@TEXTCAT_LIBS = $(LIBEXTTEXTCAT_LIBS)</div><div> @BUILD_LIBICU_TRUE@ICU_SOURCES = fts-icu.c</div><div>--- src/lib-fts/fts-filter-stemmer-snowball.c.orig 2020-08-12 12:20:41 UTC</div><div>+++ src/lib-fts/fts-filter-stemmer-snowball.c</div><div>@@ -6,7 +6,7 @@</div><div><br></div><div> #ifdef HAVE_FTS_STEMMER</div><div><br></div><div>-#include <libstemmer.h></div><div>+#include <CLucene/snowball/libstemmer.h></div><div><br></div><div> struct fts_filter_stemmer_snowball {</div><div> struct fts_filter filter;</div><div>--- src/master/main.c.orig 2019-12-04 09:31:27 UTC</div><div>+++ src/master/main.c</div><div>@@ -866,6 +866,8 @@ int main(int argc, char *argv[])</div><div> i_fatal("dup2(dev_null_fd) failed: %m");</div><div> if (!foreground && dup2(dev_null_fd, STDOUT_FILENO) < 0)</div><div> i_fatal("dup2(dev_null_fd) failed: %m");</div><div>+ if (!foreground && dup2(dev_null_fd, STDERR_FILENO) < 0)</div><div>+ i_fatal("dup2(dev_null_fd) failed: %m");</div><div><br></div><div> pidfile_path =</div><div> i_strconcat(set->base_dir, "/"MASTER_PID_FILE_NAME, NULL);</div><div>--- src/plugins/fts-lucene/SnowballFilter.h.orig 2020-08-12 12:20:41 UTC</div><div>+++ src/plugins/fts-lucene/SnowballFilter.h</div><div>@@ -8,7 +8,7 @@</div><div> #define _lucene_analysis_snowball_filter_</div><div><br></div><div> #include "CLucene/analysis/AnalysisHeader.h"</div><div>-#include "libstemmer.h"</div><div>+#include "CLucene/snowball/libstemmer.h"</div><div><br></div><div> CL_NS_DEF2(analysis,snowball)</div><div><br></div><div>--- src/plugins/fts-solr/solr-connection.c.orig 2020-08-12 12:20:41 UTC</div><div>+++ src/plugins/fts-solr/solr-connection.c</div><div>@@ -103,7 +103,7 @@ int solr_connection_init(const struct fts_solr_setting</div><div> http_set.ssl = ssl_client_set;</div><div> http_set.debug = solr_set->debug;</div><div> http_set.rawlog_dir = solr_set->rawlog_dir;</div><div>- solr_http_client = http_client_init(&http_set);</div><div>+ solr_http_client = http_client_init_private(&http_set);</div><div> }</div><div><br></div><div> *conn_r = conn;</div><div>/usr gets changed to ${LOCALBASE} in post-patch:, so we</div><div>cheat and set xpdf's path to /usr/lib.</div><div><br></div><div>--- src/plugins/fts/decode2text.sh.orig 2017-10-28 12:21:20 UTC</div><div>+++ src/plugins/fts/decode2text.sh</div><div>@@ -79,16 +79,20 @@ wait_timeout() {</div><div> LANG=en_US.UTF-8</div><div> export LANG</div><div> if [ $fmt = "pdf" ]; then</div><div>- /usr/bin/pdftotext $path - 2>/dev/null&</div><div>+ if [ -x /usr/lib/xpdf/pdftotext ]; then</div><div>+ /usr/lib/xpdf/pdftotext $path - 2>/dev/null&</div><div>+ else</div><div>+ /usr/local/bin/pdftotext $path - 2>/dev/null&</div><div>+ fi</div><div> wait_timeout 2>/dev/null</div><div> elif [ $fmt = "doc" ]; then</div><div>- (/usr/bin/catdoc $path; true) 2>/dev/null&</div><div>+ (/usr/local/bin/catdoc $path; true) 2>/dev/null&</div><div> wait_timeout 2>/dev/null</div><div> elif [ $fmt = "ppt" ]; then</div><div>- (/usr/bin/catppt $path; true) 2>/dev/null&</div><div>+ (/usr/local/bin/catppt $path; true) 2>/dev/null&</div><div> wait_timeout 2>/dev/null</div><div> elif [ $fmt = "xls" ]; then</div><div>- (/usr/bin/xls2csv $path; true) 2>/dev/null&</div><div>+ (/usr/local/bin/xls2csv $path; true) 2>/dev/null&</div><div> wait_timeout 2>/dev/null</div><div> elif [ $fmt = "odt" -o $fmt = "ods" -o $fmt = "odp" ]; then</div><div> xmlunzip "content.xml"</div><div>--- src/plugins/fts/fts-parser-tika.c.orig 2019-01-02 22:11:26 UTC</div><div>+++ src/plugins/fts/fts-parser-tika.c</div><div>@@ -77,7 +77,7 @@ tika_get_http_client_url(struct mail_user *user, struc</div><div> http_set.request_timeout_msecs = 60*1000;</div><div> http_set.ssl = &ssl_set;</div><div> http_set.debug = user->mail_debug;</div><div>- tika_http_client = http_client_init(&http_set);</div><div>+ tika_http_client = http_client_init_private(&http_set);</div><div> }</div><div> *http_url_r = tuser->http_url;</div><div> return 0;</div><div><br></div><div><br></div><div><div></div><br>On Sunday, 06/09/2020 at 10:14 Bane Ivosev wrote:<br><blockquote style="border:0;border-left: 2px solid #22437f; padding:0px; margin:0px; padding-left:5px; margin-left: 5px; ">Just to confirm, same problem, FreeBSD, after update from 2.3.10.1 to<br>
2.3.11.3 with Solr 7.7.<br>
<br>
On 8/19/20 5:03 PM, Alessio Cecchi wrote:<br>
> Hi,<br>
> <br>
> after the upgrade to Dovecot 2.3.11.3, from 2.3.10.1, I see frequently<br>
> these errors from different users:<br>
> <br>
> Aug 18 11:02:35 Panic: indexer-worker(<a href="mailto:info@domain.com" class="normal-link normal-link-email" target="_blank" rel="noopener noreferrer">info@domain.com</a>)<br>
> session=<g71KISOttvS5LNVj:O3ahCyuZO18cYAAAEPCW+w>: file<br>
> http-client-request.c: line 1232 (http_client_request_send_more):<br>
> assertion failed: (req->payload_input != NULL)<br>
> Aug 18 11:02:35 Error: indexer-worker(<a href="mailto:info@domain.com" class="normal-link normal-link-email" target="_blank" rel="noopener noreferrer">info@domain.com</a>)<br>
> session=<g71KISOttvS5LNVj:O3ahCyuZO18cYAAAEPCW+w>: Raw backtrace:<br>
> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(backtrace_append+0x2f)<br>
> [0x7f0ee3c828bf] -><br>
> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(backtrace_get+0x26) [0x7f0ee3c829d6]<br>
> -> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(+0xeb7ba) [0x7f0ee3c8d7ba] -><br>
> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(+0xeb801) [0x7f0ee3c8d801] -><br>
> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(+0x42ff1) [0x7f0ee3be4ff1] -><br>
> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(http_client_request_send_more+0x415)<br>
> [0x7f0ee3c2ba25] -><br>
> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(http_client_connection_output+0x114)<br>
> [0x7f0ee3c30994] -> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(+0x115470)<br>
> [0x7f0ee3cb7470] -><br>
> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(io_loop_call_io+0x55)<br>
> [0x7f0ee3ca4eb5] -><br>
> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(io_loop_handler_run_internal+0xdc)<br>
> [0x7f0ee3ca6ebc] -><br>
> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(io_loop_handler_run+0x5c)<br>
> [0x7f0ee3ca4fac] -> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(io_loop_run+0x38)<br>
> [0x7f0ee3ca51f8] -> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(+0x8a955)<br>
> [0x7f0ee3c2c955] -><br>
> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(http_client_request_finish_payload+0x21)<br>
> [0x7f0ee3c2cbd1] -><br>
> /usr/lib64/dovecot/lib21_fts_solr_<a href="http://plugin.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">plugin.so</a>(solr_connection_post_end+0x45)<br>
> [0x7f0ee1c85d15] -> /usr/lib64/dovecot/lib21_fts_solr_<a href="http://plugin.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">plugin.so</a>(+0x3fa0)<br>
> [0x7f0ee1c81fa0] -> /usr/lib64/dovecot/lib20_fts_<a href="http://plugin.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">plugin.so</a>(+0x86cc)<br>
> [0x7f0ee297f6cc] -><br>
> /usr/lib64/dovecot/lib20_fts_<a href="http://plugin.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">plugin.so</a>(fts_backend_update_deinit+0x2c)<br>
> [0x7f0ee297f74c] -> /usr/lib64/dovecot/lib20_fts_<a href="http://plugin.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">plugin.so</a>(+0xfd04)<br>
> [0x7f0ee2986d04] -> /usr/lib64/dovecot/lib20_fts_<a href="http://plugin.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">plugin.so</a>(+0xff3f)<br>
> [0x7f0ee2986f3f] -> /usr/lib64/dovecot/lib10_quota_<a href="http://plugin.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">plugin.so</a>(+0xf64b)<br>
> [0x7f0ee2dc764b] -> /usr/lib64/dovecot/lib01_acl_<a href="http://plugin.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">plugin.so</a>(+0xde43)<br>
> [0x7f0ee2fdce43] -><br>
> /usr/lib64/dovecot/<a href="http://libdovecot-storage.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot-storage.so</a>.0(mailbox_transaction_commit_get_changes+0x54)<br>
> [0x7f0ee3f91db4] -><br>
> /usr/lib64/dovecot/<a href="http://libdovecot-storage.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot-storage.so</a>.0(mailbox_transaction_commit+0x16)<br>
> [0x7f0ee3f91e76] -> dovecot/indexer-worker [<a class="normal-link" href="mailto:info@domain.com">info@domain.com</a><br>
> INBOX](+0x291c) [0x557584acb91c] -> dovecot/indexer-worker<br>
> [<a class="normal-link" href="mailto:info@domain.com">info@domain.com</a> INBOX](+0x2e54) [0x557584acbe54] -><br>
> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(io_loop_call_io+0x55)<br>
> [0x7f0ee3ca4eb5] -><br>
> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(io_loop_handler_run_internal+0xdc)<br>
> [0x7f0ee3ca6ebc] -><br>
> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(io_loop_handler_run+0x5c)<br>
> [0x7f0ee3ca4fac] -> /usr/lib64/dovecot/<a href="http://libdovecot.so" class="normal-link normal-link-url" target="_blank" rel="noopener noreferrer">libdovecot.so</a>.0(io_loop_run+0x38)<br>
> [0x7f0ee3ca51f8]<br>
> Aug 18 11:02:35 Error: indexer: Indexer worker disconnected, discarding<br>
> 1 requests for <a class="normal-link" href="mailto:info@domain.com">info@domain.com</a><br>
> Aug 18 11:02:35 Error: imap(<a href="mailto:info@domain.com" class="normal-link normal-link-email" target="_blank" rel="noopener noreferrer">info@domain.com</a>) session=<g71KISOttvS5LNVj>:<br>
> indexer failed to index mailbox INBOX<br>
> Aug 18 11:02:35 Fatal: indexer-worker(<a href="mailto:info@domain.com" class="normal-link normal-link-email" target="_blank" rel="noopener noreferrer">info@domain.com</a>)<br>
> session=<g71KISOttvS5LNVj:O3ahCyuZO18cYAAAEPCW+w>: master:<br>
> service(indexer-worker): child 24604 killed with signal 6 (core dumps<br>
> disabled - <a href="https://dovecot.org/bugreport.html#coredumps" target="_blank" class="normal-link">https://dovecot.org/bugreport.html#coredumps</a>)<br>
> <br>
> I'm using FTS with Solr 6.6.5. What is it?<br>
> <br>
> Thanks<br>
> <br>
> -- <br>
> Alessio Cecchi<br>
> Postmaster @ <a href="http://www.qboxmail.it" target="_blank" class="normal-link">http://www.qboxmail.it</a><br>
> <a href="https://www.linkedin.com/in/alessice" target="_blank" class="normal-link">https://www.linkedin.com/in/alessice</a><br>
></blockquote></div></div></body></html>