Hi,
I have other information.
I analyzed the core dump:
(gdb) core 22534 [New LWP 22534] Reading symbols from /usr/libexec/dovecot/doveadm-server...Reading symbols from /usr/lib/debug/usr/libexec/dovecot/doveadm-server.debug...done. done. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `dovecot-devel01/doveadm-server'. Program terminated with signal 11, Segmentation fault. #0 clear (this=0x0) at /usr/src/debug/clucene-core-2.3.3.4/src/core/CLucene/util/VoidMap.h:123 123 if ( dk || dv ){ (gdb)
Br,
Domenico
Domenico Pastore Senior Cloud Engineer T 06.98269600 | M 347.1474270 | F 06.98269680 Par-Tec<http://www.par-tec.it> | beyond the IT domain Via Cristoforo Colombo 163, 00147 Roma CONFIDENZIALE: Questo messaggio ed i suoi allegati sono di carattere confidenziale. È vietato l'inoltro non autorizzato a destinatari diversi da quelli indicati nel messaggio originale. Se ricevuto per errore si prega di informare il mittente e cancellarlo immediatamente. Il 16/09/19 09:50, Domenico Pastore via dovecot ha scritto:
Hi,
do you have the same problem with lucene?
I collected a strace on the dovecot process during indexing:
[pid 31339] execve("/usr/libexec/dovecot/doveadm-server", ["dovecot-devel01/doveadm-server"], [/* 18 vars */] <unfinished ...> [pid 30711] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=30932, si_uid=0, si_status=SIGSEGV, si_utime=3, si_stime=1} --- [pid 30711] write(62, "\0", 1) = 1 [pid 30711] read(124, "8x\0\0008\0\0\0\251\3\0\0", 1020) = 12 [pid 30711] read(61, "\0", 64) = 1 [pid 30711] open("/proc/sys/fs/suid_dumpable", O_RDONLY) = 227 [pid 30711] read(227, "0\n", 9) = 2 [pid 30711] write(65, "25 30932 FATAL service(doveadm): child 30932 killed with signal 11 (core not dumped - https://dovecot.org/bugreport.html#coredumps - set /proc/sys/fs/suid_dumpable to 2)\n", 170) = 170 [pid 30711] write(14, "KILL\t30932\n", 11) = 11 [pid 30711] write(65, "25 30932 BYE\n", 13) = 13 [pid 31339] <... execve resumed> ) = 0 [pid 31339] open("/usr/lib64/dovecot/tls/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 31339] stat("/usr/lib64/dovecot/tls/x86_64", 0x7ffda7e3f1d0) = -1 ENOENT (No such file or directory) [pid 31339] open("/usr/lib64/dovecot/tls/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 31339] stat("/usr/lib64/dovecot/tls", 0x7ffda7e3f1d0) = -1 ENOENT (No such file or directory) [pid 31339] open("/usr/lib64/dovecot/x86_64/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 31339] stat("/usr/lib64/dovecot/x86_64", 0x7ffda7e3f1d0) = -1 ENOENT (No such file or directory) [pid 31339] open("/usr/lib64/dovecot/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 31339] stat("/usr/lib64/dovecot", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 31339] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4 [pid 31339] open("/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 4
All missing libs are in "/usr/lib64" and no to "/usr/lib64/dovecot"
Can you help me?
Br,
Domenico
Domenico Pastore Senior Cloud Engineer T 06.98269600 | M 347.1474270 | F 06.98269680 Par-Tec<http://www.par-tec.it> | beyond the IT domain Via Cristoforo Colombo 163, 00147 Roma CONFIDENZIALE: Questo messaggio ed i suoi allegati sono di carattere confidenziale. È vietato l'inoltro non autorizzato a destinatari diversi da quelli indicati nel messaggio originale. Se ricevuto per errore si prega di informare il mittente e cancellarlo immediatamente. Il 12/09/19 12:07, Domenico Pastore via dovecot ha scritto:
Hi,
i have a problem with libclucene-core.so.2.3.3.4. I See segfault error to messages log, when dovecot store mail to INBOX.
set 12 13:41:21 box02.par-tec.it kernel: doveadm-server[20285]: segfault at 38 ip 00007f575b68fc42 sp 00007ffc0272e750 error 4 in libclucene-core.so.2.3.3.4[7f575b569000+188000] set 12 13:41:22 box02.par-tec.it kernel: doveadm-server[18871]: segfault at 38 ip 00007f9bea6d2c42 sp 00007fff47bceae0 error 4 in libclucene-core.so.2.3.3.4[7f9bea5ac000+188000]
In the dovecot logs:
2019-09-12 13:45:09 auth: Debug: ldap(test4444client@newsvilXXXX,10.0.8.128<mailto:test4444client@newsvilXXXX,10.0.8.128>): Finished userdb lookup 2019-09-12 13:45:09 auth: Debug: userdb out: USER 1 test4444client@newsvilXXXX home=/pec_store/pec_mailbox/pec_mailbox_devel01/4/5/6/7/1/45671_18231 quota_rule=*:bytes=1048576000 mail_plugins+= 2019-09-12 13:45:10 SKENO8Uvel0gbAAA5ZKy4w doveadm(test4444client@newsvilXXXX): Fatal: master: service(doveadm): child 27680 killed with signal 11 (core dumped) 2019-09-12 13:45:10 auth: Debug: master in: USER 1 test4444client@newsvilXXXX service=doveadm lip=192.160.10.3 lport=924 rip=10.0.8.128 rport=36760 2019-09-12 13:45:10 auth: Debug: ldap(test4444client@newsvilXXXX 10.0.8.128): Performing userdb lookup
I have attach the coredump of error and dovecot.conf
Thanks for support.
Br,
Domenico
------------------- info: ------------------- # 2.3.7.2 (3c910f64b): /pec/config/dovecot/dovecot-devel01/dovecot.conf # Pigeonhole version 0.5.7.2 (7372921a) # OS: Linux 3.10.0-957.27.2.el7.x86_64 x86_64 CentOS Linux release 7.6.1810 (Core) # Hostname: box02