Irina Boverman created PROTON-1562:
--------------------------------------
Summary: Executing ssl_client_cert example results in core on
centos distro
Key: PROTON-1562
URL: https://issues.apache.org/jira/browse/PROTON-1562
Project: Qpid Proton
Issue Type: Bug
Components: proton-c
Environment: centos/epel
Reporter: Irina Boverman
Fix For: 0.17.0
./ssl_client_cert amqps://localhost:8888/examples ssl_certs
Inbound server connection connected via SSL. Protocol: TLSv1/SSLv3
Segmentation fault (core dumped)
# gdb ssl_client_cert core.5473
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7
Copyright (C) 2013 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
/usr/share/proton-0.17.0/examples/cpp/ssl_client_cert...(no debugging symbols
found)...done.
[New LWP 864]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `./ssl_client_cert amqps://localhost:8888/examples
ssl_certs'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f4277974d8d in pn_class_decref (clazz=0x2e6690c35c415d5b,
object=0x7f4277982510 <pni_default_tracer>)
at /usr/src/debug/qpid-proton-0.17.0/proton-c/src/core/object/object.c:91
91 clazz->decref(object);
Missing separate debuginfos, use: debuginfo-install
cyrus-sasl-lib-2.1.26-20.el7_2.x86_64 glibc-2.17-157.el7_3.5.x86_64
keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.14.1-27.el7_3.x86_64
libcom_err-1.42.9-9.el7.x86_64 libdb-5.3.21-19.el7.x86_64
libgcc-4.8.5-11.el7.x86_64 libselinux-2.5-6.el7.x86_64
libstdc++-4.8.5-11.el7.x86_64 nss-softokn-freebl-3.16.2.3-14.4.el7.x86_64
openssl-libs-1.0.1e-60.el7_3.1.x86_64 pcre-8.32-15.el7_2.1.x86_64
zlib-1.2.7-17.el7.x86_64
-----------------
rpm -q qpid-proton-c
qpid-proton-c-0.17.0-4.el7.x86_64
How to reproduce it:
docker run -it centos:7 bash
# yum -y -q --nogpgcheck update
# yum -y -q --nogpgcheck install make cmake gcc gcc-c++ libstdc++-devel
rubygem-json wget procps-ng findutils python2-case python3-case python2-tornado
python3-tornado net-tools
# yum -y --nogpgcheck install epel-release
# yum -y --setopt tsflags= --nogpgcheck install qpid-proton-c-docs
qpid-proton-cpp-docs python-qpid-proton qpid-proton-c qpid-proton-c-devel
qpid-proton-cpp qpid-proton-cpp-devel
# proton_examples=$(find /usr/share -path "*proton*/examples")
# cd $proton_examples/cpp
# cmake .
# make
# ./ssl_client_cert amqps://localhost:8888/examples ssl_certs
#
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]