Open Bug 478162 Opened 16 years ago Updated 2 years ago

gloda conversation invariant can be violated by non-sequentially indexed messages with truncated references lists

Categories

(MailNews Core :: Database, defect)

defect

Tracking

(Not tracked)

People

(Reporter: asuth, Unassigned)

Details

(Whiteboard: [gloda key])

Error messages like the following can be observed when indexing messages with truncated references lists:
Inconsistency in conversations invariant on BLAH.  It has conv id FOO but expected BAR. ID: BAZ

The root cause is a message sent by a jerky e-mail client that only indicates the message that it is immediately in reply to.  (If it indicates no messages, we don't bin it in a conversation and there is no problem).  This is not a problem when we see/index the messages in the order in which the replies were made.  But if the messages were delivered out-of-order or we simply index them out of order (this can be due to the messages living in different folders, autosync processing order, etc.), we end up having problems.

This was not originally dealt with because of complexity issues and concern over giving the ability to malicious messages to cause a message to be re-parented to a conversation it does not actually belong to.

This problem can be addressed without introducing new malicious message vulnerabilities by allowing the known-missing apparent root message to re-parent its descendants to a new conversation when the message shows up.
Not blocking, but this should either be resolved or stop producing output on the error console.
Assignee: nobody → bugmail
Status: NEW → ASSIGNED
Whiteboard: [gloda key]
Assignee: bugmail → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.