← Back to team overview

vm team mailing list archive

[Bug 507421] Re: IMAP headers-only mode fails after copy

 

Because UID FETCH may invalidate sequence numbers, the sequence numbers
should be dumped.


** Summary changed:

- IMAP assertion failure after copy
+ IMAP headers-only mode fails after copy

-- 
IMAP headers-only mode fails after copy
https://bugs.launchpad.net/bugs/507421
You received this bug notification because you are a member of VM
development team, which is the registrant for VM.

Status in VM (View Mail) for Emacs: In Progress

Bug description:
It appears that after doing vm-save-message-to-imap-folder, the IMAP session is not in a 'valid' state.  Subsequent IMAP session interactions possibly lead to assertion failure.  A backtrace when using headers-only mode is attached.  The trace buffer shows:

starting IMAP session Thu Jan 14 10:22:42 2010
connecting to localhost:143
connected
* OK IMAP4 Ready imap 0001cdf3
VM CAPABILITY
* CAPABILITY IMAP4 IMAP4REV1
VM OK CAPABILITY
VM LOGIN <parameters omitted>
VM OK Logged in.
VM SELECT "INBOX"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft forwarded filed redistributed ! $Forwarded 7350 7354 7391 signed * accept action plagiarism Junk NonJunk)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft forwarded filed redistributed ! $Forwarded 7350 7354 7391 signed * accept action plagiarism Junk NonJunk \*)] Flags permitted.
* 2357 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1217243146] UIDs valid
* OK [UIDNEXT 20443] Predicted next UID
VM OK [READ-WRITE] Select completed.
VM FETCH 1:2357 (UID RFC822.SIZE FLAGS)
* 1 FETCH (UID 13893 RFC822.SIZE 3501 FLAGS (\Seen filed))
* 2357 FETCH (UID 20442 RFC822.SIZE 8280 FLAGS ())
VM OK Fetch completed.
VM FETCH 2335:2335 (RFC822.SIZE)
* 2335 FETCH (RFC822.SIZE 7217)
VM OK Fetch completed.
VM FETCH 2335:2344 (BODY.PEEK[HEADER])
* 2335 FETCH (BODY[HEADER] {5134}
VM OK Fetch completed.
VM FETCH 2345:2345 (RFC822.SIZE)
* 2345 FETCH (RFC822.SIZE 8211)
VM OK Fetch completed.
VM FETCH 2345:2354 (BODY.PEEK[HEADER])
* 2345 FETCH (BODY[HEADER] {5187}
)
* 2346 FETCH (BODY[HEADER] {2897}
)
* 2347 FETCH (BODY[HEADER] {3617}
)
* 2348 FETCH (BODY[HEADER] {4124}
)
* 2349 FETCH (BODY[HEADER] {6041}
)
* 2350 FETCH (BODY[HEADER] {3403}
)
* 2351 FETCH (BODY[HEADER] {2634}
)
* 2352 FETCH (BODY[HEADER] {5836}
)
* 2353 FETCH (BODY[HEADER] {4706}
)
* 2354 FETCH (BODY[HEADER] {3870}
)
VM OK Fetch completed.
VM FETCH 2355:2355 (RFC822.SIZE)
* 2355 FETCH (RFC822.SIZE 11570)
VM OK Fetch completed.
VM FETCH 2355:2357 (BODY.PEEK[HEADER])
* 2355 FETCH (BODY[HEADER] {5568}
)
* 2356 FETCH (BODY[HEADER] {2686}
)
* 2357 FETCH (BODY[HEADER] {5004}
)
VM OK Fetch completed.
VM FETCH 2335:2335 (BODY.PEEK[])
* 2335 FETCH (BODY[] {7217}
)
VM OK Fetch completed.
VM UID COPY 20420 "test-imap"
VM OK Copy completed.
VM UID STORE 20420 +FLAGS.SILENT (\deleted filed)
VM OK Store completed.
VM UID COPY 20420 "test-imap"
VM OK Copy completed.





References