Skip to content

Instantly share code, notes, and snippets.

@toni-moreno
Last active August 29, 2015 14:11
Show Gist options
  • Save toni-moreno/5a30930fe7361afefa1b to your computer and use it in GitHub Desktop.
Save toni-moreno/5a30930fe7361afefa1b to your computer and use it in GitHub Desktop.
collectd_apache_ssl_bug
# gdb /opt/collectd/sbin/collectd ./core.apache.16Dec2014
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-45.el5)
Copyright (C) 2009 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/>...
Reading symbols from /opt/collectd/sbin/collectd...done.
[New Thread 25374]
[New Thread 25394]
[New Thread 25392]
[New Thread 25391]
[New Thread 25388]
[New Thread 25378]
[New Thread 25377]
[New Thread 25376]
[New Thread 25375]
[New Thread 25373]
[New Thread 25372]
[New Thread 25370]
[New Thread 25369]
[New Thread 25368]
[New Thread 25367]
[New Thread 25366]
[New Thread 25365]
[New Thread 25364]
[New Thread 25363]
[New Thread 25362]
[New Thread 25361]
[New Thread 25360]
[New Thread 25359]
warning: .dynamic section for "/lib64/libm.so.6" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib64/librt.so.1" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib64/libpthread.so.0" is not at the expected address (wrong library or version mi smatch?)
warning: .dynamic section for "/lib64/libdl.so.2" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib64/libc.so.6" is not at the expected address (wrong library or version mismatch ?)
warning: .dynamic section for "/lib64/ld-linux-x86-64.so.2" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib64/libssl.so.6" is not at the expected address (wrong library or version mismat ch?)
warning: .dynamic section for "/lib64/libcrypto.so.6" is not at the expected address (wrong library or version mis match?)
warning: .dynamic section for "/lib64/libz.so.1" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib64/libgssapi_krb5.so.2" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib64/libkrb5.so.3" is not at the expected address (wrong library or version m ismatch?)
warning: .dynamic section for "/lib64/libcom_err.so.2" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib64/libk5crypto.so.3" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib64/libkrb5support.so.0" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib64/libkeyutils.so.1" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib64/libresolv.so.2" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib64/libselinux.so.1" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib64/libsepol.so.1" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/opt/collectd/lib/collectd/write_graphite.so" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/lib64/libnss_dns.so.2" is not at the expected address (wrong library or version mi smatch?)
warning: .dynamic section for "/lib64/libgcc_s.so.1" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
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 /opt/collectd/lib/collectd/logfile.so...done.
Loaded symbols for /opt/collectd/lib/collectd/logfile.so
Reading symbols from /opt/collectd/lib/collectd/unixsock.so...done.
Loaded symbols for /opt/collectd/lib/collectd/unixsock.so
Reading symbols from /opt/collectd/lib/collectd/apache.so...done.
Loaded symbols for /opt/collectd/lib/collectd/apache.so
Reading symbols from /opt/collectd/lib/libcurl.so.4...(no debugging symbols found)...done.
Loaded symbols for /opt/collectd/lib/libcurl.so.4
Reading symbols from /lib64/libssl.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libssl.so.6
Reading symbols from /lib64/libcrypto.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypto.so.6
Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /usr/lib64/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libgssapi_krb5.so.2
Reading symbols from /usr/lib64/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libkrb5.so.3
Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /usr/lib64/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libk5crypto.so.3
Reading symbols from /usr/lib64/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libsepol.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libsepol.so.1
Reading symbols from /opt/collectd/lib/collectd/apachelog.so...done.
Loaded symbols for /opt/collectd/lib/collectd/apachelog.so
Reading symbols from /opt/collectd/lib/collectd/cpu.so...done.
Loaded symbols for /opt/collectd/lib/collectd/cpu.so
Reading symbols from /opt/collectd/lib/collectd/df.so...done.
Loaded symbols for /opt/collectd/lib/collectd/df.so
Reading symbols from /opt/collectd/lib/collectd/disk.so...done.
Loaded symbols for /opt/collectd/lib/collectd/disk.so
Reading symbols from /opt/collectd/lib/collectd/interface.so...done.
Loaded symbols for /opt/collectd/lib/collectd/interface.so
Reading symbols from /opt/collectd/lib/collectd/memory.so...done.
Loaded symbols for /opt/collectd/lib/collectd/memory.so
Reading symbols from /opt/collectd/lib/collectd/ping.so...done.
Loaded symbols for /opt/collectd/lib/collectd/ping.so
Reading symbols from /opt/collectd/lib/liboping.so.0...done.
Loaded symbols for /opt/collectd/lib/liboping.so.0
Reading symbols from /opt/collectd/lib/collectd/processes.so...done.
Loaded symbols for /opt/collectd/lib/collectd/processes.so
Reading symbols from /opt/collectd/lib/collectd/swap.so...done.
Loaded symbols for /opt/collectd/lib/collectd/swap.so
Reading symbols from /opt/collectd/lib/collectd/write_graphite.so...done.
Loaded symbols for /opt/collectd/lib/collectd/write_graphite.so
Reading symbols from /opt/collectd/lib/collectd/match_regex.so...done.
Loaded symbols for /opt/collectd/lib/collectd/match_regex.so
Reading symbols from /opt/collectd/lib/collectd/target_replace.so...done.
Loaded symbols for /opt/collectd/lib/collectd/target_replace.so
Reading symbols from /opt/collectd/lib/collectd/target_scale.so...done.
Loaded symbols for /opt/collectd/lib/collectd/target_scale.so
Reading symbols from /opt/collectd/lib/collectd/target_set.so...done.
Loaded symbols for /opt/collectd/lib/collectd/target_set.so
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/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libgcc_s.so.1
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fffbc3fd000
Core was generated by `/opt/collectd/sbin/collectd -C /opt/collectd/etc/collectd.conf'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000308907c39b in ?? ()
(gdb)
(gdb) backtrace
#0 0x000000308907c39b in ?? ()
#1 0x000000308e8de7ee in ?? ()
#2 0x0000000000000401 in ?? ()
#3 0x0000000000000401 in ?? ()
#4 0x000000000000000a in ?? ()
#5 0x0000000000000008 in ?? ()
#6 0x000000308eb50120 in ?? ()
#7 0x000000308e8db439 in ?? ()
#8 0x00000000492a6a90 in ?? ()
#9 0x0000000000000000 in ?? ()
[2014-12-15 16:16:24] [info] Initialization complete, entering read-loop.
[2014-12-15 16:53:24] [error] apache: curl_easy_perform failed: Unknown SSL protocol error in connection to <host>:443
[2014-12-15 16:53:24] [notice] read-function of plugin `apache//XXXXXX0603' failed. Will suspend it for 120.000 seconds.
[2014-12-15 17:21:24] [error] apache: curl_easy_perform failed: error:0906D06C:PEM routines:PEM_read_bio:no start line
[2014-12-15 17:21:24] [notice] read-function of plugin `apache//XXXXXX0602' failed. Will suspend it for 120.000 seconds.
[2014-12-15 18:09:24] [error] apache: curl_easy_perform failed: error:0906D06C:PEM routines:PEM_read_bio:no start line
[2014-12-15 18:09:24] [notice] read-function of plugin `apache//XXXXXX0601' failed. Will suspend it for 120.000 seconds.
[2014-12-15 18:46:24] [error] apache: curl_easy_perform failed: error:0906D06C:PEM routines:PEM_read_bio:no start line
[2014-12-15 18:46:24] [notice] read-function of plugin `apache//XXXXXX0602' failed. Will suspend it for 120.000 seconds.
[2014-12-15 19:03:24] [error] apache: curl_easy_perform failed: error:0906D06C:PEM routines:PEM_read_bio:no start line
[2014-12-15 19:03:24] [notice] read-function of plugin `apache//XXXXXX0601' failed. Will suspend it for 120.000 seconds.
[2014-12-15 19:04:24] [error] apache: curl_easy_perform failed: error:0906D06C:PEM routines:PEM_read_bio:no start line
[2014-12-15 19:04:24] [notice] read-function of plugin `apache//XXXXXX0602' failed. Will suspend it for 120.000 seconds.
[2014-12-15 20:05:24] [error] apache: curl_easy_perform failed: error:0B084009:x509 certificate routines:X509_load_cert_crl_file:PEM lib
[2014-12-15 20:05:24] [notice] read-function of plugin `apache//XXXXXX0604' failed. Will suspend it for 120.000 seconds.
[2014-12-15 20:19:24] [error] apache: curl_easy_perform failed: error:0906D06C:PEM routines:PEM_read_bio:no start line
[2014-12-15 20:19:24] [notice] read-function of plugin `apache//XXXXXX0601' failed. Will suspend it for 120.000 seconds.
[2014-12-15 20:38:24] [error] apache: curl_easy_perform failed: error:0B084009:x509 certificate routines:X509_load_cert_crl_file:PEM lib
[2014-12-15 20:38:24] [notice] read-function of plugin `apache//XXXXXX0601' failed. Will suspend it for 120.000 seconds.
[2014-12-15 21:26:24] [error] apache: curl_easy_perform failed: Unknown SSL protocol error in connection to <host>:443
[2014-12-15 21:26:24] [notice] read-function of plugin `apache//XXXXXX0604' failed. Will suspend it for 120.000 seconds.
[2014-12-15 22:26:24] [error] apache: curl_easy_perform failed: error:0906D06C:PEM routines:PEM_read_bio:no start line
[2014-12-15 22:26:24] [notice] read-function of plugin `apache//XXXXXX0601' failed. Will suspend it for 120.000 seconds.
[2014-12-15 23:26:24] [error] apache: curl_easy_perform failed: Unknown SSL protocol error in connection to <host>:446
[2014-12-15 23:26:24] [notice] read-function of plugin `apache//XXXXXX0601' failed. Will suspend it for 120.000 seconds.
[2014-12-15 23:39:24] [error] apache: curl_easy_perform failed: error:0B084009:x509 certificate routines:X509_load_cert_crl_file:PEM lib
[2014-12-15 23:39:24] [notice] read-function of plugin `apache//XXXXXX0601' failed. Will suspend it for 120.000 seconds.
[2014-12-15 23:41:24] [error] apache: curl_easy_perform failed: error:0B084009:x509 certificate routines:X509_load_cert_crl_file:PEM lib
[2014-12-15 23:41:24] [notice] read-function of plugin `apache//XXXXXX0602' failed. Will suspend it for 120.000 seconds.
[2014-12-15 23:49:24] [error] apache: curl_easy_perform failed: error:0906D06C:PEM routines:PEM_read_bio:no start line
[2014-12-15 23:49:24] [notice] read-function of plugin `apache//XXXXXX0601' failed. Will suspend it for 120.000 seconds.
[2014-12-15 23:50:24] [error] apache: curl_easy_perform failed: Unknown SSL protocol error in connection to <host>:445
[2014-12-15 23:50:24] [notice] read-function of plugin `apache//XXXXXX0602' failed. Will suspend it for 120.000 seconds.
[2014-12-15 23:53:24] [error] apache: curl_easy_perform failed: Failed to connect to <host> port 543: Connection refused
[2014-12-15 23:53:24] [notice] read-function of plugin `apache//XXXXXX0602' failed. Will suspend it for 120.000 seconds.
[2014-12-15 23:54:24] [error] apache: curl_easy_perform failed: Failed to connect to <host> port 443: Connection refused
[2014-12-15 23:54:24] [notice] read-function of plugin `apache//XXXXXX0602' failed. Will suspend it for 120.000 seconds.
[2014-12-15 23:55:24] [error] apache: curl_easy_perform failed: Failed to connect to <host> port 446: Connection refused
[2014-12-15 23:55:24] [notice] read-function of plugin `apache//XXXXXX0602' failed. Will suspend it for 120.000 seconds.
[2014-12-16 01:03:24] [error] apache: curl_easy_perform failed: error:0B084009:x509 certificate routines:X509_load_cert_crl_file:PEM lib
[2014-12-16 01:03:24] [notice] read-function of plugin `apache//XXXXXX0601' failed. Will suspend it for 120.000 seconds.
[2014-12-16 01:15:24] [error] apache: curl_easy_perform failed: error:0906D06C:PEM routines:PEM_read_bio:no start line
[2014-12-16 01:15:24] [notice] read-function of plugin `apache//XXXXXX0604' failed. Will suspend it for 120.000 seconds.
[2014-12-16 01:45:24] [error] apache: curl_easy_perform failed: error:0906D06C:PEM routines:PEM_read_bio:no start line
[2014-12-16 01:45:24] [notice] read-function of plugin `apache//XXXXXX0601' failed. Will suspend it for 120.000 seconds.
[2014-12-16 02:13:24] [error] apache: curl_easy_perform failed: error:0B084009:x509 certificate routines:X509_load_cert_crl_file:PEM lib
[2014-12-16 02:13:24] [notice] read-function of plugin `apache//XXXXXX0602' failed. Will suspend it for 120.000 seconds.
[2014-12-16 02:21:24] [error] apache: curl_easy_perform failed: error:0906D06C:PEM routines:PEM_read_bio:no start line
[2014-12-16 02:21:24] [notice] read-function of plugin `apache//XXXXXX0604' failed. Will suspend it for 120.000 seconds.
[2014-12-16 02:43:24] [error] apache: curl_easy_perform failed: error:0906D06C:PEM routines:PEM_read_bio:no start line
[2014-12-16 02:43:24] [notice] read-function of plugin `apache//XXXXXX0604' failed. Will suspend it for 120.000 seconds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment