Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1562

Executing ssl_client_cert example results in core on centos distro

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: proton-c-0.18.0
    • Component/s: proton-c
    • Labels:
      None
    • Environment:
      centos/epel

      Description

      ./ssl_client_cert amqps://localhost:8888/examples ssl_certs
      Inbound server connection connected via SSL. Protocol: TLSv1/SSLv3
      Segmentation fault (core dumped)

      1. 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

      1. yum -y -q --nogpgcheck update
      2. 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
      3. yum -y --nogpgcheck install epel-release
      4. 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
      5. proton_examples=$(find /usr/share -path "proton/examples")
      6. cd $proton_examples/cpp
      7. cmake .
      8. make
      9. ./ssl_client_cert amqps://localhost:8888/examples ssl_certs

        Attachments

          Activity

            People

            • Assignee:
              jross Justin Ross
              Reporter:
              iboverma Irina Boverman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: