Otavio Rodolfo Piske created PROTON-1026:
--------------------------------------------

             Summary: Invalid queue/destination causes a segmentation fault
                 Key: PROTON-1026
                 URL: https://issues.apache.org/jira/browse/PROTON-1026
             Project: Qpid Proton
          Issue Type: Bug
          Components: cpp-binding
    Affects Versions: 0.11
         Environment: Fedora Linux 22, 64bit. 
----
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/5.1.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap 
--enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info 
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared 
--enable-threads=posix --enable-checking=release --enable-multilib 
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions 
--enable-gnu-unique-object --enable-linker-build-id 
--with-linker-hash-style=gnu --enable-plugin --enable-initfini-array 
--disable-libgcj --with-default-libstdcxx-abi=c++98 --with-isl --enable-libmpx 
--enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 
--build=x86_64-redhat-linux
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)
----
Compiled with: 
cmake -DCMAKE_INSTALL_PREFIX=/opt/devel/qpid-proton-0.11-SNAPSHOT 
-DSYSINSTALL_BINDINGS=ON -DBUILD_PYTHON=OFF -DBUILD_PERL=OFF ..
---
            Reporter: Otavio Rodolfo Piske
            Assignee: Cliff Jansen
             Fix For: 0.11


Using an invalid path/destination in the address causes the code to crash with 
SIGSEGV.

Having the QPid Proton code compiled, please use these teps to reproduce:
1. Configure a broker
2. Use the server example to send a message to a non-existent queue: 
./server -a server_address:5672/this_destination_does_no_exist



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to