Panic due to assertion failure

Bert JW Regeer xistence at 0x58.com
Mon Apr 6 09:34:25 EEST 2020



> On Apr 5, 2020, at 23:29, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
> 
> 
>> On 06/04/2020 09:26 Bert JW Regeer <xistence at 0x58.com> wrote:
>> 
>> 
>> Hey all,
>> 
>> I continue to receive the following messages every so often:
>> 
>> dovecot[93817]: imap(xistence at 0x58.com)<39982><>: Panic: file mail-storage.c: line 2122 (mailbox_get_open_status): assertion failed: (box->opened)
>> dovecot[93817]: imap(xistence at 0x58.com)<39982><>: Fatal: master: service(imap): child 39982 killed with signal 6 (core not dumped - https://dovecot.org/bugreport.html#coredumps)
>> 
>> Even with core dumps enabled I haven't been able to get good information. I'm using FreeBSD and have installed dovecot from the pkg repositories
>> 
>> dovecot-2.3.9.3
>> 
>> Is the package I have installed. (I just noticed there is an update available, so I'll upgrade, but this has been happening for a long time now, across multiple versions).
>> 
>> What I was wondering, is there a way to rebuild all files that dovecot uses, indexes/caches/everything. Is there a doveadm command I can use for this?
>> 
>> Bert JW Regeer
> 
> Can you recompile / install dovecot with debugging symbols and then reproduce the crash and the gdb the core and execute bt full.
> 
> Aki

I can't reproduce the crash on demand, unfortunately. It happens every so often. Search for messages from me previously on the list (2018-11-22) was when I posted previous backtraces (although they seemed to be useless). Last time it was during UID SEARCH that the error was happening.

I'll go through the trouble of building a debug version again and turn on core dumps, but I doubt I am going to get something new or super useful again :-(

Bert JW Regeer


More information about the dovecot mailing list