[stunnel-users] segfault with v5.55
Mark Brookes
mark at loadbalancer.org
Mon Sep 30 14:32:23 CEST 2019
We are currently experiencing a segfault with version 5.55 openssl
version 1.1.0k and are trying to narrow down what the issue may be.
The first 2 segfaults are about 10 mins apart. The below is from the
stunnel log just before and then after the event.
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Remove session callback
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Deallocating application
specific data for session connect address
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Remove session callback
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Deallocating application
specific data for session connect address
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Remove session callback
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Deallocating application
specific data for session connect address
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Remove session callback
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Deallocating application
specific data for session connect address
Sep 23 11:47:31 xxxx stunnel: LOG7[77582]: TLS state (accept):
SSLv3/TLS write finished
Sep 23 11:47:31 xxxx stunnel: LOG7[77582]: TLS state (accept):
SSLv3/TLS read change cipher spec
Sep 23 11:47:31 xxxx stunnel: LOG7[77582]: TLS state (accept):
SSLv3/TLS read finished
Sep 23 11:47:31 xxxx stunnel: LOG7[77580]: TLS state (accept):
SSLv3/TLS write finished
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Remove session callback
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Deallocating application
specific data for session connect address
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Remove session callback
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Deallocating application
specific data for session connect address
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Remove session callback
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Deallocating application
specific data for session connect address
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Remove session callback
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Deallocating application
specific data for session connect address
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Remove session callback
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Deallocating application
specific data for session connect address
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Remove session callback
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Deallocating application
specific data for session connect address
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Remove session callback
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Deallocating application
specific data for session connect address
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Remove session callback
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Deallocating application
specific data for session connect address
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Remove session callback
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Deallocating application
specific data for session connect address
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Remove session callback
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Deallocating application
specific data for session connect address
Sep 23 11:47:31 xxxx stunnel: LOG7[77581]: Remove session callback
Sep 23 11:52:58 xxxx stunnel: LOG7[ui]: Clients allowed=62937
Sep 23 11:52:58 xxxx stunnel: LOG5[ui]: stunnel 5.55 on
x86_64-pc-linux-gnu platform
Sep 23 11:52:58 xxxx stunnel: LOG5[ui]: Compiled/running with OpenSSL
1.1.0k 28 May 2019
Sep 23 11:52:58 xxxx stunnel: LOG5[ui]: Threading:PTHREAD
Sockets:POLL,IPv6 TLS:ENGINE,OCSP,PSK,SNI
Sep 23 11:52:58 xxxx stunnel: LOG7[ui]: errno: (*__errno_location ())
The following is from the kernel log.
stunnel[31253]: segfault at 0 ip 00007f91214cacea sp 00007f91205ea9f8
error 6 in libpthread-2.12.so[7f91214c0000+17000]
The kernel log after the second segfault-
stunnel[1868]: segfault at 0 ip 00007f5b35398cea sp 00007f5b344c59f8
error 6 in libpthread-2.12.so[7f5b3538e000+17000]
This is all the information we have at the moment.
--
Mark Brookes
Loadbalancer.org Ltd.
www.loadbalancer.org
+44 (0)330 380 1064
mark at loadbalancer.org
More information about the stunnel-users
mailing list