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

Re: [Mutt] #2985: segfault in mx_update_context



#2985: segfault in mx_update_context
---------------------+------------------------------------------------------
  Reporter:  jukka   |       Owner:  brendan 
      Type:  defect  |      Status:  assigned
  Priority:  major   |   Milestone:  1.6     
 Component:  IMAP    |     Version:  1.5.18  
Resolution:          |    Keywords:          
---------------------+------------------------------------------------------
Changes (by pdmef):

  * version:  1.5.17 => 1.5.18


Comment:

 Oh, another one. It happened when attempting to open a certain folder
 during "Evaluating headers".

 In my case it was definitely hcache-related as with hcache enabled it
 crashed reproduceably but worked with hcache disabled. After wiping hcache
 for just this folder it works without crashing.

 {{{
 Exception:  EXC_BAD_ACCESS (0x0001)
 Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x01518350

 Thread 0 Crashed:
 0   mutt        0x0000c1e8 crypt_query + 19 (crypt.c:450)
 1   mutt        0x0000c26f crypt_query + 154 (crypt.c:489)
 2   mutt        0x00044dcb mx_update_context + 158 (mx.c:1561)
 3   mutt        0x00098809 imap_read_headers + 1929 (message.c:347)
 4   mutt        0x00095e80 imap_open_mailbox + 2397 (imap.c:747)
 5   mutt        0x00043086 mx_open_mailbox + 1052 (mx.c:692)
 6   mutt        0x0001c96a mutt_index_menu + 15171 (curs_main.c:1139)
 7   mutt        0x00038212 main + 5281 (main.c:1023)
 8   mutt        0x00001c66 _start + 216
 9   mutt        0x00001b8d start + 41
 }}}

 I'll keep the debug log around, but it's just too long to paste, I don't
 know what to look for.

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