Viktor, thank you for your help! Postfix version - postfix-2.10.1,1 Openssl version - openssl-1.0.1_8 FreeBSD version - FreeBSD 9.2-STABLE #1 r256306:
Log and backtrace: GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Attaching to program: /usr/local/libexec/postfix/smtp, process 71657 Reading symbols from /usr/local/lib/libpcre.so.3...done. Loaded symbols for /usr/local/lib/libpcre.so.3 Reading symbols from /usr/local/lib/libssl.so.8...done. Loaded symbols for /usr/local/lib/libssl.so.8 Reading symbols from /usr/local/lib/libcrypto.so.8...done. Loaded symbols for /usr/local/lib/libcrypto.so.8 Reading symbols from /usr/local/lib/libspf2.so.3...done. Loaded symbols for /usr/local/lib/libspf2.so.3 Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.18...done. Loaded symbols for /usr/local/lib/mysql/libmysqlclient.so.18 Reading symbols from /lib/libz.so.6...done. Loaded symbols for /lib/libz.so.6 Reading symbols from /lib/libcrypt.so.5...done. Loaded symbols for /lib/libcrypt.so.5 Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /lib/libthr.so.3...done. [New Thread 803007400 (LWP 100668/smtp)] Loaded symbols for /lib/libthr.so.3 Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /usr/lib/libsupc++.so.1...done. Loaded symbols for /usr/lib/libsupc++.so.1 Reading symbols from /usr/local/lib/nss_mysql.so.1...done. Loaded symbols for /usr/local/lib/nss_mysql.so.1 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 [Switching to Thread 803007400 (LWP 100668/smtp)] 0x000000080202743a in wait4 () from /lib/libc.so.7 (gdb) Continuing. Program received signal SIGSEGV, Segmentation fault. 0x000000080195a812 in deflateSetDictionary () from /lib/libz.so.6 (gdb) #0 0x000000080195a812 in deflateSetDictionary () from /lib/libz.so.6 #1 0x000000080195cc75 in deflateCopy () from /lib/libz.so.6 #2 0x000000080195bb6e in deflate () from /lib/libz.so.6 #3 0x0000000800ecd4ce in zlib_stateful_compress_block ( ctx=<value optimized out>, out=0x803276008 "x\234", olen=17408, in=0x803225000 "\024", ilen=16) at c_zlib.c:207 #4 0x0000000800ecc732 in COMP_compress_block (ctx=0x803017c40, out=<value optimized out>, olen=<value optimized out>, in=<value optimized out>, ilen=16) at comp_lib.c:46 #5 0x0000000800b2a3ce in ssl3_do_compress (ssl=<value optimized out>) at s3_pkt.c:564 #6 0x0000000800b2a594 in do_ssl3_write (s=0x803008000, type=22, buf=0x803225000 "\024", len=16, create_empty_fragment=0) at s3_pkt.c:790 #7 0x0000000800b2ab75 in ssl3_write_bytes (s=0x803008000, type=22, buf_=0x803225000, len=<value optimized out>) at s3_pkt.c:609 #8 0x0000000800b2ca5d in ssl3_do_write (s=0x803008000, type=22) at s3_both.c:132 #9 0x0000000800b26689 in ssl3_connect (s=0x803008000) at s3_clnt.c:508 #10 0x0000000000415838 in tls_bio (fd=16, timeout=300, TLScontext=0x80301bb50, hsfunc=0x4059b4 <SSL_connect@plt>, rfunc=0, wfunc=0, buf=0x0, num=0) at tls_bio_ops.c:198 #11 0x0000000000414ccf in tls_client_start (props=0x7fffffffc930) at tls_client.c:952 #12 0x00000000004092af in smtp_start_tls (state=0x80301b550) at smtp_proto.c:791 #13 0x0000000000408f2d in smtp_helo (state=0x80301b550) at smtp_proto.c:678 #14 0x0000000000407d1f in smtp_connect_inet (state=0x80301b550, nexthop=0x8030347b0 "ngs.ru", def_service=0x45d616 "smtp") at smtp_connect.c:908 #15 0x00000000004080df in smtp_connect (state=0x80301b550) at smtp_connect.c:1063 #16 0x0000000000405e41 in deliver_message (service=0x7fffffffdef0 "smtp", request=0x803078510) at smtp.c:925 #17 0x0000000000405eb7 in smtp_service (client_stream=0x803021a90, service=0x7fffffffdef0 "smtp", argv=0x7fffffffdd40) at smtp.c:957 #18 0x000000000041227a in single_server_wakeup (fd=14, attr=0x0) at single_server.c:278 #19 0x0000000000412407 in single_server_accept_local (unused_event=1, context=0x6 <Error reading address 0x6: Bad address>) at single_server.c:324 #20 0x000000000044578f in event_loop (delay=-1) at events.c:1182 #21 0x0000000000413611 in single_server_main (argc=7, argv=0x7fffffffdd08, service=0x405e60 <smtp_service>) at single_server.c:772 #22 0x0000000000406516 in main (argc=) at smtp.c:1202 (gdb) Tried also posttls-finger from postfix 2.11. Program exited normally.