[Dovecot] Dovecot abort while selecting INBOX
Hello all,
Recently, I was setting up SpamAssassin and procmail on my system (used to run Courier, and was converted using Courier convert scripts). I was setting up a rule in PINE to filter all previously marked SPAM messages into a folder, when I suddenly got disconnected from the IMAP server. I attempted to reconnect, but any attempts to access my INBOX would disconnect me.
I looked in /var/log/mail.log on my server, and found this: Mar 26 12:42:17 dashnine dovecot: imap-login: Login: user=<joshua>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Mar 26 12:42:17 dashnine dovecot: imap(joshua): Trying to allocate 0 bytes Mar 26 12:42:17 dashnine dovecot: child 31035 (imap) killed with signal 6
Looks like Dovecot aborted.
I grabbed a tcpdump of the event after turning off SSL, which is available at http://joshuawise.com/pine.imap.tcpdump .
My system is, summarized:
- A Linux x86 machine: Linux dashnine 2.6.12.3 #2 Sun Aug 7 18:56:14 EDT 2005 i686 GNU/Linux
- A Debian machine: testing/unstable
- Running Dovecot from Debian: 1.0.beta3
- Converted from Courier using convert scripts
- Using Postfix and Procmail
- Using Maildirs in home directories (although in this case, lrwxrwxrwx 1 joshua joshua 23 Mar 11 22:08 Maildir -> /media/Maildirs/joshua/)
- Using PINE connecting to Dovecot on localhost to access email
Let me know if you want more information, or if you want me to try anything in particular.
Thanks, joshua
On 3/26/06, Joshua Wise <joshua.wise@gmail.com> wrote:
Mar 26 12:42:17 dashnine dovecot: imap-login: Login: user=<joshua>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Mar 26 12:42:17 dashnine dovecot: imap(joshua): Trying to allocate 0 bytes Mar 26 12:42:17 dashnine dovecot: child 31035 (imap) killed with signal 6
A little more information:
joshua@dashnine:~$ MAIL=maildir:~/Maildir gdb /usr/lib/dovecot/imap GNU gdb 6.4-debian <snip> This GDB was configured as "i486-linux-gnu"...(no debugging symbols found) Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) r Starting program: /usr/lib/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 joshua 00000000 SELECT INBOX imap(joshua): Panic: Trying to allocate 0 bytes
Program received signal SIGABRT, Aborted. 0xb7e5f9e7 in raise () from /lib/tls/libc.so.6 (gdb) bt #0 0xb7e5f9e7 in raise () from /lib/tls/libc.so.6 #1 0xb7e6131b in abort () from /lib/tls/libc.so.6 #2 0x080aed64 in data_stack_deinit () #3 0x080aef1c in i_panic () #4 0x080b6f78 in pool_datastack_create () #5 0x080b2aa7 in i_realloc () #6 0x0808a585 in mail_cache_header_fields_read () #7 0x08089a2b in mail_cache_open_or_create () #8 0x080908cd in mail_index_open () #9 0x08088390 in index_storage_mailbox_init () #10 0x08064dcb in maildir_get_path () #11 0x08065001 in maildir_get_path () #12 0x08059457 in _cmd_select_full () #13 0x08059657 in cmd_select () #14 0x0805b100 in _client_input () #15 0x080b581f in io_loop_handler_run () #16 0x080b4c58 in io_loop_run () #17 0x0806308c in main () (gdb)
On Sun, 2006-03-26 at 20:56 -0500, Joshua Wise wrote:
imap(joshua): Panic: Trying to allocate 0 bytes .. #5 0x080b2aa7 in i_realloc () #6 0x0808a585 in mail_cache_header_fields_read () #7 0x08089a2b in mail_cache_open_or_create ()
Fixed now in CVS. I think deleting dovecot's index files will fix this also?
participants (2)
-
Joshua Wise
-
Timo Sirainen