On mer, ago 14, 2013 at 08:12:29 +0200, Frederic Peters wrote:
> Package: libcurl3
> Version: 7.32.0-1
> Severity: normal
> 
> Hello,
> 
> After libcurl3 got updated to version 7.32.0-1 on my system I started
> experiencing crashes in dovecot (actually in its solr fts plugin).
> Downgrading to 7.31.0-2 fixed the problem.
> 
> 
> The code (solr-connection.c, line 538) looks like this:
> 
>     merr = curl_multi_fdset(post->conn->curlm, &fdread, &fdwrite,
>                             &fdexcep, &maxfd);
>     if (merr != CURLM_OK) {
>             i_error("fts_solr: curl_multi_fdset() failed: %s",
>                     curl_multi_strerror(merr));
>             break;
>     }
>     i_assert(maxfd >= 0);
> 
> and it now fails the assertion (i.e. maxfd is -1 while merr is OK).

That doesn't sound like a bug in libcurl. The curl_multi_fdset(3) manpage
explicitly states that the maxfd returned can be -1. I don't know why that
started happening to you with 7.32.0 though.

Note that you may have more luck upgrading dovecot, since, AFAICT, it doesn't
use libcurl anymore in the latest stable release.

Cheers

-- 
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'

Attachment: signature.asc
Description: Digital signature

Reply via email to