Fatal error: Exists wrong 513 512 483 17057

Daniel Bareiro <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
Hi!

Several days ago I am trying to solve this issue but without success.
When opening a folder inside a mailbox through Thunderbird, I get this
message: "Server [servername] has disconnected. The server may have gone
down or there may be a network problem".

In that access attempt the log shows an entry like this:

----------
Feb  2 21:55:38 mail cyrus/imaps[6510]: Fatal error: Exists wrong 513
512 483 17057
----------

Maybe the index is corrupt and has some duplicate message?

Investigating on the web I found this reference [1]:

----------
/* make sure we don't overflow the memory we mapped */
	if (msgno >= state->mapsize) {
	    char buf[2048];
	    sprintf(buf, "Exists wrong %u %u %u %u", msgno,
		    state->mapsize, mailbox->i.exists, mailbox->i.num_records);
	    fatal(buf, EC_IOERR);
	}
----------

I would like to know what you think. Is it possible that this is a
problem with the index for this mailbox? If so, do you recommend some
way to regenerate it?


Thanks in advance for your reply.

Kind regards,
Daniel

[1]
https://forge.bluemind.net/stash/projects/BM/repos/bm-cyrus-imapd/browse/imap/index.c?at=c196236d937608270283c681ae27f1bb00265b62&raw

----
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
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQS/swjWtNExsnK5Kc5mlr8bFOYdNwUCXFY+agAKCRBmlr8bFOYd
N6YnAKCL0P0sJSnNY+Unkb3v0gk6rWWEQwCfdfC53DiASScyoyRitvWyTEEvVzI=
=IER7
-----END PGP SIGNATURE-----
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.