[Dovecot] Imap crashes when trying to move messages
ambroz.bizjak at guest.arnes.si
ambroz.bizjak at guest.arnes.si
Wed Mar 15 08:29:16 EET 2006
The imap process crashes when SquirrelMail wants to move a message to
another folder. I have run imap in gdb and talked to it the same way
SquirrelMail does and got a backtrace.
I am using Dovecot beta3. I am using it in combination with XMail,
which has maildir databases.
My system is Gentoo Linux on x86.
The same version of Dovecot works great for me on amd64 with exactly
the same config.
Here is what I gave done:
janez ~ #
MAIL=maildir:/chroot/xmail/var/MailRoot/domains/b4ever.net/ambro/Maildir
gdb /usr/libexec/dovecot/imap
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i586-pc-linux-gnu"...(no debugging symbols
found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r
Starting program: /usr/libexec/dovecot/imap
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
* PREAUTH [CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND
UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS] Logged in
as root
A002 SELECT "INBOX"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)]
Flags permitted.
* 11 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1138230965] UIDs valid
* OK [UIDNEXT 32] Predicted next UID
A002 OK [READ-WRITE] Select completed.
A003 EXPUNGE
A003 OK Expunge completed.
A004 LIST "" "INBOX.Trash"
* LIST (\HasNoChildren) "." "INBOX.Trash"
A004 OK List completed.
A005 COPY 11 "INBOX.Trash"
imap(root): Warning: Growing pool 'uidlist record_pool' with: 1024
imap(root): Panic: file mail-cache-transaction.c: line 709
(mail_cache_add): assertion failed: (fixed_size == (unsigned int)-1 ||
fixed_size == data_size)
Program received signal SIGABRT, Aborted.
0xb7ef0ec1 in kill () from /lib/libc.so.6
(gdb) bt full
#0 0xb7ef0ec1 in kill () from /lib/libc.so.6
No symbol table info available.
#1 0xb7ef0c89 in raise () from /lib/libc.so.6
No symbol table info available.
#2 0xb7ef1ed8 in abort () from /lib/libc.so.6
No symbol table info available.
#3 0x080a5363 in data_stack_deinit ()
No symbol table info available.
#4 0x080a54f4 in i_panic ()
No symbol table info available.
#5 0x08086caf in mail_cache_add ()
No symbol table info available.
#6 0x0807e74a in index_mail_cache_add ()
No symbol table info available.
#7 0x0806896b in maildir_mailbox_list_next ()
No symbol table info available.
#8 0x0809872b in mail_storage_copy ()
No symbol table info available.
#9 0x080672da in maildir_copy ()
No symbol table info available.
#10 0x08056bf1 in cmd_copy ()
No symbol table info available.
#11 0x0805a93b in _client_input ()
No symbol table info available.
#12 0x080ab313 in io_loop_handler_run ()
No symbol table info available.
#13 0x080aa82e in io_loop_run ()
No symbol table info available.
#14 0x08061997 in main ()
No symbol table info available.
(gdb)
More information about the dovecot
mailing list