<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>Thanks. We'll take a look at this.</div><div><br></div><div><br></div><div><br></div><div id="composer_signature"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">---<div>Aki Tuomi</div><div>Dovecot oy</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Original message --------</div><div>From: Tom Sommer <mail@tomsommer.dk> </div><div>Date: 05/07/2018 16:01 (GMT+01:00) </div><div>To: Aki Tuomi <aki.tuomi@dovecot.fi> </div><div>Cc: Dovecot <dovecot@dovecot.org> </div><div>Subject: Re: 2.3.2 director imap-login segfaults </div><div><br></div></div>
<p># gdb /usr/libexec/dovecot/imap-login ./core.34022<br>GNU gdb (GDB) Red Hat Enterprise Linux (7.2-92.el6)<br>Copyright (C) 2010 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "x86_64-redhat-linux-gnu".<br>For bug reporting instructions, please see:<br><http://www.gnu.org/software/gdb/bugs/>...<br>Reading symbols from /usr/libexec/dovecot/imap-login...Reading symbols from /usr/lib/debug/usr/libexec/dovecot/imap-login.debug...done.<br>done.<br>[New Thread 34022]<br>Reading symbols from /usr/lib64/dovecot/libdovecot-login.so.0...Reading symbols from /usr/lib/debug/usr/lib64/dovecot/libdovecot-login.so.0.0.0.debug...done.<br>done.<br>Loaded symbols for /usr/lib64/dovecot/libdovecot-login.so.0<br>Reading symbols from /usr/lib64/dovecot/libdovecot.so.0...Reading symbols from /usr/lib/debug/usr/lib64/dovecot/libdovecot.so.0.0.0.debug...done.<br>done.<br>Loaded symbols for /usr/lib64/dovecot/libdovecot.so.0<br>Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.<br>Loaded symbols for /lib64/libc.so.6<br>Reading symbols from /usr/lib64/libssl.so.10...(no debugging symbols found)...done.<br>Loaded symbols for /usr/lib64/libssl.so.10<br>Reading symbols from /usr/lib64/libcrypto.so.10...(no debugging symbols found)...done.<br>Loaded symbols for /usr/lib64/libcrypto.so.10<br>Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.<br>Loaded symbols for /lib64/librt.so.1<br>Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.<br>Loaded symbols for /lib64/libdl.so.2<br>Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.<br>Loaded symbols for /lib64/ld-linux-x86-64.so.2<br>Reading symbols from /lib64/libgssapi_krb5.so.2...(no debugging symbols found)...done.<br>Loaded symbols for /lib64/libgssapi_krb5.so.2<br>Reading symbols from /lib64/libkrb5.so.3...(no debugging symbols found)...done.<br>Loaded symbols for /lib64/libkrb5.so.3<br>Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols found)...done.<br>Loaded symbols for /lib64/libcom_err.so.2<br>Reading symbols from /lib64/libk5crypto.so.3...(no debugging symbols found)...done.<br>Loaded symbols for /lib64/libk5crypto.so.3<br>Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done.<br>Loaded symbols for /lib64/libz.so.1<br>Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.<br>[Thread debugging using libthread_db enabled]<br>Loaded symbols for /lib64/libpthread.so.0<br>Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols found)...done.<br>Loaded symbols for /lib64/libkrb5support.so.0<br>Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols found)...done.<br>Loaded symbols for /lib64/libkeyutils.so.1<br>Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.<br>Loaded symbols for /lib64/libresolv.so.2<br>Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done.<br>Loaded symbols for /lib64/libselinux.so.1<br>Reading symbols from /usr/lib64/dovecot/libssl_iostream_openssl.so...Reading symbols from /usr/lib/debug/usr/lib64/dovecot/libssl_iostream_openssl.so.debug...done.<br>done.<br>Loaded symbols for /usr/lib64/dovecot/libssl_iostream_openssl.so<br>Core was generated by `dovecot/imap-login [4 pre-lo'.<br>Program terminated with signal 11, Segmentation fault.<br>#0 i_stream_get_root_io (stream=0x0) at istream.c:919<br>919 while (stream->real_stream->parent != NULL) {<br>Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.209.el6_9.2.x86_64 keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-65.el6.x86_64 libcom_err-1.41.12-23.el6.x86_64 libselinux-2.0.94-7.el6.x86_64 openssl-1.0.1e-57.el6.x86_64 zlib-1.2.3-29.el6.x86_64<br>(gdb) bt full<br>#0 i_stream_get_root_io (stream=0x0) at istream.c:919<br> __func__ = "i_stream_get_root_io"<br>#1 0x00007f697d6249b5 in i_stream_set_input_pending (stream=<value optimized out>, pending=<value optimized out>) at istream.c:931<br>No locals.<br>#2 0x00007f697af80b35 in openssl_iostream_bio_input (ssl_io=0x7f6980852320, type=OPENSSL_IOSTREAM_SYNC_TYPE_WRITE) at iostream-openssl.c:500<br> data = 0x7f697d6784e0 ""<br> bytes = 17371<br> ret = <value optimized out><br> bytes_read = true<br> size = 0<br>#3 openssl_iostream_bio_sync (ssl_io=0x7f6980852320, type=OPENSSL_IOSTREAM_SYNC_TYPE_WRITE) at iostream-openssl.c:512<br> ret = true<br>#4 0x00007f697af8120a in openssl_iostream_more (ssl_io=0x7f6980852320, type=<value optimized out>) at iostream-openssl.c:526<br> ret = <value optimized out><br>#5 0x00007f697af81247 in openssl_iostream_destroy (ssl_io=0x7f6980852320) at iostream-openssl.c:354<br>No locals.<br>#6 0x00007f697d8cc862 in client_unref (_client=<value optimized out>) at client-common.c:365<br> client = 0x7f6982b5a840<br> __func__ = "client_unref"<br>#7 0x00007f697d8d0adc in login_proxy_free_full (_proxy=<value optimized out>, reason=0x7f697f6ae0a0 "Disconnected by server(0s idle, in=307, out=1038)", delayed=<value optimized out>) at login-proxy.c:529<br> proxy = 0x7f6983ff8990<br> client = 0x0<br> ipstr = <value optimized out><br> delay_ms = <value optimized out><br> __func__ = "login_proxy_free_full"<br>#8 0x00007f697d8d1aca in login_proxy_free_delayed (side=<value optimized out>, status=<value optimized out>, proxy=0x0) at login-proxy.c:541<br>No locals.<br>#9 login_proxy_free_errstr (side=<value optimized out>, status=<value optimized out>, proxy=0x0) at login-proxy.c:129<br> proxy = 0x7f6983ff8990<br> reason = 0x7f697f6ae068<br>#10 login_proxy_finished (side=<value optimized out>, status=<value optimized out>, proxy=0x0) at login-proxy.c:619<br> errstr = <value optimized out><br> server_side = true<br>#11 0x00007f697d62f6d5 in io_loop_call_io (io=0x7f6981019440) at ioloop.c:674<br> ioloop = 0x7f697f6b6d00<br> t_id = 2<br> __func__ = "io_loop_call_io"<br>#12 0x00007f697d6316af in io_loop_handler_run_internal (ioloop=<value optimized out>) at ioloop-epoll.c:222<br> ctx = 0x7f697f6e5de0<br> events = <value optimized out><br> event = 0x7f6982f5f4e0<br> list = 0x7f6980b980e0<br> io = <value optimized out><br> tv = {tv_sec = 0, tv_usec = 369635}<br> events_count = <value optimized out><br> msecs = <value optimized out><br> ret = 1<br> i = <value optimized out><br> call = <value optimized out><br> __func__ = "io_loop_handler_run_internal"<br>#13 0x00007f697d62f7c5 in io_loop_handler_run (ioloop=0x7f697f6b6d00) at ioloop.c:726<br> __func__ = "io_loop_handler_run"<br>#14 0x00007f697d62f9e8 in io_loop_run (ioloop=0x7f697f6b6d00) at ioloop.c:699<br> __func__ = "io_loop_run"<br>#15 0x00007f697d5ac963 in master_service_run (service=0x7f697f6b6b90, callback=<value optimized out>) at master-service.c:767<br>No locals.<br>#16 0x00007f697d8d31b3 in login_binary_run (binary=<value optimized out>, argc=2, argv=0x7f697f6b68a0) at main.c:549<br> set_pool = 0x7f697f6b7e80<br> login_socket = <value optimized out><br> c = <value optimized out><br>#17 0x00007f697d1d6d1d in __libc_start_main () from /lib64/libc.so.6<br>No symbol table info available.<br>#18 0x00007f697dd00599 in _start ()<br>No symbol table info available.</p>
<div>---<br>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Tom</div>
</div>
<p><br></p>
<p>On 2018-07-05 15:43, Aki Tuomi wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div>Can you install debuginfo and try again?</div>
<div> </div>
<div> </div>
<div> </div>
<div id="composer_signature">---
<div>Aki Tuomi</div>
<div>Dovecot oy</div>
</div>
<div> </div>
<div style="font-size: 100%; color: #000000;">
<div>-------- Original message --------</div>
<div>From: Tom Sommer <mail@tomsommer.dk></div>
<div>Date: 05/07/2018 14:12 (GMT+01:00)</div>
<div>To: Dovecot <dovecot@dovecot.org></div>
<div>Subject: 2.3.2 director imap-login segfaults</div>
<div> </div>
</div>
My director has started segfaulting since upgradeing to 2.3.2:<br><br># gdb /usr/libexec/dovecot/imap-login ./core.9757<br>GNU gdb (GDB) Red Hat Enterprise Linux (7.2-92.el6)<br>Copyright (C) 2010 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <br><http://gnu.org/licenses/gpl.html><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law. Type "show <br>copying"<br>and "show warranty" for details.<br>This GDB was configured as "x86_64-redhat-linux-gnu".<br>For bug reporting instructions, please see:<br><http://www.gnu.org/software/gdb/bugs/>...<br>Reading symbols from /usr/libexec/dovecot/imap-login...(no debugging <br>symbols found)...done.<br>[New Thread 9757]<br>Reading symbols from /usr/lib64/dovecot/libdovecot-login.so.0...(no <br>debugging symbols found)...done.<br>Loaded symbols for /usr/lib64/dovecot/libdovecot-login.so.0<br>Reading symbols from /usr/lib64/dovecot/libdovecot.so.0...(no debugging <br>symbols found)...done.<br>Loaded symbols for /usr/lib64/dovecot/libdovecot.so.0<br>Reading symbols from /lib64/libc.so.6...(no debugging symbols <br>found)...done.<br>Loaded symbols for /lib64/libc.so.6<br>Reading symbols from /usr/lib64/libssl.so.10...(no debugging symbols <br>found)...done.<br>Loaded symbols for /usr/lib64/libssl.so.10<br>Reading symbols from /usr/lib64/libcrypto.so.10...(no debugging symbols <br>found)...done.<br>Loaded symbols for /usr/lib64/libcrypto.so.10<br>Reading symbols from /lib64/librt.so.1...(no debugging symbols <br>found)...done.<br>Loaded symbols for /lib64/librt.so.1<br>Reading symbols from /lib64/libdl.so.2...(no debugging symbols <br>found)...done.<br>Loaded symbols for /lib64/libdl.so.2<br>Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols <br>found)...done.<br>Loaded symbols for /lib64/ld-linux-x86-64.so.2<br>Reading symbols from /lib64/libgssapi_krb5.so.2...(no debugging symbols <br>found)...done.<br>Loaded symbols for /lib64/libgssapi_krb5.so.2<br>Reading symbols from /lib64/libkrb5.so.3...(no debugging symbols <br>found)...done.<br>Loaded symbols for /lib64/libkrb5.so.3<br>Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols <br>found)...done.<br>Loaded symbols for /lib64/libcom_err.so.2<br>Reading symbols from /lib64/libk5crypto.so.3...(no debugging symbols <br>found)...done.<br>Loaded symbols for /lib64/libk5crypto.so.3<br>Reading symbols from /lib64/libz.so.1...(no debugging symbols <br>found)...done.<br>Loaded symbols for /lib64/libz.so.1<br>Reading symbols from /lib64/libpthread.so.0...(no debugging symbols <br>found)...done.<br>[Thread debugging using libthread_db enabled]<br>Loaded symbols for /lib64/libpthread.so.0<br>Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols <br>found)...done.<br>Loaded symbols for /lib64/libkrb5support.so.0<br>Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols <br>found)...done.<br>Loaded symbols for /lib64/libkeyutils.so.1<br>Reading symbols from /lib64/libresolv.so.2...(no debugging symbols <br>found)...done.<br>Loaded symbols for /lib64/libresolv.so.2<br>Reading symbols from /lib64/libselinux.so.1...(no debugging symbols <br>found)...done.<br>Loaded symbols for /lib64/libselinux.so.1<br>Reading symbols from /usr/lib64/dovecot/libssl_iostream_openssl.so...(no <br>debugging symbols found)...done.<br>Loaded symbols for /usr/lib64/dovecot/libssl_iostream_openssl.so<br>Core was generated by `dovecot/imap-login [26 pre-l'.<br>Program terminated with signal 11, Segmentation fault.<br>#0 0x00007fa19b3ec6ed in i_stream_get_root_io () from <br>/usr/lib64/dovecot/libdovecot.so.0<br>Missing separate debuginfos, use: debuginfo-install <br>dovecot-2.3.2-3.x86_64<br>(gdb) bt full<br>#0 0x00007fa19b3ec6ed in i_stream_get_root_io () from <br>/usr/lib64/dovecot/libdovecot.so.0<br>No symbol table info available.<br>#1 0x00007fa19b3ec9b5 in i_stream_set_input_pending () from <br>/usr/lib64/dovecot/libdovecot.so.0<br>No symbol table info available.<br>#2 0x00007fa198d48b35 in openssl_iostream_bio_sync () from <br>/usr/lib64/dovecot/libssl_iostream_openssl.so<br>No symbol table info available.<br>#3 0x00007fa198d4920a in openssl_iostream_more () from <br>/usr/lib64/dovecot/libssl_iostream_openssl.so<br>No symbol table info available.<br>#4 0x00007fa198d49247 in ?? () from <br>/usr/lib64/dovecot/libssl_iostream_openssl.so<br>No symbol table info available.<br>#5 0x00007fa19b694862 in client_unref () from <br>/usr/lib64/dovecot/libdovecot-login.so.0<br>No symbol table info available.<br>#6 0x00007fa19b698adc in ?? () from <br>/usr/lib64/dovecot/libdovecot-login.so.0<br>No symbol table info available.<br>#7 0x00007fa19b699aca in ?? () from <br>/usr/lib64/dovecot/libdovecot-login.so.0<br>No symbol table info available.<br>#8 0x00007fa19b3f76d5 in io_loop_call_io () from <br>/usr/lib64/dovecot/libdovecot.so.0<br>No symbol table info available.<br>#9 0x00007fa19b3f96af in io_loop_handler_run_internal () from <br>/usr/lib64/dovecot/libdovecot.so.0<br>No symbol table info available.<br>#10 0x00007fa19b3f77c5 in io_loop_handler_run () from <br>/usr/lib64/dovecot/libdovecot.so.0<br>No symbol table info available.<br>#11 0x00007fa19b3f79e8 in io_loop_run () from <br>/usr/lib64/dovecot/libdovecot.so.0<br>No symbol table info available.<br>#12 0x00007fa19b374963 in master_service_run () from <br>/usr/lib64/dovecot/libdovecot.so.0<br>No symbol table info available.<br>#13 0x00007fa19b69b1b3 in login_binary_run () from <br>/usr/lib64/dovecot/libdovecot-login.so.0<br>No symbol table info available.<br>#14 0x00007fa19af9ed1d in __libc_start_main () from /lib64/libc.so.6<br>No symbol table info available.<br>#15 0x00007fa19bac8599 in _start ()<br>No symbol table info available.<br><br><br>-- <br>Tom</blockquote>
</body></html>