This reverts commit aa8dce98.
We need to make sure CI passes with this option before we enable it.
2019-03-05T14:03:01.925+00:00] 8002 ERROR CommChannel Failed to send message e:Failed to connect: Connection refused msgtype:3 .cpp:301
ASAN:DEADLYSIGNAL
=================================================================
==8002==ERROR: AddressSanitizer: stack-overflow on address 0x7ffe9af39ff8 (pc 0x7fb32445259c bp 0x000000000030 sp 0x7ffe9af3a000 T0)
#0 0x7fb32445259b (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x10359b)
#1 0x7fb3244520f7 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x1030f7)
#2 0x7fb32437847c (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x2947c)
#3 0x7fb32442f41e in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe041e)
#4 0x5595cefe7e7b in __gnu_cxx::new_allocator<char>::allocate(unsigned long, void const*) /usr/include/c++/7/ext/new_allocator.h:111
#5 0x5595cefe7e7b in std::allocator_traits<std::allocator<char> >::allocate(std::allocator<char>&, unsigned long) /usr/include/c++/7/bits/alloc_traits.h:436
#6 0x5595cefe7e7b in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long) /usr/include/c++/7/bits/basic_string.tcc:153
#7 0x5595cefe8037 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long) /usr/include/c++/7/bits/basic_string.tcc:317
#8 0x5595cefe8e0f in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long) /usr/include/c++/7/bits/basic_string.tcc:370
#9 0x5595cf024ae9 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*) /usr/include/c++/7/bits/basic_string.h:1249
#10 0x5595cf024ae9 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, char const*) /usr/include/c++/7/bits/basic_string.h:5982
#11 0x5595d056168c in dss::SensorLog::triggerUpload() ../src/sensor_data_uploader.cpp:184
#12 0x5595d0562e1a in dss::SensorLog::append(boost::shared_ptr<dss::Event>, bool) ../src/sensor_data_uploader.cpp:166
#13 0x5595cf9a1959 in SensorDataUploaderTest::EventFactory::emit_events(boost::shared_ptr<dss::SensorLog>, int, bool) ../tests/sensor_data_uploader.cpp:42
#14 0x5595cf9a2319 in SensorDataUploaderTest::EventFactory::emit_priority_events(boost::shared_ptr<dss::SensorLog>, int) ../tests/sensor_data_uploader.cpp:26
#15 0x5595cf99aeb7 in boost::_mfi::mf2<void, SensorDataUploaderTest::EventFactory, boost::shared_ptr<dss::SensorLog>, int>::operator()(SensorDataUploaderTest::EventFactory*, boost::shared_ptr<dss::SensorLog>, int) const /usr/include/boost/bind/mem_fn_template.hpp:280
#16 0x5595cf99aeb7 in void boost::_bi::list3<boost::_bi::value<SensorDataUploaderTest::EventFactory*>, boost::_bi::value<boost::shared_ptr<dss::SensorLog> >, boost::_bi::value<int> >::operator()<boost::_mfi::mf2<void, SensorDataUploaderTest::EventFactory, boost::shared_ptr<dss::SensorLog>, int>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf2<void, SensorDataUploaderTest::EventFactory, boost::shared_ptr<dss::SensorLog>, int>&, boost::_bi::list0&, int) /usr/include/boost/bind/bind.hpp:398
#17 0x5595cf99aeb7 in boost::_bi::bind_t<void, boost::_mfi::mf2<void, SensorDataUploaderTest::EventFactory, boost::shared_ptr<dss::SensorLog>, int>, boost::_bi::list3<boost::_bi::value<SensorDataUploaderTest::EventFactory*>, boost::_bi::value<boost::shared_ptr<dss::SensorLog> >, boost::_bi::value<int> > >::operator()() /usr/include/boost/bind/bind.hpp:1294
#18 0x5595cf99aeb7 in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf2<void, SensorDataUploaderTest::EventFactory, boost::shared_ptr<dss::SensorLog>, int>, boost::_bi::list3<boost::_bi::value<SensorDataUploaderTest::EventFactory*>, boost::_bi::value<boost::shared_ptr<dss::SensorLog> >, boost::_bi::value<int> > >, void>::invoke(boost::detail::function::function_buffer&) /usr/include/boost/function/function_template.hpp:159
#19 0x5595cf9a531f in boost::function0<void>::operator()() const /usr/include/boost/function/function_template.hpp:759
#20 0x5595cf9a531f in SensorDataUploaderTest::MockUploader::upload(__gnu_cxx::__normal_iterator<boost::shared_ptr<dss::Event>*, std::vector<boost::shared_ptr<dss::Event>, std::allocator<boost::shared_ptr<dss::Event> > > >, __gnu_cxx::__normal_iterator<boost::shared_ptr<dss::Event>*, std::vector<boost::shared_ptr<dss::Event>, std::allocator<boost::shared_ptr<dss::Event> > > >, boost::shared_ptr<dss::WebserviceCallDone>) ../tests/sensor_data_uploader.cpp:63
#21 0x5595d055e9b9 in dss::SensorLog::send_packet(bool) ../src/sensor_data_uploader.cpp:145
#22 0x5595d0560a96 in dss::SensorLog::done(dss::RestTransferStatus_t, dss::WebserviceReply) ../src/sensor_data_uploader.cpp:229
#23 0x5595cf9a5a09 in SensorDataUploaderTest::MockUploader::upload(__gnu_cxx::__normal_iterator<boost::shared_ptr<dss::Event>*, std::vector<boost::shared_ptr<dss::Event>, std::allocator<boost::shared_ptr<dss::Event> > > >, __gnu_cxx::__normal_iterator<boost::shared_ptr<dss::Event>*, std::vector<boost::shared_ptr<dss::Event>, std::allocator<boost::shared_ptr<dss::Event> > > >, boost::shared_ptr<dss::WebserviceCallDone>) ../tests/sensor_data_uploader.cpp:68
#24 0x5595d055e9b9 in dss::SensorLog::send_packet(bool) ../src/sensor_data_uploader.cpp:145
#25 0x5595d0560a96 in dss::SensorLog::done(dss::RestTransferStatus_t, dss::WebserviceReply) ../src/sensor_data_uploader.cpp:229
#26 0x5595cf9a5a09 in SensorDataUploaderTest::MockUploader::upload(__gnu_cxx::__normal_iterator<boost::shared_ptr<dss::Event>*, std::vector<boost::shared_ptr<dss::Event>, std::allocator<boost::shared_ptr<dss::Event> > > >, __gnu_cxx::__normal_iterator<boost::shared_ptr<dss::Event>*, std::vector<boost::shared_ptr<dss::Event>, std::allocator<boost::shared_ptr<dss::Event> > > >, boost::shared_ptr<dss::WebserviceCallDone>) ../tests/sensor_data_uploader.cpp:68
#27 0x5595d055e9b9 in dss::SensorLog::send_packet(bool) ../src/sensor_data_uploader.cpp:145
#28 0x5595d0560a96 in dss::SensorLog::done(dss::RestTransferStatus_t, dss::WebserviceReply) ../src/sensor_data_uploader.cpp:229
#29 0x5595cf9a5a09 in SensorDataUploaderTest::MockUploader::upload(__gnu_cxx::__normal_iterator<boost::shared_ptr<dss::Event>*, std::vector<boost::shared_ptr<dss::Event>, std::allocator<boost::shared_ptr<dss::Event> > > >, __gnu_cxx::__normal_iterator<boost::shared_ptr<dss::Event>*, std::vector<boost::shared_ptr<dss::Event>, std::allocator<boost::shared_ptr<dss::Event> > > >, boost::shared_ptr<dss::WebserviceCallDone>) ../tests/sensor_data_uploader.cpp:68
#30 0x5595d055e9b9 in dss::SensorLog::send_packet(bool) ../src/sensor_data_uploader.cpp:145
#31 0x5595d0560a96 in dss::SensorLog::done(dss::RestTransferStatus_t, dss::WebserviceReply) ../src/sensor_data_uploader.cpp:229
#32 0x5595cf9a5a09 in SensorDataUploaderTest::MockUploader::upload(__gnu_cxx::__normal_iterator<boost::shared_ptr<dss::Event>*, std::vector<boost::shared_ptr<dss::Event>, std::allocator<boost::shared_ptr<dss::Event> > > >, __gnu_cxx::__normal_iterator<boost::shared_ptr<dss::Event>*, std::vector<boost::shared_ptr<dss::Event>, std::allocator<boost::shared_ptr<dss::Event> > > >, boost::shared_ptr<dss::WebserviceCallDone>) ../tests/sensor_data_uploader.cpp:68
#33 0x5595d055e9b9 in dss::SensorLog::send_packet(bool) ../src/sensor_data_uploader.cpp:145
#34 0x5595d0560a96 in dss::SensorLog::done(dss::RestTransferStatus_t, dss::WebserviceReply) ../src/sensor_data_uploader.cpp:229
#35 0x5595cf9a5a09 in SensorDataUploaderTest::MockUploader::upload(__gnu_cxx::__normal_iterator<boost::shared_ptr<dss::Event>*, std::vector<boost::shared_ptr<dss::Event>, std::allocator<boost::shared_ptr<dss::Event> > > >, __gnu_cxx::__normal_iterator<boost::shared_ptr<dss::Event>*, std::vector<boost::shared_ptr<dss::Event>, std::allocator<boost::shared_ptr<dss::Event> > > >, boost::shared_ptr<dss::WebserviceCallDone>) ../tests/sensor_data_uploader.cpp:68
#36 0x5595d055e9b9 in dss::SensorLog::send_packet(bool) ../src/sensor_data_uploader.cpp:145
#37 0x5595d0560a96 in dss::SensorLog::done(dss::RestTransferStatus_t, dss::WebserviceReply) ../src/sensor_data_uploader.cpp:229
#38 0x5595cf9a5a09 in SensorDataUploaderTest::MockUploader::upload(__gnu_cxx::__normal_iterator<boost::shared_ptr<dss::Event>*, std::vector<boost::shared_ptr<dss::Event>, std::allocator<boost::shared_ptr<dss::Event> > > >, __gnu_cxx::__normal_iterator<boost::shared_ptr<dss::Event>*, std::vector<boost::shared_ptr<dss::Event>, std::allocator<boost::shared_ptr<dss::Event> > > >, boost::shared_ptr<dss::WebserviceCallDone>) ../tests/sensor_data_uploader.cpp:68
#39 0x5595d055e9b9 in dss::SensorLog::send_packet(bool) ../src/sensor_data_uploader.cpp:145
#40 0x5595d0560a96 in dss::SensorLog::done(dss::RestTransferStatus_t, dss::WebserviceReply) ../src/sensor_data_uploader.cpp:229
#41 0x5595cf9a5a09 in SensorDataUploaderTest::MockUploader::upload(__gnu_cxx::__normal_iterator<boost::shared_ptr<dss::Event>*, std::vector<boost::shared_ptr<dss::Event>, std::allocator<boost::shared_ptr<dss::Event> > > >, __gnu_cxx::__normal_iterator<boost::shared_ptr<dss::Event>*, std::vector<boost::shared_ptr<dss::Event>, std::allocator<boost::shared_ptr<dss::Event> > > >, boost::shared_ptr<dss::WebserviceCallDone>) ../tests/sensor_data_uploader.cpp:68