[Dovecot] problems with doveadm

e-frog e-frog at gmx.de
Mon Aug 5 20:24:02 EEST 2013


On 05.08.2013 19:13, wrote Timo Sirainen:
> On 5.8.2013, at 19.56, e-frog <e-frog at gmx.de> wrote:
>
>> On 04.08.2013 15:06, wrote Timo Sirainen:
>>> On 3.8.2013, at 14.25, listserv <listserv at xtlv.cn> wrote:
>>>
>>>> doveadm expunge -A mailbox Trash savedbefore 7d
>>>> => kernel: doveadm[11609]: segfault at 10 ip b75f146a sp bf856ad0 error 4 in
>>>> libdovecot.so.0.0.0[b7585000+c8000]
>>>
>>> gdb backtrace would be useful, for example:
>>>
>>> gdb --args doveadm expunge -A mailbox Trash savedbefore 7d
>>> run
>>> bt full
>>>
>>
>> Could this be related to http://www.dovecot.org/list/dovecot/2013-August/091695.html?
>
> Oh, I had accidentally marked that mail as "seen" before fixing. This should fix both the crashes:
> http://hg.dovecot.org/dovecot-2.2/rev/1adb8998c2a6
>

Thanks Timo. Just wanted to try it but now I get an compilation error 
which is unrelated to this fix however:

Making all in dns
make[4]: Entering directory `/«PKGBUILDDIR»/src/dns'
i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src/lib 
-I../../src/lib-master -I../../src/lib-settings -D_FORTIFY_SOURCE=2 
-std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -Wall -W -Wmissing-prototypes 
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 
-Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2    -MT 
dns-client.o -MD -MP -MF .deps/dns-client.Tpo -c -o dns-client.o 
dns-client.c
dns-client.c: In function 'dns_client_input_line':
dns-client.c:39:10: error: 'EAI_ADDRFAMILY' undeclared (first use in 
this function)
dns-client.c:39:10: note: each undeclared identifier is reported only 
once for each function it appears in
make[4]: *** [dns-client.o] Error 1
make[4]: Leaving directory `/«PKGBUILDDIR»/src/dns'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-stamp] Error 2

This is on Linux 3.8.0-27-generic i686 Ubuntu 13.04



More information about the dovecot mailing list