kqueue crash on FreeBSD with 2.2.25

Adam Weinberger adamw at adamw.org
Sat Jul 2 00:46:16 UTC 2016


> On 1 Jul, 2016, at 18:30, Adam Weinberger <adamw at adamw.org> wrote:
> 
>> On 1 Jul, 2016, at 10:52, Timo Sirainen <tss at iki.fi> wrote:
>> 
>> On 01 Jul 2016, at 19:39, Adam Weinberger <adamw at adamw.org> wrote:
>>> 
>>> Hi,
>>> 
>>> 2.2.25 crashes on FreeBSD with a kqueue-related message. I see references to something similar (http://www.dovecot.org/list/dovecot/2012-February.txt) from a couple years ago.
>>> 
>>> I get:
>>> Jul  1 10:07:27 imap dovecot: master: Panic: kevent(EV_ADD, READ, 54) failed: Bad file descriptor
>>> 
>>> It's not dumping core, and I get the message even with "protocols ="
>>> 
>>> Downgrading back to 2.2.24 fixes it. What info would be helpful for me to provide here?
>> 
>> gdb backtrace: http://dovecot.org/bugreport.html#coredumps
>> 
> 
> Fuller logs attached. Thanks for your help, Timo.
> 
> # Adam
> 
> 
> Okay. Here's my steps:
> 1) Install 2.2.5 into fresh i386 FreeBSD 10.3-RELEASE-p5 jail.
> 
> 2) Built with the following settings:
> root at apnoea-builder:/usr/ports/mail/dovecot2 # make -V CONFIGURE_ARGS
> --localstatedir=/var  --with-statedir=/var/db/dovecot  --without-shadow  --with-docs --with-ioloop=kqueue --with-notify=kqueue --without-libwrap --with-ssl=openssl --without-vpopmail --without-gssapi --without-cdb --without-ldap --without-mysql --without-pgsql --without-sqlite --without-icu --without-lucene --without-solr --without-textcat --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}


Just a follow-up: it runs without dumping core if I build with "--with-ioloop=poll --with-notify=none".

# Adam


-- 
Adam Weinberger
adamw at adamw.org
http://www.adamw.org



More information about the dovecot mailing list