Re: corrupted mailboxes.db

Patrick Boutilier <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
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@entry=0x384c65d6e90, key=<optimized out>, 
> keylen=<optimized out>,
>      data=data@entry=0x23d2177d3d5 <error: Cannot access memory at 
> address 0x23d2177d3d5>, datalen=datalen@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

----
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
boutilpj.vcf (text/x-vcard, 286 B)
begin:vcard
fn:Patrick Boutilier
n:Boutilier;Patrick
org:;Nova Scotia Department of Education
adr:;;2021 Brunswick Street;Halifax;NS;B3K 2Y5;Canada
email;internet:[email protected]
title:WAN Communications Specialist
tel;work:902-424-6800
tel;fax:902-424-0874
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.