[Dovecot] deliver: Panic: file sieve-cmu.c: line 90 (unfold_header): assertion failed: (str[i] == ' ' || str[i] == '\t')

Anton Yuzhaninov citrin at citrin.ru
Thu Feb 19 08:52:54 EET 2009


I use dovecot-1.1.10 and dovecot-sieve-1.1.6

/usr/local/libexec/dovecot/deliver coredups several times per day with bt like this:

(gdb) bt
#0  0x0000000800a3a91c in kill () at kill.S:2
#1  0x0000000800a3a88a in __raise (s=6) at /usr/src/lib/libc/gen/raise.c:46
#2  0x0000000800a38f83 in abort () at /usr/src/lib/libc/stdlib/abort.c:65
#3  0x00000000004a7de5 in default_fatal_finish (type=LOG_TYPE_PANIC, status=0) at failures.c:151
#4  0x00000000004a8777 in i_syslog_fatal_handler (type=Could not find the frame base for "i_syslog_fatal_handler".
) at failures.c:309
#5  0x00000000004a80ca in i_panic (format=Could not find the frame base for "i_panic".
) at failures.c:198
#6  0x0000000800e0b265 in unfold_header (
    str=0x800c55a40 "\"firm ru\nÐ\217Ð\201б쬮 Ñ\236Ò\220Ð\216¬ бвÒ\220аг\" <our_email@ example.ru>") at sieve-cmu.c:90
#7  0x0000000800e0b381 in unfold_multiline_headers (headers=0x800c55a30) at sieve-cmu.c:119
#8  0x0000000800e0b406 in getheader (v=0x7fffffffeab0, phead=0x800c5a160 "to", body=0x7fffffffc048) at sieve-cmu.c:132
#9  0x0000000800e1affc in eval_bc_test (interp=0x800c2d380, body_cache=0x0, m=0x7fffffffeab0, bc=0x800c5a000, ip=0x7fffffffc300)
    at bc_eval.c:541
#10 0x0000000800e1ac96 in eval_bc_test (interp=0x800c2d380, body_cache=0x0, m=0x7fffffffeab0, bc=0x800c5a000, ip=0x7fffffffd8e4)
    at bc_eval.c:445
#11 0x0000000800e1c131 in sieve_eval_bc (exe=0x800c240b0, is_incl=0, i=0x800c2d380, body_cache=0x0, sc=0x7fffffffeb60, m=0x7fffffffeab0, 
    imapflags=0x7fffffffda20, actions=0x800c660f0, notify_list=0x800c13a40, errmsg=0x7fffffffda38) at bc_eval.c:1009
#12 0x0000000800e23ece in sieve_execute_bytecode (exe=0x800c240b0, interp=0x800c2d380, script_context=0x7fffffffeb60, 
    message_context=0x7fffffffeab0) at script.c:868
#13 0x0000000800e0dee4 in cmu_sieve_run (namespaces=0x800c0b848, storage_r=0x7fffffffec98, mail=0x800c1d848, 
    script_path=0x800c02d28 "/home/public/.dovecot.sieve", destaddr=0x7fffffffef3e "user_xxxxx", username=0x800c1ce35 "user_xxxxx", 
    mailbox=0x4c581c "INBOX") at sieve-cmu.c:1038
#14 0x0000000800e0ae6d in cmusieve_deliver_mail (namespaces=0x800c0b848, storage_r=0x7fffffffec98, mail=0x800c1d848, 
    destaddr=0x7fffffffef3e "user_xxxxx", mailbox=0x4c581c "INBOX") at cmusieve-plugin.c:81
#15 0x0000000000417d7f in main (argc=3, argv=0x7fffffffedc8) at deliver.c:1084

I log messages:
deliver(user_xxxxx): Panic: file sieve-cmu.c: line 90 (unfold_header): assertion failed: (str[i] == ' ' || str[i] == '\t')

-- 
 Anton Yuzhaninov



More information about the dovecot mailing list