[Dovecot] still asserts with 1.2.10
Hi,
I've still asserts while accessing virtual folders:
Program terminated with signal 6, Aborted. [New process 6714] #0 0xf7e57556 in raise () from /lib/libc.so.6 #0 0xf7e57556 in raise () from /lib/libc.so.6 No symbol table info available. #1 0xf7e58d78 in abort () from /lib/libc.so.6 No symbol table info available. #2 0x080f2eb5 in default_fatal_finish (type=<value optimized out>, status=0) at failures.c:160 backtrace = 0x97a9978 "imap [0x80f2ea1] -> imap [0x80f2f22] -> imap [0x80f2879] -> imap(index_search_result_update_flags+0x295) [0x80b2435] -> /usr/local/lib/dovecot/imap/lib20_virtual_plugin.so [0xf7ca238d] -> /usr/local/l"... #3 0x080f2f22 in i_internal_fatal_handler (type=LOG_TYPE_PANIC, status=0, fmt=0x810baec "file %s: line %d (%s): assertion failed: (%s)", args=0xff805294 "?\021\bW") at failures.c:443 No locals. #4 0x080f2879 in i_panic (format=0x810baec "file %s: line %d (%s): assertion failed: (%s)") at failures.c:207 No locals. #5 0x080b2435 in index_search_result_update_flags (result=0x97e49c8, uids=0xff805540) at index-search-result.c:87 search_arg = {next = 0x97be3d0, type = SEARCH_UIDSET, value = {subargs = 0x0, seqset = {arr = {buffer = 0x97a9528, element_size = 8}, v = 0x97a9528, v_modifiable = 0x97a9528}, str = 0x0, time = 0, size = 0, flags = 0, search_flags = 0, thread_type = MAIL_THREAD_NONE, keywords = 0x0, modseq = 0x0, search_args = 0x0, search_result = 0x0}, context = 0x0, hdr_field_name = 0x0, not = 0, match_always = 0, result = -1} ret = <value optimized out> __PRETTY_FUNCTION__ = "index_search_result_update_flags" #6 0xf7ca238d in virtual_sync_backend_boxes (ctx=0x97dd378) at virtual-sync.c:733 _data_stack_cur_id = 4 i = 0 ret = 97 #7 0xf7ca326b in virtual_storage_sync_init (box=0x97bca58, flags=65) at virtual-sync.c:1486 sync_ctx = <value optimized out> ret = <value optimized out> #8 0x080b6bd2 in mailbox_sync (box=0x1a3a, flags=65, status_items=239, status_r=0xff805728) at mail-storage.c:593 ctx = <value optimized out> #9 0x08065238 in cmd_select_full (cmd=0x97b6aa8, readonly=false) at cmd-select.c:273 client = (struct client *) 0x97b6818 box = (struct mailbox *) 0xff805798 ctx = (struct imap_select_context *) 0x97b6b58 args = (const struct imap_arg *) 0x97b9328 mailbox = 0x97a92f0 "spam/disagree/spamassassin" ret = <value optimized out> __PRETTY_FUNCTION__ = "cmd_select_full" #10 0x08065999 in cmd_select (cmd=0x97b6aa8) at cmd-select.c:389 No locals. #11 0x08067c7c in client_command_input (cmd=0x97b6aa8) at client.c:612 client = (struct client *) 0x97b6818 command = <value optimized out> __PRETTY_FUNCTION__ = "client_command_input" #12 0x08067d19 in client_command_input (cmd=0x97b6aa8) at client.c:661 client = (struct client *) 0x97b6818 command = <value optimized out> __PRETTY_FUNCTION__ = "client_command_input" #13 0x08067e8d in client_handle_input (client=0x97b6818) at client.c:702 _data_stack_cur_id = 3 ret = false remove_io = <value optimized out> handled_commands = false __PRETTY_FUNCTION__ = "client_handle_input" #14 0x080687ef in client_input (client=0x97b6818) at client.c:753 cmd = <value optimized out> output = (struct ostream *) 0x97b69cc bytes = <value optimized out> __PRETTY_FUNCTION__ = "client_input" #15 0x080fbc50 in io_loop_handler_run (ioloop=0x97b11c8) at ioloop-epoll.c:208 ctx = (struct ioloop_handler_context *) 0x97b1c38 event = (const struct epoll_event *) 0x97b1c78 list = (struct io_list *) 0x97b6a50 io = (struct io_file *) 0x97b6a28 tv = {tv_sec = 1799, tv_usec = 999662} t_id = 2 msecs = <value optimized out> ret = 1 i = 0 j = 0 call = <value optimized out> #16 0x080fb0c0 in io_loop_run (ioloop=0x97b11c8) at ioloop.c:335 No locals. #17 0x080712fa in main (argc=) at main.c:327 No locals.
Program terminated with signal 6, Aborted. [New process 11609] #0 0xf7db6556 in raise () from /lib/libc.so.6 #0 0xf7db6556 in raise () from /lib/libc.so.6 No symbol table info available. #1 0xf7db7d78 in abort () from /lib/libc.so.6 No symbol table info available. #2 0x080f2eb5 in default_fatal_finish (type=<value optimized out>, status=0) at failures.c:160 backtrace = 0x986b978 "imap [0x80f2ea1] -> imap [0x80f2f22] -> imap [0x80f2879] -> imap(index_search_result_update_flags+0x295) [0x80b2435] -> /usr/local/lib/dovecot/imap/lib20_virtual_plugin.so [0xf7c0138d] -> /usr/local/l"... #3 0x080f2f22 in i_internal_fatal_handler (type=LOG_TYPE_PANIC, status=0, fmt=0x810baec "file %s: line %d (%s): assertion failed: (%s)", args=0xffc2fa54 "?\021\bW") at failures.c:443 No locals. #4 0x080f2879 in i_panic (format=0x810baec "file %s: line %d (%s): assertion failed: (%s)") at failures.c:207 No locals. #5 0x080b2435 in index_search_result_update_flags (result=0x988a918, uids=0xffc2fd00) at index-search-result.c:87 search_arg = {next = 0x9888490, type = SEARCH_UIDSET, value = {subargs = 0x0, seqset = {arr = {buffer = 0x986b528, element_size = 8}, v = 0x986b528, v_modifiable = 0x986b528}, str = 0x0, time = 0, size = 0, flags = 0, search_flags = 0, thread_type = MAIL_THREAD_NONE, keywords = 0x0, modseq = 0x0, search_args = 0x0, search_result = 0x0}, context = 0x0, hdr_field_name = 0x0, not = 0, match_always = 0, result = -1} ret = <value optimized out> __PRETTY_FUNCTION__ = "index_search_result_update_flags" #6 0xf7c0138d in virtual_sync_backend_boxes (ctx=0x987f5b8) at virtual-sync.c:733 _data_stack_cur_id = 4 i = 0 ret = 97 #7 0xf7c0226b in virtual_storage_sync_init (box=0xbf304e8, flags=65) at virtual-sync.c:1486 sync_ctx = <value optimized out> ret = <value optimized out> #8 0x080b6bd2 in mailbox_sync (box=0x2d59, flags=65, status_items=239, status_r=0xffc2fee8) at mail-storage.c:593 ctx = <value optimized out> #9 0x08065238 in cmd_select_full (cmd=0x9878aa8, readonly=false) at cmd-select.c:273 client = (struct client *) 0x9878818 box = (struct mailbox *) 0x0 ctx = (struct imap_select_context *) 0x9878b58 args = (const struct imap_arg *) 0x987b328 mailbox = 0x986b2f0 "spam/disagree/spamassassin" ret = <value optimized out> __PRETTY_FUNCTION__ = "cmd_select_full" #10 0x08065999 in cmd_select (cmd=0x9878aa8) at cmd-select.c:389 No locals. #11 0x08067c7c in client_command_input (cmd=0x9878aa8) at client.c:612 client = (struct client *) 0x9878818 command = <value optimized out> __PRETTY_FUNCTION__ = "client_command_input" #12 0x08067d19 in client_command_input (cmd=0x9878aa8) at client.c:661 client = (struct client *) 0x9878818 command = <value optimized out> __PRETTY_FUNCTION__ = "client_command_input" #13 0x08067e8d in client_handle_input (client=0x9878818) at client.c:702 _data_stack_cur_id = 3 ret = false remove_io = <value optimized out> handled_commands = false __PRETTY_FUNCTION__ = "client_handle_input" #14 0x080687ef in client_input (client=0x9878818) at client.c:753 cmd = <value optimized out> output = (struct ostream *) 0x98789cc bytes = <value optimized out> __PRETTY_FUNCTION__ = "client_input" #15 0x080fbc50 in io_loop_handler_run (ioloop=0x98731c8) at ioloop-epoll.c:208 ctx = (struct ioloop_handler_context *) 0x9873c38 event = (const struct epoll_event *) 0x9873c78 list = (struct io_list *) 0x9878a50 io = (struct io_file *) 0x9878a28 tv = {tv_sec = 4, tv_usec = 299733} t_id = 2 msecs = <value optimized out> ret = 1 i = 0 j = 0 call = <value optimized out> #16 0x080fb0c0 in io_loop_run (ioloop=0x98731c8) at ioloop.c:335 No locals. #17 0x080712fa in main (argc=) at main.c:327 No locals.
config:
# 1.2.10: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.26-2-vserver-amd64-uml x86_64 Debian 5.0.3
log_path: /dev/stderr
log_timestamp:
protocols: imap imaps pop3 pop3s managesieve
ssl_cert_file: /etc/dovecot/imap.scheff32.de.pem
ssl_key_file: /etc/dovecot/imap.scheff32.de.pem
disable_plaintext_auth: no
login_dir: /usr/local/var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
login_executable(managesieve): /usr/local/libexec/dovecot/managesieve-login
mail_max_userip_connections(default): 20
mail_max_userip_connections(imap): 20
mail_max_userip_connections(pop3): 10
mail_max_userip_connections(managesieve): 10
mail_location: maildir:~/Maildir
mail_executable(default): /usr/local/libexec/dovecot/rawlog /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/rawlog /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_executable(managesieve): /usr/local/libexec/dovecot/managesieve
mail_process_size: 3072
mail_plugins(default): fts fts_squat zlib virtual
mail_plugins(imap): fts fts_squat zlib virtual
mail_plugins(pop3): zlib
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
mail_plugin_dir(managesieve): /usr/local/lib/dovecot/managesieve
namespace:
type: private
separator:
prefix: mail
hidden: yes
list: no
subscriptions: yes
namespace:
type: private
separator: .
inbox: yes
list: yes
subscriptions: yes
namespace:
type: private
separator: .
prefix: INBOX.
list: no
subscriptions: yes
namespace:
type: public
separator: .
prefix: shared.
location: maildir:/home/sharedbox/Maildir/:INDEX=~/Maildir/shared
list: yes
subscriptions: yes
namespace:
type: private
separator: .
prefix: virtual.
location: virtual:~/Maildir/virtual
list: yes
subscriptions: yes
lda:
postmaster_address: postmaster@scheff32.de
mail_plugins: sieve
sendmail_path: /usr/lib/sendmail
log_path:
info_log_path:
syslog_facility: mail
auth default:
username_format: %n
master_user_separator: *
verbose: yes
passdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
passdb:
driver: passwd-file
args: /etc/dovecot/passwd.masterusers
master: yes
userdb:
driver: passwd
args: system_groups_user=%u blocking=yes
plugin:
fts: squat
fts_squat: partial=4 full=4
kind regards,
matthias
On Mon, 2010-01-25 at 16:36 +0100, Matthias Rieber wrote:
Hi,
I've still asserts while accessing virtual folders:
You didn't answer my last mail about it: http://dovecot.org/list/dovecot/2010-January/046009.html
I can't seem to reproduce it. Although now that I saw your dovecot -n output, wonder if Squat has something to do with it..
Can you easily reproduce this? Can you try if it happens without squat?
Hi,
On Mon, 25 Jan 2010, Timo Sirainen wrote:
On Mon, 2010-01-25 at 16:36 +0100, Matthias Rieber wrote:
Hi,
I've still asserts while accessing virtual folders:
You didn't answer my last mail about it: http://dovecot.org/list/dovecot/2010-January/046009.html
I can't seem to reproduce it. Although now that I saw your dovecot -n output, wonder if Squat has something to do with it..
Can you easily reproduce this? Can you try if it happens without squat?
I'll try it without squat. At the moment I see the crashes in virtual folders where keywords are also involved like:
INBOX.Spam.sure HEADER X-DSPAM-Result Innocent NOT KEYWORD LearnedAsJunk
INBOX.Spam.sure NOT HEADER X-Spam-Score +++++ NOT KEYWORD LearnedAsJun
INBOX.Spam.sure UNSEEN
I also check the virtual mailboxes almost constantly for certain flags, pipe messages to sa-learn and/or dspam, change flags and move them. For this purpose I use imapfilter, with a config like:
messages = myaccount['INBOX.Spam.sure']:has_flag('NonJunk') - myaccount['INBOX.Spam.sure']:has_flag('LearnedAsNonJunk') messagecontent = myaccount['INBOX.Spam.sure']:fetch_message(messages) if messagecontent ~= nil then for i,v in pairs (messagecontent) do printDebug(v,'NonJunk Mails in Spam:') pipe_to('/root/learn_ham', v) pipe_to('/root/learn_ham_dspam', v) end myaccount['INBOX.Spam.sure']:add_flags({'LearnedAsNonJunk'}, messages) myaccount['INBOX.Spam.sure']:remove_flags({'LearnedAsJunk','Junk'}, messages) myaccount['INBOX.Spam.sure']:move_messages(myaccount['INBOX'], messages) end
The crashes usually happen with roundcube mail. The same client where I've the problem when I mark messages in the unseen folder and the messages won't disappear after expunging the folder.
matthias
participants (2)
-
Matthias Rieber
-
Timo Sirainen