<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #3000: Deleting >50k messages from IMAP boxes fails with



#3000: Deleting >50k messages from IMAP boxes fails with Fatal error:
---------------------+------------------------------------------------------
  Reporter:  myon    |       Owner:  brendan 
      Type:  defect  |      Status:  reopened
  Priority:  minor   |   Milestone:  1.6     
 Component:  IMAP    |     Version:  1.5.17  
Resolution:          |    Keywords:          
---------------------+------------------------------------------------------

Comment(by John Hawkinson):

 {{{
 |  Can you reproduce it?

 Apparently not. I can't remember whether the deletion that caused
 the core dump (5k msgs out of 200k) was a '$','y' or a '$','n',
 but large deletions don't seem to trigger this problem again.

 A 1k deletion with '$','n' did not crash.

 A 10k deletion with '$','y' did not crash, but did fail again with
 the bogus "SASL: Time is out of bounds (krb_rd_req)."

 Someone over here suggested "I'm betting that was actually a timeout
 and someone used the wrong error code somewhere," which seems
 plausible.

 I guess I can try a 10k '$','n' deletion, but I doubt it'll
 crash. (That'll be another 40 minutes; I won't send more mail
 unless I find anything...)

 [This mailbox loaded with spam, in case you're wondering. I occasionally
 slog through it with pine because of this mutt bug, but not very
 often....]


 So, apparently not.

 Is there any other information to try to get out of the core dump?
 I guess one observation is that it looks like the deleted message
 where the ctx->hdrs[n] defeference failed happned to be msgcount-1,
 which suggests the problem has to do with memory allocation and
 housekeeping
 and fenceposts and soforth:

 (dbx) print ctx->msgcount
 ctx->msgcount = 207350
 (dbx) print n
 n = 207349
 (dbx)

 --jhawk
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3000#comment:>
Mutt <http://www.mutt.org/>
The Mutt mail user agent