[2.3.4] Segmentation faults

Joan Moreau jom at grosjo.net
Tue Nov 27 08:39:22 EET 2018


Thank you Aki 

here the requested data (below) 

Please not as well that we have numerous subfolders (>50) and pretty big
mailbox sizes (>20G) 

Bug appears mostly in auth process and index-worker 

dovecot -n : 

# 2.4.devel (de42b54aa): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.6.devel (65909cfa)
# OS: Linux 4.19.4-arch1-1-ARCH x86_64 ext4
# Hostname: gjserver
base_dir = /run/dovecot
default_login_user = dovecot
default_vsz_limit = 16 G
disable_plaintext_auth = no
listen = *
log_path = /var/log/mail/dovecot.log
mail_gid = mail
mail_location = mdbox:/data/mail/%d/%n:ALT=/data/mail/archives/%d/%n
mail_plugins = fts fts_squat
mail_uid = mailusers
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date index ihave duplicate mime foreverypart
extracttext
mdbox_rotate_size = 24 M 

(...) 

passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
(the rest default values)

On 2018-11-25 08:08, Aki Tuomi wrote:

>> On 25 November 2018 at 06:29 Joan Moreau < jom at grosjo.net> wrote: 
>> 
>> Hi 
>> 
>> THis is the lines I have in my dmesg (see below) 
>> 
>> In dovecot log , I see: 
>> 
>> Nov 25 04:26:47 auth-worker: Error: double free or corruption (fasttop) 
>> 
>> What do to about it ? 
>> 
>> Using lastest 2.3.4 version 
>> 
>> Thank you 
>> 
>> -------- 
>> 
>> [132932.169265] Code: 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 
>> 00 21 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 20 aa 36 f5 7a 7f 00 
>> 00 <40> 24 3d f5 7a 7f 00 00 21 80 00 00 00 00 00 00 00 94 16 d6 ee 55 
>> [134031.969596] auth[27031]: segfault at 55e509612c30 ip 
>> 000055e509612c30 sp 00007ffeb96dee48 error 15 
>> [134031.969603] Code: 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 
>> 00 21 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 20 3a d3 e4 ef 7f 00 
>> 00 <40> b4 d9 e4 ef 7f 00 00 21 80 00 00 00 00 00 00 00 04 5f 09 e5 55 
>> [134081.497871] doveadm[28930]: segfault at 7ffe4a16efc8 ip 
>> 00007f393841013e sp 00007ffe4a16efc0 error 6 in 
>> libdovecot.so.0.0.0[7f3938363000+e2000] 
>> [134081.497876] Code: 7d be e9 68 ff ff ff e8 10 4c f5 ff 41 57 41 89 cf 
>> 41 56 49 89 f6 41 55 41 89 fd 31 ff 41 54 55 44 89 c5 53 89 d3 48 83 ec 
>> 58 <4c> 89 4c 24 08 64 48 8b 04 25 28 00 00 00 48 89 44 24 48 31 c0 e8 
>> [134084.145731] doveadm[29186]: segfault at 7fff1cfdbff8 ip 
>> 00007f4376e32ffb sp 00007fff1cfdc000 error 6 in 
>> libdovecot.so.0.0.0[7f4376d86000+e2000] 
>> [134084.145735] Code: ff 66 0f 1f 44 00 00 e9 9d dc f6 ff 0f 1f 00 48 83 
>> ec 08 48 83 3d 14 16 0b 00 00 0f 85 d2 76 f6 ff 31 f6 48 8d 3d 05 16 0b 
>> 00 <e8> 00 54 f5 ff 85 c0 0f 88 e4 76 f6 ff 48 83 c4 08 e9 69 dc f6 ff 
>> [135453.211242] indexer-worker[2539]: segfault at 7ffec3ba4ff8 ip 
>> 00007ffec43fdcff sp 00007ffec3ba5000 error 6 
>> [135453.211245] Code: 95 4c 89 f7 48 89 75 d0 e8 5e fc ff ff 48 8b 75 d0 
>> e9 56 ff ff ff 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 49 89 
>> f4 <53> 48 83 ec 08 48 85 ff 0f 84 b3 00 00 00 48 89 fb 4c 8d 35 69 c3 
>> [135453.730250] indexer-worker[9236]: segfault at 7fffed921ff8 ip 
>> 00007fb7c9c4f5b1 sp 00007fffed922000 error 6 in 
>> libdovecot.so.0.0.0[7fb7c9ba2000+e2000] 
>> [135453.730256] Code: 2e 0f 1f 84 00 00 00 00 00 41 57 4d 89 cf 41 56 41 
>> 89 fe 41 55 49 89 f5 41 54 41 89 d4 55 89 cd 53 48 83 ec 08 4c 8b 4c 24 
>> 40 <e8> 6a fb ff ff 85 c0 7e 4f 48 8b 05 7f f9 0a 00 be 38 00 00 00 48 
>> [135796.171575] auth[11121]: segfault at 555f8645cc30 ip 
>> 0000555f8645cc30 sp 00007ffcbb510868 error 15 
>> [135796.171586] Code: 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 
>> 00 21 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 20 ba ed 38 b7 7f 00 
>> 00 <40> 34 f4 38 b7 7f 00 00 21 80 00 00 00 00 00 00 00 a4 43 86 5f 55 
>> [136710.562003] auth[17828]: segfault at 563443604c30 ip 
>> 0000563443604c30 sp 00007ffc1aa8b498 error 15 
>> [136710.562013] Code: 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 
>> 00 21 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 20 fa 48 da d5 7f 00 
>> 00 <40> 74 4f da d5 7f 00 00 21 80 00 00 00 00 00 00 00 24 5e 43 34 56 
>> [138331.686718] auth[31046]: segfault at 55b27bc63c30 ip 
>> 000055b27bc63c30 sp 00007ffd5d5b9298 error 15 
>> [138331.686721] Code: 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 
>> 00 21 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 20 9a 08 17 cd 7f 00 
>> 00 <40> 14 0f 17 cd 7f 00 00 21 80 00 00 00 00 00 00 00 14 c4 7b b2 55 
>> [138521.070485] auth[32481]: segfault at 556e05197c30 ip 
>> 0000556e05197c30 sp 00007ffe87217c08 error 15 
>> [138521.070487] Code: 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 
>> 00 21 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 20 aa a7 20 3c 7f 00 
>> 00 <40> 24 ae 20 3c 7f 00 00 21 80 00 00 00 00 00 00 00 54 17 05 6e 55 
>> [138782.544700] auth[2408]: segfault at 5570d3e46c30 ip 00005570d3e46c30 
>> sp 00007ffc9118a5e8 error 15 
>> [138782.544709] Code: 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 
>> 00 21 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 20 da fc 71 11 7f 00 
>> 00 <40> 54 03 72 11 7f 00 00 21 80 00 00 00 00 00 00 00 44 e2 d3 70 55 
>> [139113.225511] indexer-worker[3785]: segfault at 7ffe49316ff8 ip 
>> 00007ffe49ba7cff sp 00007ffe49317000 error 6 
>> [139113.225514] Code: 95 4c 89 f7 48 89 75 d0 e8 5e fc ff ff 48 8b 75 d0 
>> e9 56 ff ff ff 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 49 89 
>> f4 <53> 48 83 ec 08 48 85 ff 0f 84 b3 00 00 00 48 89 fb 4c 8d 35 69 c3 
>> [139113.733885] indexer-worker[5483]: segfault at 7ffcdc00efb8 ip 
>> 00007fa68292a13e sp 00007ffcdc00efb0 error 6 in 
>> libdovecot.so.0.0.0[7fa68287d000+e2000] 
>> [139113.733890] Code: 7d be e9 68 ff ff ff e8 10 4c f5 ff 41 57 41 89 cf 
>> 41 56 49 89 f6 41 55 41 89 fd 31 ff 41 54 55 44 89 c5 53 89 d3 48 83 ec 
>> 58 <4c> 89 4c 24 08 64 48 8b 04 25 28 00 00 00 48 89 44 24 48 31 c0 e8 
>> [139120.612228] indexer-worker[5498]: segfault at 7ffc90beaff8 ip 
>> 00007f0e09ae259f sp 00007ffc90beb000 error 6 in 
>> libdovecot.so.0.0.0[7f0e09a35000+e2000] 
>> [139120.612232] Code: c2 48 8b 44 24 08 48 8b 30 31 c0 e8 cb 2d f5 ff 66 
>> 66 2e 0f 1f 84 00 00 00 00 00 41 57 4d 89 cf 41 56 41 89 fe 41 55 49 89 
>> f5 <41> 54 41 89 d4 55 89 cd 53 48 83 ec 08 4c 8b 4c 24 40 e8 6a fb ff 
>> [139747.003229] auth[9545]: segfault at 558b5e039c30 ip 0000558b5e039c30 
>> sp 00007ffd43633008 error 15 
>> [139747.003239] Code: 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 
>> 00 21 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 20 2a ef 0e 75 7f 00 
>> 00 <40> a4 f5 0e 75 7f 00 00 21 80 00 00 00 00 00 00 00 74 01 5e 8b 55 
>> [140640.900512] auth[17221]: segfault at 55e952d41c30 ip 
>> 000055e952d41c30 sp 00007ffc36fa0908 error 15 
>> [140640.900523] Code: 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 
>> 00 21 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 20 5a ec 80 b9 7f 00 
>> 00 <40> d4 f2 80 b9 7f 00 00 21 80 00 00 00 00 00 00 00 f4 d1 52 e9 55 
>> [140777.927292] auth[18114]: segfault at 55bd72adec30 ip 
>> 000055bd72adec30 sp 00007ffca394ba98 error 15 
>> [140777.927302] Code: 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 
>> 00 21 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 20 ba cb 67 d7 7f 00 
>> 00 <40> 34 d2 67 d7 7f 00 00 21 80 00 00 00 00 00 00 00 c4 ab 72 bd 55
> 
> Please see https://dovecot.org/bugreport.html 
> --- 
> Aki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20181127/65f5de8e/attachment.html>


More information about the dovecot mailing list