Jürgen Obermann
2012-Jan-10 15:32 UTC
[Dovecot] Panic: file mbox-sync.c: line 1348: assertion failed
Hallo, I have the following problem with doveadm: # gdb --args /opt/local/bin/doveadm -v mailbox status -u userxy/g029 'messages' "Software-alle/AK-Software-Tagung" GNU gdb 5.3 Copyright 2002 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 "sparc-sun-solaris2.8"... (gdb) run Starting program: /opt/local/bin/doveadm -v mailbox status -u g029 messages Software-alle/AK-Software-Tagung warning: Lowest section in /lib/libthread.so.1 is .dynamic at 00000074 warning: Lowest section in /lib/libdl.so.1 is .hash at 000000b4 doveadm(g029): Panic: file mbox-sync.c: line 1348: assertion failed: (file_size >= sync_ctx->expunged_space + trailer_size) doveadm(g029): Error: Raw backtrace: 0xff1cbc30 -> 0xff319544 -> 0xff319fa8 -> 0xff31add8 -> 0xff31b278 -> 0xff2a69b0 -> 0xff2a6bac -> 0x16808 -> 0x1b8fc -> 0x16ba0 -> 0x177cc -> 0x17944 -> 0x17a50 -> 0x204e8 -> 0x165c8 Program received signal SIGABRT, Aborted. 0xfe94dcdc in _lwp_kill () from /lib/libc.so.1 (gdb) bt full #0 0xfe94dcdc in _lwp_kill () from /lib/libc.so.1 No symbol table info available. #1 0xfe8e6fb4 in raise () from /lib/libc.so.1 No symbol table info available. #2 0xfe8c2078 in abort () from /lib/libc.so.1 No symbol table info available. #3 0xff1cb984 in default_fatal_finish () from /opt/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #4 0xff1cbc38 in i_panic () from /opt/local/lib/dovecot/libdovecot.so.0 No symbol table info available. #5 0xff31954c in mbox_sync_handle_eof_updates () from /opt/local/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #6 0xff319fb0 in mbox_sync_do () from /opt/local/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #7 0xff31ade0 in mbox_sync_int () from /opt/local/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #8 0xff31b280 in mbox_storage_sync_init () from /opt/local/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #9 0xff2a69b8 in mailbox_sync_init () from /opt/local/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #10 0xff2a6bb4 in mailbox_sync () from /opt/local/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #11 0x00016810 in doveadm_mailbox_find_and_sync () No symbol table info available. #12 0x0001b904 in cmd_mailbox_status_run () No symbol table info available. #13 0x00016ba8 in doveadm_mail_next_user () No symbol table info available. #14 0x000177d4 in doveadm_mail_cmd () No symbol table info available. #15 0x0001794c in doveadm_mail_try_run_multi_word () No symbol table info available. #16 0x00017a58 in doveadm_mail_try_run () No symbol table info available. #17 0x000204f0 in main () No symbol table info available. (gdb) quit The program is running. Exit anyway? (y or n) y My configuration ist as follows: # /opt/local/bin/doveconf -n # 2.0.16: /opt/local/etc/dovecot/dovecot.conf # OS: SunOS 5.10 sun4v auth_verbose = yes disable_plaintext_auth = no lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes listen = imap.hrz.uni-giessen.de localhost mail_location = mbox:~/Mail:INBOX=/var/mail/%u mail_plugins = mail_log notify zlib managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave mdbox_rotate_interval = 1 days mdbox_rotate_size = 16 M namespace { inbox = yes location prefix separator = / type = private } namespace { hidden = yes list = no location prefix = Mail/ separator = / subscriptions = yes type = private } passdb { driver = pam } passdb { args = /opt/local/etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { autocreate = Trash autocreate2 = caughtspam autocreate3 = Sent autocreate4 = Drafts autosubscribe = Trash autosubscribe2 = caughtspam autosubscribe3 = Sent autosubscribe4 = Drafts mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = uid box msgid size sieve = ~/.dovecot.sieve sieve_dir = ~/sieve zlib_save = gz zlib_save_level = 3 } postmaster_address = postmaster at hrz.uni-giessen.de quota_full_tempfail = yes sendmail_path = /usr/lib/sendmail service auth { client_limit = 11120 } service imap-login { process_min_avail = 16 service_count = 0 vsz_limit = 640 M } service imap { process_limit = 4096 vsz_limit = 1 G } ssl_cert = </etc/ssl/imap_hrz.crt ssl_key = </etc/ssl/imap_hrz.key syslog_facility = local0 userdb { driver = passwd } version_ignore = yes protocol lda { info_log_path log_path mail_plugins = mail_log notify zlib sieve } protocol imap { imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags mail_max_userip_connections = 20 mail_plugins = mail_log notify zlib autocreate imap_zlib } protocol lmtp { mail_plugins = mail_log notify zlib sieve } protocol pop3 { pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_uidl_format = %08Xv%08Xu } Greetings, J?rgen Obermann -- Hochschulrechenzentrum der | Mail: Juergen.Obermann at hrz.uni-giessen.de Justus-Liebig-Universitaet | WWW: http://www.uni-giessen.de/obermann/ Heinrich-Buff-Ring 44 | Tel: 0641-99-13054 (0641-99-13001) D-35392 Giessen, Germany | Fax: 0641-99-13009
Jürgen Obermann
2012-Jan-18 21:40 UTC
[Dovecot] Panic: file mbox-sync.c: line 1348: assertion failed
Am 10.01.2012 16:32, schrieb J?rgen Obermann:> > I have the following problem with doveadm: > > # gdb --args /opt/local/bin/doveadm -v mailbox status -u > userxy/g029 'messages' "Software-alle/AK-Software-Tagung" > GNU gdb 5.3 > Copyright 2002 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 "sparc-sun-solaris2.8"... > (gdb) run > Starting program: /opt/local/bin/doveadm -v mailbox status -u g029 > messages Software-alle/AK-Software-Tagung > warning: Lowest section in /lib/libthread.so.1 is .dynamic at > 00000074 > warning: Lowest section in /lib/libdl.so.1 is .hash at 000000b4 > doveadm(g029): Panic: file mbox-sync.c: line 1348: assertion failed: > (file_size >= sync_ctx->expunged_space + trailer_size) > doveadm(g029): Error: Raw backtrace: 0xff1cbc30 -> 0xff319544 -> > 0xff319fa8 -> 0xff31add8 -> 0xff31b278 -> 0xff2a69b0 -> 0xff2a6bac -> > 0x16808 -> 0x1b8fc -> 0x16ba0 -> 0x177cc -> 0x17944 -> 0x17a50 -> > 0x204e8 -> 0x165c8 > > Program received signal SIGABRT, Aborted.Hallo, the problem went away after I deleted the dovecot index files for the mailbox. Greetins, J?rgen Obermann Hochschulrechenzentrum der Justus-Liebig-Universit?t Gie?en Heinrich-Buff-Ring 44 Tel. 0641-9913054