[Dovecot] Dovecot raw backtrace when copying to folder

Bernd Kuhls bernd.kuhls at informatik.uni-oldenburg.de
Sat Sep 29 21:06:45 EEST 2007


Julian Cowley wrote:
> Seeing a problem with a certain user causing dovecot to crash when 
> copying mail to a folder.  This looks similar to a bug someone on the 
> mailing list posted recently.

Hi,

first of all I would like to report success with moving from UW-imapd to 
Dovecot 1.0.5 for a ~100 user setup on Debian Etch. Everything works 
nicely, including the snarf plugin.

Only a small problem: In the last four days Dovecot crashed twice with a 
similar error message posted in this thread:

dovecot: 2007-09-25 16:54:08 Panic: Lost login process PID 420
dovecot: 2007-09-25 16:54:08 Error: Raw backtrace:
  dovecot [0x805616a] ->
  dovecot [0x8055fdc] ->
  dovecot [0x804d83a] ->
  dovecot [0x8050572] ->
  dovecot [0x8059e0e] ->
  dovecot [0x8059780] ->
  dovecot [0x80587a8] ->
  dovecot [0x8050f5c] ->
  /lib/tls/libc.so.6(__libc_start_main+0xc8) [0xb7eb1ea8] ->
  dovecot [0x804a391]

dovecot: 2007-09-27 12:13:02 Panic: Lost login process PID 5160
dovecot: 2007-09-27 12:13:02 Error: Raw backtrace:
  dovecot [0x805616a] ->
  dovecot [0x8055fdc] ->
  dovecot [0x804d83a] ->
  dovecot [0x8050572] ->
  dovecot [0x8059e0e] ->
  dovecot [0x8059780] ->
  dovecot [0x80587a8] ->
  dovecot [0x8050f5c] ->
  /lib/tls/libc.so.6(__libc_start_main+0xc8) [0xb7e24ea8] ->
  dovecot [0x804a391]

I witnessed the first crash, an user moved some messages out of a larger 
mbox file to the trash, using Thunderbird 2.0.0.6/Windows + IMAP.

After starting the move, TB showed an hourglas for approx. 10 minutes, 
then the messages were moved. I guess during these 10 minutes Dovecot 
crashed and was restarted through new TB commands send to the server. 
Dovecot is started through inetd.

I am not sure if I can reproduce the bug because the user with the first 
crash uses Dovecot already for several months and he said he saw this 
problem already several times but he was unable to tell me a procedure 
to reproduce the bug.

Greetings, Bernd Kuhls

PS: My config

# dovecot -n
# 1.0.5: /etc/dovecot/dovecot.conf
log_path: /var/log/dovecot/dovecot.main
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap imaps pop3 pop3s
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_max_processes_count: 256
mail_extra_groups: mail
mail_location: 
mbox:~/.imap_mail:INBOX=/var/mail/%u:INDEX=/var/mail/indexes/%u
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugins(default): quota imap_quota mbox_snarf
mail_plugins(imap): quota imap_quota mbox_snarf
mail_plugins(pop3): mbox_snarf
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
imap_client_workarounds(default): outlook-idle netscape-eoh 
tb-extra-mailbox-sep delay-newmail
imap_client_workarounds(imap): outlook-idle netscape-eoh 
tb-extra-mailbox-sep delay-newmail
imap_client_workarounds(pop3): outlook-idle
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xv%08Xu
auth default:
   passdb:
     driver: pam
   userdb:
     driver: passwd
plugin:
   quota: fs
   mbox_snarf: ~/.imap_mail/inbox



More information about the dovecot mailing list