Re: [Dovecot] dovecot-lda segfaults with some sieve scripts

2010-09-30 Thread interfaSys sàrl
Hello Stephan, This fix works. Thank you for that. Cheers, Olivier On 29/09/2010 18:11, Stephan Bosch wrote: Hello again, I've added the -d and -f flags to the command line and this time I got a trace. (gdb) r Starting program: /usr/libexec/dovecot/dovecot-lda -p example-message.eml

Re: [Dovecot] dovecot-lda segfaults with some sieve scripts

2010-09-29 Thread Stephan Bosch
Op 29-9-2010 14:42, interfaSys sàrl schreef: Hello, One account couldn't get emails all the sudden. dovecot-lda was crashing with signal 11 (segmentation fault). There was absolutely nothing in the dovecot logs, even with mail_debug=yes. I found out that it was because of the following

Re: [Dovecot] dovecot-lda segfaults with some sieve scripts

2010-09-29 Thread interfaSys sàrl
OK, I'll give the trace a try. Thanks for the instructions. In the meantime, here is more info. The sieve script does a redirect and a local save. It works fine if only the redirect is in place. if true { redirect some.em...@domain.com; } if true { keep; stop; } I'm using mdbox as

Re: [Dovecot] dovecot-lda segfaults with some sieve scripts

2010-09-29 Thread interfaSys sàrl
Hello, I tried to do a trace but it didn't seem to work. (gdb) r Starting program: /usr/libexec/dovecot/dovecot-lda -p example-message.eml (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols founn

Re: [Dovecot] dovecot-lda segfaults with some sieve scripts

2010-09-29 Thread interfaSys sàrl
Hello again, I've added the -d and -f flags to the command line and this time I got a trace. (gdb) r Starting program: /usr/libexec/dovecot/dovecot-lda -p example-message.eml -f u...@domain.com -d u...@domain.com (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols

Re: [Dovecot] dovecot-lda segfaults with some sieve scripts

2010-09-29 Thread Stephan Bosch
Op 29-9-2010 17:33, interfaSys sàrl schreef: Hello again, I've added the -d and -f flags to the command line and this time I got a trace. (gdb) r Starting program: /usr/libexec/dovecot/dovecot-lda -p example-message.eml -f u...@domain.com -d u...@domain.com (no debugging symbols found)...(no

Re: [Dovecot] dovecot-lda segfaults with some sieve scripts

2010-09-29 Thread Stephan Bosch
Op 29-9-2010 17:35, Stephan Bosch schreef: Op 29-9-2010 17:33, interfaSys sàrl schreef: (gdb) bt full #0 0x000800e70140 in seff_flags_merge () from According to this, you have a require imap4flags; somewhere on top of your Sieve script right? Also, it's apparently running in

Re: [Dovecot] dovecot-lda segfaults with some sieve scripts

2010-09-29 Thread interfaSys sàrl
On 29/09/2010 16:40, Stephan Bosch wrote: Op 29-9-2010 17:35, Stephan Bosch schreef: Op 29-9-2010 17:33, interfaSys sàrl schreef: (gdb) bt full #0 0x000800e70140 in seff_flags_merge () from According to this, you have a require imap4flags; somewhere on top of your Sieve script

Re: [Dovecot] dovecot-lda segfaults with some sieve scripts

2010-09-29 Thread Stephan Bosch
Hello again, I've added the -d and -f flags to the command line and this time I got a trace. (gdb) r Starting program: /usr/libexec/dovecot/dovecot-lda -p example-message.eml -f u...@domain.com -d u...@domain.com (no debugging symbols found)...(no debugging symbols found)...(no debugging