Hello,

  I recently upgraded from HAProxy 1.5.4 to HAProxy 1.5.11, which included an 
upgrade from OpenSSL 1.0.1i to 1.0.2a, and my load balancers have since been 
crashing 1-2 times a day.  I was able to follow the steps outlined here (  
http://permalink.gmane.org/gmane.comp.web.haproxy/7992 ) and get a dump:


[root@lb1b ~]# gdb
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-64.el6_5.2)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) attach 18848
Attaching to process 18848
Reading symbols from /opt/haproxy/embedded/sbin/haproxy...done.
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /opt/haproxy/embedded/lib/libz.so.1...(no debugging 
symbols found)...done.
Loaded symbols for /opt/haproxy/embedded/lib/libz.so.1
Reading symbols from /opt/haproxy/embedded/lib/libssl.so.1.0.0...(no debugging 
symbols found)...done.
Loaded symbols for /opt/haproxy/embedded/lib/libssl.so.1.0.0
Reading symbols from /opt/haproxy/embedded/lib/libcrypto.so.1.0.0...(no 
debugging symbols found)...done.
Loaded symbols for /opt/haproxy/embedded/lib/libcrypto.so.1.0.0
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libfreebl3.so...(no debugging symbols found)...done.
Loaded symbols for /lib64/libfreebl3.so
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /lib64/libnss_dns.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/libnss_dns.so.2
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/libresolv.so.2
0x00007ffaf3ab1ed3 in __epoll_wait_nocancel () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install haproxy-1.5.11-1.el6.x86_64
(gdb) cont
Continuing.

Program received signal SIGPIPE, Broken pipe.
0x00007ffaf3aa4520 in __write_nocancel () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffaf3aa4520 in __write_nocancel () from /lib64/libc.so.6
#1  0x00007ffaf3e5fe85 in sock_write ()
   from /opt/haproxy/embedded/lib/libcrypto.so.1.0.0
#2  0x00007ffaf3e5df37 in BIO_write ()
   from /opt/haproxy/embedded/lib/libcrypto.so.1.0.0
#3  0x00007ffaf41bdcf4 in ssl3_write_pending ()
   from /opt/haproxy/embedded/lib/libssl.so.1.0.0
#4  0x00007ffaf41be674 in ssl3_write_bytes ()
   from /opt/haproxy/embedded/lib/libssl.so.1.0.0
#5  0x000000000047634e in ssl_sock_from_buf (conn=0x185c4b0, buf=0x197a2b0,
    flags=<value optimized out>) at src/ssl_sock.c:2507
#6  0x00000000004502ef in si_conn_send (conn=0x185c4b0)
    at src/stream_interface.c:703
#7  0x000000000043588d in conn_fd_handler (fd=<value optimized out>)
    at src/connection.c:110
#8  0x0000000000412b24 in fd_process_cached_events () at src/fd.c:227
#9  0x0000000000405dc6 in run_poll_loop () at src/haproxy.c:1312
#10 0x000000000040827c in main (argc=<value optimized out>,
    argv=<value optimized out>) at src/haproxy.c:1638
(gdb) quit
A debugging session is active.

        Inferior 1 [process 18848] will be detached.


Any idea whats going on ?  I have had to roll back to 1.5.4 in the meantime.

-- 
John Dyer
Sent with Airmail

Reply via email to