Dovecot 2.2.21 + assertion + segfault (néha) io_loop_handler

Üdv,

aki esetleg belefutna dovecot 2.2.21 + Thunderbird (bár lehet mással is előfordul) párossal kapcsolatban egy assertion segfaultba annak itt egy patch:

https://tardis.hu/foo/dovecot_assertfix2.patch

Ref1.: https://marc.info/?l=dovecot&m=145320029820307&w=2
Ref2.: http://dovecot.2317879.n4.nabble.com/segfaults-with-Dovecot-2-2-21-td54…

Logba kb. igy nézett ki (+ coredump a user fiókjában):

Feb 8 13:44:44 mail dovecot: imap(USER.XXXXX): Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0x8096a) [0x7f35fbf5496a] -> /usr/lib64/dovecot/libdovecot.so.0(+0x809d6) [0x7f35fbf549d6] -> /usr/lib64/dovecot/libdovecot.so.0(+0x29c1a) [0x7f35fbefdc1a] -> dovecot/imap(client_continue_pending_input+0x127) [0x418317] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x5b) [0x7f35fbf6774b] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xb7) [0x7f35fbf68d27] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) [0x7f35fbf677f5] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7f35fbf67998] -> /usr/lib64/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f35fbf02cc3] -> dovecot/imap(main+0x2dc) [0x424f7c] -> /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f35fbb5ed5d] -> dovecot/imap() [0x40c109]
Feb 8 13:44:44 mail dovecot: imap(USER:XXXXX): Fatal: master: service(imap): child 9465 killed with signal 6 (core dumped)

Amúgy a user ebből kb. semmit nem vett észre. 0 panasz volt. Ment tovább az egész, de azért elég idegesitő ha elsegfaultolgat szerver oldalon a dovecot :)

A következő release-t már nem fogja érinteni, révén benn van már GIT master-ban.

-krix-

Hozzászólások

Thx 4 the heads-up!

"Jegyezze fel a vádhoz - utasította Metcalf őrnagy a tizedest, aki tudott gyorsírni. - Tiszteletlenül beszélt a feljebbvalójával, amikor nem pofázott közbe."

btw http://www.dovecot.org/list/dovecot-news/2016-March/000315.html

Megjelent a 2.2.22 -es release, ebben már benne van többek között ez a fix is.

+ Added doveadm HTTP API: See
http://wiki2.dovecot.org/Design/DoveadmProtocol/HTTP
+ virtual plugin: Mailbox filtering can now be done based on the
mailbox metadata. See http://wiki2.dovecot.org/Plugins/Virtual
+ stats: Added doveadm stats reset to reset global stats.
+ stats: Added authentication statistics if auth_stats=yes.
+ dsync, imapc, pop3c & pop3-migration: Many optimizations,
improvements and error handling fixes.
+ doveadm: Most commands now stop soon after SIGINT/SIGTERM.
- auth: Auth caching was done too aggressively when %variables were
used in default_fields, override_fields or LDAP pass/user_attrs.
userdb result_* were also ignored when user was found from cache.
- imap: Fixed various assert-crashes caused v2.2.20+. Some of them
caught actual hangs or otherwise unwanted behavior towards IMAP
clients.
- Expunges were forgotten in some situations, for example when
pipelining multiple IMAP MOVE commands.
- quota: Per-namespaces quota were broken for dict and count backends
in v2.2.20+
- fts-solr: Search queries were using OR instead of AND as the
separator for multi-token search queries in v2.2.20+.
- Single instance storage support wasn't really working in v2.2.16+
- dbox: POP3 message ordering wasn't working correctly.
- virtual plugin: Fixed crashes related to backend mailbox deletions.