<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
This is fixed with
<a href="https://github.com/dovecot/core/commit/3c5101ffdd2a8115e03ed7180d53578765dea4c9.patch">https://github.com/dovecot/core/commit/3c5101ffdd2a8115e03ed7180d53578765dea4c9.patch</a>
</div>
<div>
<br>
</div>
<div>
Aki
</div>
<blockquote type="cite">
<div>
On 27 January 2019 at 10:58 Marcel Lorenz <
<a href="mailto:lorenz.marcel@web.de">lorenz.marcel@web.de</a>> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Hi,
</div>
<div>
<br>
</div>
<div>
Sorry fo my late answer. The hole disty are stripped. I must first
</div>
<div>
rebuild all with debug symbols.
</div>
<div>
Here comes the complete gdb backtrace:
</div>
<div>
<br>
</div>
<div>
(gdb) bt full
</div>
<div>
#0 0x00007f49738486f7 in raise () from /lib64/libc.so.6
</div>
<div>
No symbol table info available.
</div>
<div>
#1 0x00007f497384a091 in abort () from /lib64/libc.so.6
</div>
<div>
No symbol table info available.
</div>
<div>
#2 0x00007f497389220f in __libc_message () from /lib64/libc.so.6
</div>
<div>
No symbol table info available.
</div>
<div>
#3 0x00007f4973899b5a in malloc_printerr () from /lib64/libc.so.6
</div>
<div>
No symbol table info available.
</div>
<div>
#4 0x00007f497389fcb4 in free () from /lib64/libc.so.6
</div>
<div>
No symbol table info available.
</div>
<div>
#5 0x00007f4974e2c7bd in mysql_close (mysql=0x55c7d97dd860) at
</div>
<div>
/usr/src/mariadb-10.3.11/libmariadb/libmariadb/mariadb_lib.c:1939
</div>
<div>
No locals.
</div>
<div>
#6 0x000055c7d7b15f4c in driver_sqlpool_disconnect (_db=0x55c7d97dca10)
</div>
<div>
at driver-sqlpool.c:590
</div>
<div>
conn__foreach_end = 0x55c7d97dd010
</div>
<div>
db = 0x55c7d97dca10
</div>
<div>
conn = 0x55c7d97dd000
</div>
<div>
#7 0x000055c7d7b07cd5 in db_sql_unref (_conn=0x55c7d97d4678) at
</div>
<div>
db-sql.c:128
</div>
<div>
conn = 0x55c7d97dbe28
</div>
<div>
#8 0x000055c7d7afefa9 in userdb_deinit (userdb=0x55c7d97d4650) at
</div>
<div>
userdb.c:191
</div>
<div>
idx = 0
</div>
<div>
__func__ = "userdb_deinit"
</div>
<div>
#9 0x000055c7d7ae31a9 in auth_deinit (auth=0x55c7d97d4f40) at
</div>
<div>
auth.c:335
</div>
<div>
passdb = <optimized out>
</div>
<div>
userdb = 0x55c7d97d5068
</div>
<div>
passdb = <optimized out>
</div>
<div>
userdb = <optimized out>
</div>
<div>
#10 auths_deinit () at auth.c:433
</div>
<div>
auth__foreach_end = 0x55c7d97dbda0
</div>
<div>
auth = 0x55c7d97dbd98
</div>
<div>
#11 0x000055c7d7ae1d73 in main_deinit () at main.c:271
</div>
<div>
l = <optimized out>
</div>
<div>
l = <optimized out>
</div>
<div>
l_end = <optimized out>
</div>
<div>
#12 main (argc=<optimized out>, argv=<optimized out>) at main.c:398
</div>
<div>
c = <optimized out>
</div>
<div>
(gdb)
</div>
<div>
<br>
</div>
<div>
Hope it helps...
</div>
<div>
<br>
</div>
<div>
Regards,
</div>
<div>
Marcel
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Am 20.1.2019 12:51, schrieb Stephan Bosch:
</div>
<div>
<br>
</div>
<blockquote type="cite">
<div>
Op 16/01/2019 om 12:35 schreef Marcel Lorenz:
</div>
</blockquote>
<div>
>> Dear list,
</div>
<div>
>>
</div>
<div>
>> since the distri upgrade to glibc 2.28, i can't build working dovecot
</div>
<div>
>> binary's.
</div>
<div>
>> Older with glibc 2.27 are working. The distri is LFS based.
</div>
<div>
>> MariaDB 10.2.18 and 10.3.11 makes no difference. Having this on
</div>
<div>
>> different systems.
</div>
<div>
>>
</div>
<div>
>> Messages Log:
</div>
<div>
>> Dec 19 17:10:38 test kernel: traps: auth[30189] general protection
</div>
<div>
>> ip:7f4b96d6598c sp:7ffef1f31710 error:0 in
</div>
<div>
>> libmariadb.so.3[7f4b96d4e000+67000]
</div>
<div>
>> Dec 19 17:11:39 test kernel: auth[30299]: segfault at 560c57366c40 ip
</div>
<div>
>> 0000560c57366c40 sp 00007fffe5b51f18 error 15
</div>
<div>
>> Dec 19 17:12:39 test kernel: traps: auth[30346] general protection
</div>
<div>
>> ip:7f55601f298c sp:7ffe597929c0 error:0 in
</div>
<div>
>> libmariadb.so.3[7f55601db000+67000]
</div>
<div>
>> Dec 19 17:13:39 test kernel: traps: auth[30392] general protection
</div>
<div>
>> ip:7fcd2317298c sp:7ffecd6f4cb0 error:0 in
</div>
<div>
>> libmariadb.so.3[7fcd2315b000+67000]
</div>
<div>
>>
</div>
<div>
>> Dovecot log:
</div>
<div>
>> 2018-12-19 17:07:37 auth-worker: Fatal: master: service(auth-worker):
</div>
<div>
>> child 30053 killed with signal 11 (core dumped)
</div>
<div>
>> 2018-12-19 17:09:38 auth-worker: Error: double free or corruption
</div>
<div>
>> (fasttop)
</div>
<div>
>> 2018-12-19 17:09:38 auth-worker: Fatal: master: service(auth-worker):
</div>
<div>
>> child 30098 killed with signal 6 (core dumped)
</div>
<div>
>> 2018-12-19 17:10:38 auth-worker: Fatal: master: service(auth-worker):
</div>
<div>
>> child 30189 killed with signal 11 (core dumped)
</div>
<div>
>
</div>
<blockquote type="cite">
<div>
It says "core dumped". Can you obtain a gdb backtrace from those?
</div>
<div>
<a href="https://www.dovecot.org/bugreport.html" rel="noopener" target="_blank">https://www.dovecot.org/bugreport.html</a>
</div>
</blockquote>
<blockquote type="cite">
<div>
Regards,
</div>
</blockquote>
<blockquote type="cite">
<div>
Stephan.
</div>
</blockquote>
<div>
>> Output of dovecot -n:
</div>
<div>
>>
</div>
<div>
>> # 2.3.4 (0ecbaf23d): /etc/dovecot/dovecot.conf
</div>
<div>
>> # Pigeonhole version 0.5.4 (60b0f48d)
</div>
<div>
>> # OS: Linux 4.14.80 x86_64
</div>
<div>
>> # Hostname: test.testing.local
</div>
<div>
>> auth_mechanisms = plain login
</div>
<div>
>> auth_username_chars =
</div>
<div>
>> "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@+*#"
</div>
<div>
>> base_dir = /var/run/dovecot/
</div>
<div>
>> debug_log_path = /var/log/dovecot/debug.log
</div>
<div>
>> dict {
</div>
<div>
>> expire = mysql:/etc/dovecot/dovecot-dict-sql-expire.conf
</div>
<div>
>> sqldomainquota = mysql:/etc/dovecot/dovecot-dict-sql-domain.conf
</div>
<div>
>> sqluserquota = mysql:/etc/dovecot/dovecot-dict-sql-user.conf
</div>
<div>
>> }
</div>
<div>
>> info_log_path = /var/log/dovecot/info.log
</div>
<div>
>> lda_mailbox_autocreate = yes
</div>
<div>
>> lda_mailbox_autosubscribe = yes
</div>
<div>
>> listen = *
</div>
<div>
>> log_path = /var/log/dovecot/main.log
</div>
<div>
>> log_timestamp = "%Y-%m-%d %H:%M:%S "
</div>
<div>
>> login_greeting = dovecot ready
</div>
<div>
>> login_log_format = %s
</div>
<div>
>> login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e
</div>
<div>
>> %c %k
</div>
<div>
>> mail_location = mdbox:/var/vmail/%d/%n/
</div>
<div>
>> mail_max_userip_connections = 4
</div>
<div>
>> mail_plugins = " zlib quota expire acl fts fts_lucene"
</div>
<div>
>> mailbox_idle_check_interval = 1 mins
</div>
<div>
>> maildir_very_dirty_syncs = yes
</div>
<div>
>> managesieve_notify_capability = mailto
</div>
<div>
>> managesieve_sieve_capability = fileinto reject envelope
</div>
<div>
>> encoded-character vacation subaddress comparator-i;ascii-numeric
</div>
<div>
>> relational regex imap4flags copy include variables body enotify
</div>
<div>
>> environment mailbox date index ihave duplicate mime foreverypart
</div>
<div>
>> extracttext
</div>
<div>
>> namespace {
</div>
<div>
>> list = children
</div>
<div>
>> location = maildir:/var/vmail/%d/public:INDEXPVT=/var/vmail/%d/public
</div>
<div>
>> prefix = Public.
</div>
<div>
>> separator = .
</div>
<div>
>> subscriptions = no
</div>
<div>
>> type = public
</div>
<div>
>> }
</div>
<div>
>> namespace {
</div>
<div>
>> list = children
</div>
<div>
>> location =
</div>
<div>
>> maildir:/var/vmail/%d/%%u:CONTROL=/var/vmail/%d/shared/%%u:INDEX=/var/vmail/$
</div>
<div>
>> prefix = shared.%%n.
</div>
<div>
>> separator = .
</div>
<div>
>> subscriptions = yes
</div>
<div>
>> type = shared
</div>
<div>
>> }
</div>
<div>
>> namespace inbox {
</div>
<div>
>> inbox = yes
</div>
<div>
>> location =
</div>
<div>
>> mailbox Archive {
</div>
<div>
>> auto = subscribe
</div>
<div>
>> special_use = \Archive
</div>
<div>
>> }
</div>
<div>
>> mailbox Drafts {
</div>
<div>
>> auto = subscribe
</div>
<div>
>> special_use = \Drafts
</div>
<div>
>> }
</div>
<div>
>> mailbox Junk {
</div>
<div>
>> auto = subscribe
</div>
<div>
>> special_use = \Junk
</div>
<div>
>> }
</div>
<div>
>> mailbox Sent {
</div>
<div>
>> auto = subscribe
</div>
<div>
>> special_use = \Sent
</div>
<div>
>> }
</div>
<div>
>> mailbox Trash {
</div>
<div>
>> auto = subscribe
</div>
<div>
>> special_use = \Trash
</div>
<div>
>> }
</div>
<div>
>> prefix =
</div>
<div>
>> separator = .
</div>
<div>
>> }
</div>
<div>
>> passdb {
</div>
<div>
>> args = /etc/dovecot/dovecot-sql.conf
</div>
<div>
>> driver = sql
</div>
<div>
>> }
</div>
<div>
>> plugin {
</div>
<div>
>> acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes
</div>
<div>
>> al = vfile
</div>
<div>
>> expire = Trash
</div>
<div>
>> expire2 = Trash/*
</div>
<div>
>> expire3 = Spam
</div>
<div>
>> expire_cache = yes
</div>
<div>
>> expire_dict = proxy::expire
</div>
<div>
>> fts = lucene
</div>
<div>
>> fts_lucene =
<a href="mailto:whitespace_chars=@.-">whitespace_chars=@.-</a>+_*:/\"'
</div>
<div>
>> last_login_key = # hidden, use -P to show it
</div>
<div>
>> quota = dict:User Quota::proxy::sqluserquota
</div>
<div>
>> quota_exceeded_message = Quota exceeded
</div>
<div>
>> quota_grace = 10%%
</div>
<div>
>> quota_rule2 = Trash:storage=+15%%
</div>
<div>
>> quota_rule3 = Spam:ignore
</div>
<div>
>> quota_status_nouser = DUNNO
</div>
<div>
>> quota_status_overquota = 552 5.2.2 Mailbox is over quota / Postfach
</div>
<div>
>> ist voll
</div>
<div>
>> quota_status_success = DUNNO
</div>
<div>
>> quota_warning = storage=95%% quota-warning 95 %u
</div>
<div>
>> quota_warning2 = storage=80%% quota-warning 80 %u
</div>
<div>
>> sieve = /var/vmail/%d/%n/sieve/active-script.sieve
</div>
<div>
>> sieve_before = /var/vmail/sieve/spam-global.sieve
</div>
<div>
>> sieve_dir = /var/vmail/%d/%n/sieve/scripts/
</div>
<div>
>> sieve_global = /var/lib/dovecot/sieve/global/
</div>
<div>
>> sieve_max_actions = 32
</div>
<div>
>> sieve_max_redirects = 4
</div>
<div>
>> sieve_max_script_size = 1M
</div>
<div>
>> trash = /etc/dovecot/dovecot-trash.conf
</div>
<div>
>> zlib_save = gz
</div>
<div>
>> zlib_save_level = 6
</div>
<div>
>> }
</div>
<div>
>> postmaster_address =
<a href="mailto:postmaster@testing.local">postmaster@testing.local</a>
</div>
<div>
>> protocols = imap pop3 lmtp sieve
</div>
<div>
>> service auth-worker {
</div>
<div>
>> user = doveauth
</div>
<div>
>> }
</div>
<div>
>> service auth {
</div>
<div>
>> unix_listener /var/spool/postfix/private/auth {
</div>
<div>
>> group = postfix
</div>
<div>
>> mode = 0660
</div>
<div>
>> user = postfix
</div>
<div>
>> }
</div>
<div>
>> unix_listener auth-userdb {
</div>
<div>
>> mode = 0660
</div>
<div>
>> user = doveauth
</div>
<div>
>> }
</div>
<div>
>> }
</div>
<div>
>> service dict {
</div>
<div>
>> unix_listener dict {
</div>
<div>
>> mode = 0600
</div>
<div>
>> user = vmail
</div>
<div>
>> }
</div>
<div>
>> }
</div>
<div>
>> service imap-login {
</div>
<div>
>> inet_listener imap {
</div>
<div>
>> port = 143
</div>
<div>
>> }
</div>
<div>
>> inet_listener imaps {
</div>
<div>
>> port = 993
</div>
<div>
>> ssl = yes
</div>
<div>
>> }
</div>
<div>
>> process_min_avail = 0
</div>
<div>
>> }
</div>
<div>
>> service lmtp {
</div>
<div>
>> unix_listener /var/spool/postfix/private/dovecot-lmtp {
</div>
<div>
>> group = postfix
</div>
<div>
>> mode = 0660
</div>
<div>
>> user = postfix
</div>
<div>
>> }
</div>
<div>
>> }
</div>
<div>
>> service managesieve-login {
</div>
<div>
>> inet_listener sieve {
</div>
<div>
>> port = 4190
</div>
<div>
>> }
</div>
<div>
>> service_count = 1
</div>
<div>
>> }
</div>
<div>
>> service pop3-login {
</div>
<div>
>> inet_listener pop3 {
</div>
<div>
>> port = 110
</div>
<div>
>> }
</div>
<div>
>> inet_listener pop3s {
</div>
<div>
>> port = 995
</div>
<div>
>> ssl = yes
</div>
<div>
>> }
</div>
<div>
>> }
</div>
<div>
>> service quota-status {
</div>
<div>
>> client_limit = 1
</div>
<div>
>> executable = quota-status -p postfix
</div>
<div>
>> inet_listener {
</div>
<div>
>> port = 10022
</div>
<div>
>> }
</div>
<div>
>> }
</div>
<div>
>> service quota-warning {
</div>
<div>
>> executable = script /usr/local/bin/quota-warning.sh
</div>
<div>
>> user = vmail
</div>
<div>
>> }
</div>
<div>
>> ssl_alt_cert = </etc/ssl/certs/postfix-rsa.crt
</div>
<div>
>> ssl_alt_key = # hidden, use -P to show it
</div>
<div>
>> ssl_cert = </etc/ssl/certs/postfix-ecc.crt
</div>
<div>
>> ssl_dh = # hidden, use -P to show it
</div>
<div>
>> ssl_key = # hidden, use -P to show it
</div>
<div>
>> ssl_min_protocol = TLSv1.2
</div>
<div>
>> ssl_prefer_server_ciphers = yes
</div>
<div>
>> userdb {
</div>
<div>
>> args = /etc/dovecot/dovecot-sql.conf
</div>
<div>
>> driver = sql
</div>
<div>
>> }
</div>
<div>
>> verbose_proctitle = yes
</div>
<div>
>> protocol imap {
</div>
<div>
>> imap_logout_format = in=%i out=%o
</div>
<div>
>> imap_max_line_length = 64 k
</div>
<div>
>> mail_max_userip_connections = 10
</div>
<div>
>> mail_plugins = " zlib quota expire acl fts fts_lucene acl imap_acl
</div>
<div>
>> imap_quota mail_log last_login notify imap_zlib trash"
</div>
<div>
>> }
</div>
<div>
>> protocol pop3 {
</div>
<div>
>> mail_max_userip_connections = 4
</div>
<div>
>> mail_plugins = " zlib quota expire acl fts fts_lucene last_login
</div>
<div>
>> expire"
</div>
<div>
>> pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
</div>
<div>
>> pop3_enable_last = no
</div>
<div>
>> pop3_lock_session = no
</div>
<div>
>> pop3_logout_format = retr=%r/%b, del=%d/%m, size=%s
</div>
<div>
>> pop3_no_flag_updates = yes
</div>
<div>
>> pop3_reuse_xuidl = no
</div>
<div>
>> pop3_save_uidl = yes
</div>
<div>
>> pop3_uidl_format = %08Xu%08Xv
</div>
<div>
>> }
</div>
<div>
>> protocol lmtp {
</div>
<div>
>> mail_plugins = " zlib quota expire acl fts fts_lucene sieve"
</div>
<div>
>> postmaster_address =
<a href="mailto:postmaster@test.local">postmaster@test.local</a>
</div>
<div>
>> }
</div>
<div>
>> protocol lda {
</div>
<div>
>> auth_socket_path = /var/run/dovecot/auth-master
</div>
<div>
>> info_log_path = /var/log/dovecot/deliver.log
</div>
<div>
>> log_path = /var/log/dovecot/deliver.log
</div>
<div>
>> mail_fsync = optimized
</div>
<div>
>> mail_plugins = " zlib quota expire acl fts fts_lucene trash autocreate
</div>
<div>
>> sieve"
</div>
<div>
>> postmaster_address =
<a href="mailto:postmaster@testing.local">postmaster@testing.local</a>
</div>
<div>
>> quota_full_tempfail = yes
</div>
<div>
>> rejection_reason = Your message to <%t> with subject of <%s> was
</div>
<div>
>> automatically rejected:%n%r
</div>
<div>
>> rejection_subject = Mailbox Full: %s
</div>
<div>
>> }
</div>
<div>
>> protocol sieve {
</div>
<div>
>> mail_max_userip_connections = 10
</div>
<div>
>> managesieve_implementation_string = Dovecot Pigeonhole
</div>
<div>
>> managesieve_logout_format = bytes=%i/%o
</div>
<div>
>> managesieve_max_compile_errors = 5
</div>
<div>
>> managesieve_max_line_length = 65536
</div>
<div>
>> }
</div>
<div>
>>
</div>
<div>
>> Thanks in advance!
</div>
<div>
>> Marcel
</div>
</blockquote>
<div>
<br>
</div>
<div class="io-ox-signature">
---
<br>Aki Tuomi
</div>
</body>
</html>