[Dovecot] [Dovecot 2.1.7] SegFault on doveadm search through director proxy

Daniel Parthey daniel.parthey at informatik.tu-chemnitz.de
Fri Jun 15 23:03:06 EEST 2012


Timo Sirainen wrote:
> On 10.6.2012, at 2.56, Daniel Parthey wrote:
> 
> > doveadm search -u user at example.org -S localhost:19000 all
> > produces the following error in the logs:
> > dovecot: doveadm: Error: doveadm client attempted non-PLAIN authentication
> > 
> > What am I missing?
> 
> It's possible that this is just broken in v2.0. Try v2.1.

mail01: 2.0.20
mail02: 2.1.7
mail03: 2.0.20
mail04: 2.0.20

Director for user at example.org currently points to mail02.

Compiled and installed 2.1.7 on mail02 (Ubuntu Lucid),
gettings segfaults on mail02 now.

Got a core dump and created a gdb backtrace:

mail02# doveadm -c /etc/dovecot-director/dovecot-director.conf search -u user at example.org all
[...]
67b3b72453278b4f6a3d000051abeb58 447
67b3b72453278b4f6a3d000051abeb58 448
67b3b72453278b4f6a3d000051abeb58 449
67b3b72453278b4f6a3d000051abeb58 450
67b3b72453278b4f6a3d000051abeb58 451
67b3b72453278b4f6a3d000051abeb58 452
67b3b72453278b4f6a3d000051abeb58 453
67b3b72453278b4f6a3d000051abeb58 454
67b3b72453278b4f6a3d000051abeb58 455
67b3b72453278b4f6a3d000051abeb58 456
Segmentation fault (core dumped)

gdb /usr/bin/doveadm /root/core
(gdb) bt full
#0  0x00007f953cbb9e32 in vfprintf () from /lib/libc.so.6
No symbol table info available.
#1  0x00007f953cc6eea1 in __printf_chk () from /lib/libc.so.6
No symbol table info available.
#2  0x000000000041ed4e in ?? ()
No symbol table info available.
#3  0x0000000000415667 in doveadm_print ()
No symbol table info available.
#4  0x000000000041638d in ?? ()
No symbol table info available.
#5  0x00007f953cf3f176 in io_loop_call_io () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#6  0x00007f953cf401ff in io_loop_handler_run () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#7  0x00007f953cf3f118 in io_loop_run () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#8  0x00007f953cf2b403 in master_service_run () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#9  0x0000000000414cae in ?? ()
No symbol table info available.
#10 0x0000000000414dd2 in doveadm_mail_server_flush ()
No symbol table info available.
#11 0x000000000041009a in ?? ()
No symbol table info available.
#12 0x0000000000410501 in doveadm_mail_try_run ()
No symbol table info available.
#13 0x0000000000417051 in main ()
No symbol table info available.

Can you help to fix these segfaults, please?

Regards
Daniel
-- 
https://plus.google.com/103021802792276734820



More information about the dovecot mailing list