[Dovecot] problems with doveadm
Hello,
since few weeks i have problems with the command:
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]
but for a single user it's works fine: doveadm expunge -u test@vtlx.de mailbox Trash savedbefore 30h
doveconf -n # 2.2.4 (f16816a69130): /etc/dovecot/dovecot.conf # OS: Linux 3.2.45.stk32 i686 Debian jessie/sid ext3
I hope there is a solution for this.
with regards Mario
-- 中華人民共和國
On 3.8.2013, at 14.25, listserv <listserv@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
On 04.08.2013 15:06, wrote Timo Sirainen:
On 3.8.2013, at 14.25, listserv <listserv@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?
On 5.8.2013, at 19.56, e-frog <e-frog@gmx.de> wrote:
On 04.08.2013 15:06, wrote Timo Sirainen:
On 3.8.2013, at 14.25, listserv <listserv@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
On 05.08.2013 19:13, wrote Timo Sirainen:
On 5.8.2013, at 19.56, e-frog <e-frog@gmx.de> wrote:
On 04.08.2013 15:06, wrote Timo Sirainen:
On 3.8.2013, at 14.25, listserv <listserv@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
On 5.8.2013, at 20.24, e-frog <e-frog@gmx.de> wrote:
Thanks Timo. Just wanted to try it but now I get an compilation error which is unrelated to this fix however:
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
Oops, happens with me too :) And it wasn't supposed to be using it anyway, fixed now.
On 05.08.2013 19:33, wrote Timo Sirainen:
On 5.8.2013, at 20.24, e-frog <e-frog@gmx.de> wrote:
Thanks Timo. Just wanted to try it but now I get an compilation error which is unrelated to this fix however:
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
Oops, happens with me too :) And it wasn't supposed to be using it anyway, fixed now.
Ok, it compiled again :). However now it's assert crashing :-(
doveadm mailbox status -A -t unseen 'virtual/unread' test1@local.lan unseen=1 doveadm: Panic: file ioloop.c: line 494 (io_loop_destroy): assertion failed: (ioloop == current_ioloop) doveadm: Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x5adaa) [0xb7554daa] -> /usr/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x47) [0xb7554ec7] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0xb750cf66] -> /usr/lib/dovecot/libdovecot.so.0(+0x6cced) [0xb7566ced] -> /usr/lib/dovecot/libdovecot.so.0(master_service_deinit+0xe6) [0xb7513646] -> doveadm(main+0x442) [0xb7757932] -> /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0xb7360935] -> doveadm(+0xeb9d) [0xb7757b9d] Aborted (core dumped)
Core was generated by `doveadm mailbox status -A -t unseen virtual/unread'. Program terminated with signal 6, Aborted. #0 0xb7726424 in __kernel_vsyscall () (gdb) bt full #0 0xb7726424 in __kernel_vsyscall () No symbol table info available. #1 0xb7375b1f in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = <optimized out> resultvar = <optimized out> pid = -1219534848 selftid = 13193 #2 0xb73790b3 in __GI_abort () at abort.c:90 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x1f3, sa_sigaction = 0x1f3}, sa_mask = {__val = {3076049190, 3075527839, 3108510040, 10, 3075818317, 3076242424, 3108510040, 3076242424, 0, 3075819944, 3218587852, 10, 3218587940, 3075969388, 3108509480, 512, 3076242424, 0, 3076242424, 2, 2, 3075820786, 3076244464, 2, 3076041829, 3218587940, 3108509480, 3076242424, 3073640072, 3075526703, 3076244464, 3076041829}}, sa_flags = -1076379356, sa_restorer = 0xb750cffe <i_error+8>} sigs = {__val = {32, 0 <repeats 31 times>}} #3 0xb7554dc0 in default_fatal_finish (type=<optimized out>, status=status@entry=0) at failures.c:191 backtrace = 0xb9481748 "/usr/lib/dovecot/libdovecot.so.0(+0x5adaa) [0xb7554daa] -> /usr/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x47) [0xb7554ec7] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0xb750cf66] -> /usr"... #4 0xb7554ec7 in default_fatal_handler (ctx=0xbfd7c194, format=0xb7580564 "file %s: line %d (%s): assertion failed: (%s)", args=0xbfd7c1b4 "L\310X\267\356\001") at failures.c:205 status = 0 #5 0xb750cf66 in i_panic (format=format@entry=0xb7580564 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:263 ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0} args = 0xbfd7c1b4 "L\310X\267\356\001" #6 0xb7566ced in io_loop_destroy (_ioloop=_ioloop@entry=0xb94899d8) at ioloop.c:494 ioloop = 0xb9489ab0 item = 0x0 __FUNCTION__ = "io_loop_destroy" #7 0xb7513646 in master_service_deinit (_service=0xb75bebd4 <master_service>) at master-service.c:763 service = 0xb94899d8 #8 0xb7757932 in main (argc=6, argv=0xb94891d4) at doveadm.c:416 cmd_name = 0xb94891f8 "mailbox" i = <optimized out> quick_init = false c = <optimized out>
On 5.8.2013, at 21.28, e-frog <e-frog@gmx.de> wrote:
On 05.08.2013 19:33, wrote Timo Sirainen:
On 5.8.2013, at 20.24, e-frog <e-frog@gmx.de> wrote:
Thanks Timo. Just wanted to try it but now I get an compilation error which is unrelated to this fix however:
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
Oops, happens with me too :) And it wasn't supposed to be using it anyway, fixed now.
Ok, it compiled again :). However now it's assert crashing :-(
The latest hg should work now, at least in my tests.
On 05.08.2013 21:16, wrote Timo Sirainen:
On 5.8.2013, at 21.28, e-frog <e-frog@gmx.de> wrote:
On 05.08.2013 19:33, wrote Timo Sirainen:
On 5.8.2013, at 20.24, e-frog <e-frog@gmx.de> wrote:
Thanks Timo. Just wanted to try it but now I get an compilation error which is unrelated to this fix however:
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
Oops, happens with me too :) And it wasn't supposed to be using it anyway, fixed now.
Ok, it compiled again :). However now it's assert crashing :-(
The latest hg should work now, at least in my tests.
Yes, confirmed works now for me again as well. Thanks!
participants (3)
-
e-frog
-
listserv
-
Timo Sirainen