[Dovecot] dovecot-1.2.8 imap crash (with backtrace)

David Halik dhalik at jla.rutgers.edu
Thu Dec 24 18:26:27 EET 2009


>> Dec 23 11:05:44 gehenna18.rutgers.edu dovecot: IMAP(user1): Panic: file
>> maildir-uidlist.c: line 403 (maildir_uidlist_records_array_delete):
>> assertion failed: (pos != NULL)
>>      
> This is hopefully fixed by:
> http://hg.dovecot.org/dovecot-1.2/rev/d00abdaf9df2
>
>    

Timo, I came into work this morning and found three new core dumps from 
maildir_uidlist_records_array_delete while running the patch you gave me 
yesterday, so I guess it's not fixed after all. I double checked that it 
is in fact running your patch, and it is. You can tell also that 
maildir-uidlist.c: line 403 changed to 405.

Here's the short backtrace:

#0  0x0000003543030265 in raise (sig=<value optimized out>) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x0000003543031d10 in abort () at abort.c:88
#2  0x000000000049eddd in default_fatal_finish (type=<value optimized 
out>, status=0) at failures.c:160
#3  0x000000000049ee33 in i_internal_fatal_handler (type=LOG_TYPE_PANIC, 
status=0, fmt=<value optimized out>, args=<value optimized out>) at 
failures.c:443
#4  0x000000000049e496 in i_panic (format=0x6 <Address 0x6 out of 
bounds>) at failures.c:207
#5  0x000000000043f064 in maildir_uidlist_records_array_delete 
(uidlist=<value optimized out>, rec=0x16dbd48) at maildir-uidlist.c:405
#6  0x000000000043fbf0 in maildir_uidlist_refresh (uidlist=0x16c75b0) at 
maildir-uidlist.c:552
#7  0x000000000043c91f in maildir_sync_context (ctx=0x16a7188, 
forced=false, find_uid=0x0, lost_files_r=0x7fff86f83d87) at 
maildir-sync.c:659
#8  0x000000000043cefe in maildir_storage_sync_init (box=0x16b64f8, 
flags=0) at maildir-sync.c:924
#9  0x00000000004283d7 in imap_sync_init (client=0x16b27a0, 
box=0x16b64f8, imap_flags=0, flags=0) at imap-sync.c:146
#10 0x000000000041bf5e in idle_sync_now (box=0x4a58, ctx=0x16b3db8) at 
cmd-idle.c:127
#11 0x0000000000458ecd in check_timeout (ibox=0x16b64f8) at 
index-mailbox-check.c:43
#12 0x00000000004a5f6b in io_loop_handle_timeouts (ioloop=0x16afb60) at 
ioloop.c:313
#13 0x00000000004a6bd3 in io_loop_handler_run (ioloop=0x16afb60) at 
ioloop-epoll.c:180
#14 0x00000000004a5d6d in io_loop_run (ioloop=0x16afb60) at ioloop.c:335
#15 0x0000000000428f20 in main (argc=<value optimized out>, argv=<value 
optimized out>, envp=0x7fff86f840b8) at main.c:327

And the full backtrace:

http://pastebin.com/f651f649e


-- 
================================
David Halik
System Administrator
OIT-CSS Rutgers University
dhalik at jla.rutgers.edu
================================



More information about the dovecot mailing list