On 24.4.2014, at 0.15, Marcin Mirosław <marcin@mejor.pl> wrote:
Recently I noticed that dovecot-lda throws segfault when resolver is unavailable and with imapc configured.
I can't easily reproduce this.
#0 0x000002b612afaf72 in _int_free (av=0x2b612e215c0 <main_arena>, p=0x1b23bfabe0, have_lock=0) at malloc.c:3903 #1 0x000002b612e96a4e in buffer_free (_buf=_buf@entry=0x1b23bfa948) at buffer.c:144 #2 0x000002b612ebeca8 in array_free_i (array=0x1b23bfa948) at array.h:108 #3 priorityq_deinit (_pq=_pq@entry=0x1b23bfabb0) at priorityq.c:38 #4 0x000002b612eafa57 in io_loop_destroy (_ioloop=_ioloop@entry=0x395a4da91d0) at ioloop.c:495
This also looks like some kind of memory corruption, which isn't good. Can you try this with valgrind?
valgrind /usr/libexec/dovecot/deliver -d marcin@mejor.pl