Op 27-12-2015 om 9:33 schreef Kamil Jońca:
I tried to post earlier, but something goes wrong.

I've seen this problem several times now, but I haven't been able to reproduce this myself. Since you're using sieve-filter, I am assuming that you can.

First of all I'd like you to make a GDB backtrace. Make sure you have gdb and dovecot debug symbols installed (dovecot-dbg package in Debian).

To make a backtrace, run your sieve-filter command as follows:

gdb --args sieve-filter -e -W -D -C -v ~/.dovecot.sieve INBOX

Once it fails, you'll get a GDB command prompt.

Please issue the command `bt full` and mail the full GDB output back to me.

Regards,

Stephan.

KJ

[email protected] (Kamil Jońca) writes:

I want to refilter my mails in inbox so I tried to use:

sieve-filter -e -W -D -C -v ~/.dovecot.sieve INBOX

on three messages I got:

info: filtering: [Fri, 28 Dec 2012 15:40:33 -0500; 14399 bytes] `[SPAM] Keep 
Defective by Design fight...'.
sieve-filter(kjonca): Panic: file str.c: line 22 (str_new_const): assertion 
failed: (str[len] == '\0')
sieve-filter(kjonca): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x82462) [0x7f2012002462] -> 
/usr/lib/dovecot/libdovecot.so.0(+0x824d9) [0x7f20120024d9] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) 
[0x7f2011fa9a01] -> /usr/lib/dovecot/libdovecot.so.0(+0xa9098) [0x7f2012029098] -> 
/usr/lib/dovecot/libdovecot-sieve.so.0(+0x5f1dc) [0x7f20128211dc] -> 
/usr/lib/dovecot/libdovecot-sieve.so.0(sieve_match+0xf1) [0x7f2012807721] -> 
/usr/lib/dovecot/libdovecot-sieve.so.0(+0x5fa85) [0x7f2012821a85] -> 
/usr/lib/dovecot/libdovecot-sieve.so.0(sieve_interpreter_continue+0xe7) [0x7f20127fe657] -> 
/usr/lib/dovecot/libdovecot-sieve.so.0(sieve_interpreter_run+0x2b) [0x7f20127fe7db] -> 
/usr/lib/dovecot/libdovecot-sieve.so.0(+0x4faca) [0x7f2012811aca] -> 
/usr/lib/dovecot/libdovecot-sieve.so.0(sieve_execute+0x47) [0x7f2012812637] -> /usr/bin/sieve-filter(main+0x754) 
[0x7f2012c96d24] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f20119f4b45] -> 
/usr/bin/sieve-filter(+0x43ca) [0x7f2012c973ca]


# 2.2.19 (a9c75e48cf8c): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.9
# OS: Linux 3.16.0-4-amd64 x86_64 Debian stretch/sid

KJ

Reply via email to