corrupted mailboxes.db

Patrick Boutilier boutilpj at ednet.ns.ca
Fri Oct 20 11:55:45 EDT 2017


On 10/20/2017 11:52 AM, Deniss wrote:
> Hello,
> 
> I run cyrus imap 2.5.11.
> Somehow mailboxes.db become corrupted.
> running `ctl_mboxlist -d` leads to segfault, backtrace below.
> 
> How can I recover mailboxes.db ?
> 
> Backtrace
> #0  0x0000007d43e12952 in printf (__fmt=0x7d43e143c2 "%s\t%d %s %s\n") 
> at /usr/include/bits/stdio2.h:104
> #1  dump_cb (rockp=rockp at entry=0x384c65d6e90, key=<optimized out>, 
> keylen=<optimized out>,
>      data=data at entry=0x23d2177d3d5 <error: Cannot access memory at 
> address 0x23d2177d3d5>, datalen=datalen at entry=61) at 
> imap/ctl_mboxlist.c:182
> #2  0x0000023d432db22a in myforeach (db=0x7d444012d0, 
> prefix=0x7d43e144ec "", prefixlen=0, goodp=0x0, cb=0x7d43e12890 
> <dump_cb>, rock=0x384c65d6e90,
>      tidptr=<optimized out>) at lib/cyrusdb_twoskip.c:1567
> #3  0x0000023d4363bea7 in mboxlist_allmbox (prefix=<optimized out>, 
> proc=0x7d43e12890 <dump_cb>, rock=0x384c65d6e90, incdel=1) at 
> imap/mboxlist.c:2326
> #4  0x0000007d43e12e87 in do_dump (op=DUMP, part=0x0, purge=0) at 
> imap/ctl_mboxlist.c:458
> #5  0x0000007d43e12548 in main (argc=4, argv=0x384c65d9058) at 
> imap/ctl_mboxlist.c:1029


Couple of things to try on this page:

https://www.cyrusimap.org/2.5/imap/faqs/o-reconstruct.html



> 
> 
> Best, Deniss
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: boutilpj.vcf
Type: text/x-vcard
Size: 286 bytes
Desc: not available
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20171020/5da21e08/attachment-0001.vcf>


More information about the Info-cyrus mailing list