Segmentation fault on doveadm search -A with a huge user base

Heiko Schlittermann hs at schlittermann.de
Fri Feb 12 22:36:02 UTC 2016


Hi,

I'm using dovecot 2.2.9 with a director/backend setup. The user base is 
about 4711 users currently.

If I start at one of the directors

    doveadm search -A all savedbefore 5000d

it terminates with

doveadm(1rrissma): Error: doveadm server disconnected before handshake: EOF
doveadm(1rrissma): Error: 2001:638:913:f33::5:ff:24245: Command search failed for 1phaaman: EOF
doveadm(1rrissma): Error: doveadm server failure
doveadm: Error: Failed to iterate through some users

The backend logs about that

...
Feb 12 23:09:41 backend1 dovecot: doveadm(2001:638:913:f33::5:1,1mstrei2): Error: doveadm search: Client sent unknown parameter: ?
Feb 12 23:09:41 backend1 dovecot: doveadm: Error: search: invalid option -- '5'
Feb 12 23:09:41 backend1 dovecot: doveadm(2001:638:913:f33::5:1,1mstrei2): Error: doveadm search: Client sent unknown parameter: ?
Feb 12 23:09:41 backend1 dovecot: doveadm: Error: search: invalid option -- '5'
Feb 12 23:09:41 backend1 dovecot: doveadm(2001:638:913:f33::5:1,1mstrei2): Error: doveadm search: Client sent unknown parameter: ?
Feb 12 23:09:41 backend1 dovecot: doveadm: Error: search: invalid option -- '0'
Feb 12 23:09:41 backend1 dovecot: doveadm(2001:638:913:f33::5:1,1mstrei2): Error: doveadm search: Client sent unknown parameter: ?
Feb 12 23:09:41 backend1 dovecot: doveadm: Error: search: invalid option -- '0'
Feb 12 23:09:41 backend1 dovecot: doveadm(2001:638:913:f33::5:1,1mstrei2): Error: doveadm search: Client sent unknown parameter: ?
Feb 12 23:09:41 backend1 dovecot: doveadm: Error: search: invalid option -- '0'
Feb 12 23:09:41 backend1 dovecot: doveadm(2001:638:913:f33::5:1,1mstrei2): Error: doveadm search: Client sent unknown parameter: ?
Feb 12 23:09:41 backend1 dovecot: doveadm: Error: search: invalid option -- 'd'
Feb 12 23:09:41 backend1 dovecot: doveadm(2001:638:913:f33::5:1,1mstrei2): Error: doveadm search: Client sent unknown parameter: ?
Feb 12 23:09:41 backend1 dovecot: doveadm(2001:638:913:f33::5:1,1mstrei2): Fatal: master: service(doveadm): child 11235 killed with signal 11 (core dumped)

Is this a known behaviour and fixed already, or do I need to do more
investigation?

(PS: Running the same command on one of the backends works w/o failure)

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20160212/41b250ba/attachment.sig>


More information about the dovecot mailing list