On 08/07/18 21:40, Wiplash wrote:
I am trying to open an receiver, but it does not work. I am trying to open
the port on ampq:tcp:localhost:5672. This is the result, when I call
connection.open(). So what do I need to do?

It looks like you are perhaps trying to call close() on an empty session handle?

ASAN:DEADLYSIGNAL
=================================================================
==8806==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc
0x7f9a69ceeb23 bp 0x7ffc8370cb00 sp 0x7ffc8370c308 T0)
==8806==The signal is caused by a READ memory access.
==8806==Hint: address points to the zero page.
     #0 0x7f9a69ceeb22 in qpid::messaging::Session::close()
/usr/local/qpid-cpp-1.38.0/src/qpid/messaging/Session.cpp:49
     #1 0x55f9441418e0 in
SmartQueue::ReceiverStud::ReceiverStud(std::__cxx11::basic_string<char,
std::char_traits&lt;char>, std::allocator<char> >, int,
std::__cxx11::basic_string<char, std::char_traits&lt;char>,
std::allocator<char> >, qpid::messaging::Session&,
std::__cxx11::basic_string<char, std::char_traits&lt;char>,
std::allocator<char> >)
/srv/Workspaces/nithu/RTC/client_selector/external/common_server/SmartQueue.hh:70
     #2 0x55f94413e7a6 in
SmartQueue::startReceiver(std::__cxx11::basic_string<char,
std::char_traits&lt;char>, std::allocator<char> >, int,
std::__cxx11::basic_string<char, std::char_traits&lt;char>,
std::allocator<char> >, std::__cxx11::basic_string<char,
std::char_traits&lt;char>, std::allocator<char> >)
/srv/Workspaces/nithu/RTC/client_selector/external/common_server/SmartQueue.cc:35
     #3 0x55f94410b5cf in BackgroundService::startQueue()
/srv/Workspaces/nithu/RTC/client_selector/external/common_server/BackgroundService.cc:39
     #4 0x55f94410aefd in
BackgroundService::BackgroundService(std::__cxx11::basic_string<char,
std::char_traits&lt;char>, std::allocator<char> >,
std::__cxx11::basic_string<char, std::char_traits&lt;char>,
std::allocator<char> >, int)
/srv/Workspaces/nithu/RTC/client_selector/external/common_server/BackgroundService.cc:30
     #5 0x55f9441021b6 in ClientSelector::ClientSelector()
/srv/Workspaces/nithu/RTC/client_selector/src/ClientSelector.cc:28
     #6 0x55f94415857c in main
/srv/Workspaces/nithu/RTC/client_selector/sandBox/main.cc:8
     #7 0x7f9a67c01b96 in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
     #8 0x55f944101f99 in _start
(/srv/Workspaces/nithu/RTC/client_selector/build/bin/debug/sandBox+0xe7f99)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV
/usr/local/qpid-cpp-1.38.0/src/qpid/messaging/Session.cpp:49 in
qpid::messaging::Session::close()
==8806==ABORTING



--
Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to