Dovecot 2.3.4 crash

Guillaume dovecotlist at drgeek.fr
Tue Dec 4 13:06:41 EET 2018


Hi !

Yes it happens every 2 to 5 minutes so no problem in reproducing.

I made the change with valgrind, I have now this in my log :

Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436== Invalid read of size 8
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393== Invalid read of size 8
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476== Invalid read of size 8
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431== Invalid read of size 8
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2468== Invalid read of size 8
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    at 0x6E8767F: mysql_close (mariadb_lib.c:1916)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1359D8: userdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x119C88: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==  Address 0x66e3870 is 0 bytes inside a block of size 120 free'd
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    at 0x4C2CDDB: free (vg_replace_malloc.c:530)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E877FE: mysql_close (mariadb_lib.c:1947)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    at 0x6E8767F: mysql_close (mariadb_lib.c:1916)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1318C1: passdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x119C68: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x1359D8: userdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x119C88: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==  Block was alloc'd at
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    at 0x4C2DBC5: calloc (vg_replace_malloc.c:711)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==  Address 0x66e3870 is 0 bytes inside a block of size 120 free'd
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    at 0x4C2CDDB: free (vg_replace_malloc.c:530)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E8250A: mysql_init (mariadb_lib.c:996)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6C60837: ??? (in /usr/lib/dovecot/modules/libdriver_mysql.so)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x6E877FE: mysql_close (mariadb_lib.c:1947)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x146FE4: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x13D10C: db_sql_connect (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1348B0: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x1318C1: passdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x131818: passdb_init (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x119C68: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1195D3: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x119AFC: auths_init (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==  Block was alloc'd at
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x118786: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    at 0x4C2DBC5: calloc (vg_replace_malloc.c:711)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x6E8250A: mysql_init (mariadb_lib.c:996)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476== Invalid read of size 8
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x6C60837: ??? (in /usr/lib/dovecot/modules/libdriver_mysql.so)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    at 0x6E8767F: mysql_close (mariadb_lib.c:1916)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x146FE4: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x13D10C: db_sql_connect (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x1348B0: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x131818: passdb_init (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x1359D8: userdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x1195D3: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x119C88: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x119AFC: auths_init (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x118786: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==  Address 0x66e3870 is 0 bytes inside a block of size 120 free'd
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    at 0x4C2CDDB: free (vg_replace_malloc.c:530)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436== Invalid read of size 8
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x6E877FE: mysql_close (mariadb_lib.c:1947)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    at 0x6E8767F: mysql_close (mariadb_lib.c:1916)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x1318C1: passdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x119C68: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    by 0x1359D8: userdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==  Block was alloc'd at
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    at 0x4C2DBC5: calloc (vg_replace_malloc.c:711)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    by 0x119C88: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x6E8250A: mysql_init (mariadb_lib.c:996)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==  Address 0x66e3870 is 0 bytes inside a block of size 120 free'd
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x6C60837: ??? (in /usr/lib/dovecot/modules/libdriver_mysql.so)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    at 0x4C2CDDB: free (vg_replace_malloc.c:530)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    at 0x6E87613: ma_clear_session_state (mariadb_lib.c:1906)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x146FE4: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    by 0x6E877FE: mysql_close (mariadb_lib.c:1947)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x13D10C: db_sql_connect (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E8777D: mysql_close (mariadb_lib.c:1936)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x1348B0: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x131818: passdb_init (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x1195D3: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x119AFC: auths_init (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1359D8: userdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    by 0x1318C1: passdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==    by 0x118786: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x119C88: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    by 0x119C68: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431==
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2431== Invalid read of size 8
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2468==    at 0x6E8767F: mysql_close (mariadb_lib.c:1916)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    at 0x6E87613: ma_clear_session_state (mariadb_lib.c:1906)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==  Block was alloc'd at
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==  Address 0x66e3878 is 8 bytes inside a block of size 120 free'd
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2468==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x6E8777D: mysql_close (mariadb_lib.c:1936)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    at 0x4C2DBC5: calloc (vg_replace_malloc.c:711)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    at 0x4C2CDDB: free (vg_replace_malloc.c:530)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2468==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    by 0x6E8250A: mysql_init (mariadb_lib.c:996)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E877FE: mysql_close (mariadb_lib.c:1947)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2468==    by 0x1359D8: userdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    by 0x6C60837: ??? (in /usr/lib/dovecot/modules/libdriver_mysql.so)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x1359D8: userdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2468==    by 0x119C88: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    by 0x146FE4: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x119C88: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2468==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    by 0x13D10C: db_sql_connect (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1318C1: passdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2436==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2468==  Address 0x66e3870 is 0 bytes inside a block of size 120 free'd
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2393==    by 0x1348B0: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x119C68: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==  Block was alloc'd at
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    at 0x4C2DBC5: calloc (vg_replace_malloc.c:711)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E8250A: mysql_init (mariadb_lib.c:996)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6C60837: ??? (in /usr/lib/dovecot/modules/libdriver_mysql.so)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x146FE4: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x13D10C: db_sql_connect (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1348B0: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x131818: passdb_init (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1195D3: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x119AFC: auths_init (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x118786: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476== Invalid write of size 8
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    at 0x6E8762E: memset (string3.h:90)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E8762E: ma_clear_session_state (mariadb_lib.c:1908)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E8777D: mysql_close (mariadb_lib.c:1936)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1359D8: userdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x119C88: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==  Address 0x66e3878 is 8 bytes inside a block of size 120 free'd
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    at 0x4C2CDDB: free (vg_replace_malloc.c:530)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E877FE: mysql_close (mariadb_lib.c:1947)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1318C1: passdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x119C68: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==  Block was alloc'd at
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    at 0x4C2DBC5: calloc (vg_replace_malloc.c:711)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E8250A: mysql_init (mariadb_lib.c:996)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6C60837: ??? (in /usr/lib/dovecot/modules/libdriver_mysql.so)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x146FE4: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x13D10C: db_sql_connect (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1348B0: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x131818: passdb_init (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1195D3: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x119AFC: auths_init (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x118786: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476== Invalid write of size 8
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    at 0x6E87636: memset (string3.h:90)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E87636: ma_clear_session_state (mariadb_lib.c:1908)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E8777D: mysql_close (mariadb_lib.c:1936)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1359D8: userdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x119C88: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==  Address 0x66e38c1 is 81 bytes inside a block of size 120 free'd
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    at 0x4C2CDDB: free (vg_replace_malloc.c:530)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E877FE: mysql_close (mariadb_lib.c:1947)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1318C1: passdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x119C68: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==  Block was alloc'd at
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    at 0x4C2DBC5: calloc (vg_replace_malloc.c:711)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E8250A: mysql_init (mariadb_lib.c:996)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6C60837: ??? (in /usr/lib/dovecot/modules/libdriver_mysql.so)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x146FE4: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x13D10C: db_sql_connect (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1348B0: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x131818: passdb_init (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1195D3: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x119AFC: auths_init (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x118786: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476== Invalid write of size 8
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    at 0x6E8764C: memset (string3.h:90)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E8764C: ma_clear_session_state (mariadb_lib.c:1908)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E8777D: mysql_close (mariadb_lib.c:1936)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1359D8: userdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x119C88: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==  Address 0x66e3880 is 16 bytes inside a block of size 120 free'd
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    at 0x4C2CDDB: free (vg_replace_malloc.c:530)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E877FE: mysql_close (mariadb_lib.c:1947)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x14768B: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x13D0B4: db_sql_unref (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1318C1: passdb_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x119C68: auths_deinit (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1187FF: main (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==  Block was alloc'd at
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    at 0x4C2DBC5: calloc (vg_replace_malloc.c:711)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6E8250A: mysql_init (mariadb_lib.c:996)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x6C60837: ??? (in /usr/lib/dovecot/modules/libdriver_mysql.so)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x146FE4: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x13D10C: db_sql_connect (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1348B0: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x131818: passdb_init (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x1195D3: ??? (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x119AFC: auths_init (in /usr/lib/dovecot/auth)
Dec  4 12:00:27 xxxxx dovecot: auth-worker: Error: ==2476==    by 0x118786: main (in /usr/lib/dovecot/auth)
…

Is this what you want ?

Thanks again ;)

Guillaume

> Le 3 déc. 2018 à 11:06, Timo Sirainen <tss at iki.fi> a écrit :
> 
> On 2 Dec 2018, at 22.22, Guillaume via dovecot <dovecot at dovecot.org> wrote:
>> 
>> I also have this kind of segfault since the update :
>> 
>> Dec  2 21:12:11 xxxxxxx dovecot: auth-worker: Error: *** Error in `dovecot/auth': double free or corruption (fasttop): 0x000055573bb99f70
> 
> Is this easy to reproduce? Can you try with valgrind? It will slow down the logins a bit though.
> 
> service auth-worker {
>  executable = /usr/bin/valgrind -q --vgdb=no /usr/lib/dovecot/auth -w
> }
> 
> At least one good thing about this crash is that it seems to happen only at deinit, so it's not impacting users.
> 



More information about the dovecot mailing list