texttest -a complex -d /home/delphi/clangDebug/sumo/tests -reconnect /home/delphi/clangDebug/texttesttmp/clang3_64D.03Aug050535.1132190 -g
texttest -a complex -d /home/delphi/clangDebug/sumo/tests
---------- Differences in errors ---------- 108c108,150 < Wrong error code returned (0)! --- > > ================================================================= > ==1831872==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 376 byte(s) in 1 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0xab423e in NIImporter_SUMO::addEdge(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:570:21 > #2 0xab187f in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:452:13 > #3 0x1a4efe3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #4 0x7f4c774505ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 736 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0xabad76 in NIImporter_SUMO::addLane(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:628:21 > #2 0xab1966 in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:455:13 > #3 0x1a4efe3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #4 0x7f4c774505ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 96 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0x5b7040 in __gnu_cxx::new_allocator<Position>::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x5b6f6d in std::allocator_traits<std::allocator<Position> >::allocate(std::allocator<Position>&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x5b6c3f in std::_Vector_base<Position, std::allocator<Position> >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x5b5578 in Position* std::vector<Position, std::allocator<Position> >::_M_allocate_and_copy<__gnu_cxx::__normal_iterator<Position const*, std::vector<Position, std::allocator<Position> > > >(unsigned long, __gnu_cxx::__normal_iterator<Position const*, std::vector<Position, std::allocator<Position> > >, __gnu_cxx::__normal_iterator<Position const*, std::vector<Position, std::allocator<Position> > >) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1508: 29 > #5 0x5b35eb in std::vector<Position, std::allocator<Position> >::operator=(std::vector<Position, std::allocator<Position> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:226:24 > #6 0x5a4968 in PositionVector::operator=(PositionVector const&) /home/delphi/clangDebug/sumo/src/utils/geom/PositionVector.h:43:7 > #7 0xabb868 in NIImporter_SUMO::addLane(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:631:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 97c97,139 < Wrong error code returned (0)! --- > > ================================================================= > ==1831648==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 376 byte(s) in 1 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0xab423e in NIImporter_SUMO::addEdge(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:570:21 > #2 0xab187f in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:452:13 > #3 0x1a4efe3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #4 0x7ff6358645ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 736 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0xabad76 in NIImporter_SUMO::addLane(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:628:21 > #2 0xab1966 in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:455:13 > #3 0x1a4efe3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #4 0x7ff6358645ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 96 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0x5b7040 in __gnu_cxx::new_allocator<Position>::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x5b6f6d in std::allocator_traits<std::allocator<Position> >::allocate(std::allocator<Position>&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x5b6c3f in std::_Vector_base<Position, std::allocator<Position> >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x5b5578 in Position* std::vector<Position, std::allocator<Position> >::_M_allocate_and_copy<__gnu_cxx::__normal_iterator<Position const*, std::vector<Position, std::allocator<Position> > > >(unsigned long, __gnu_cxx::__normal_iterator<Position const*, std::vector<Position, std::allocator<Position> > >, __gnu_cxx::__normal_iterator<Position const*, std::vector<Position, std::allocator<Position> > >) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1508: 29 > #5 0x5b35eb in std::vector<Position, std::allocator<Position> >::operator=(std::vector<Position, std::allocator<Position> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:226:24 > #6 0x5a4968 in PositionVector::operator=(PositionVector const&) /home/delphi/clangDebug/sumo/src/utils/geom/PositionVector.h:43:7 > #7 0xabb868 in NIImporter_SUMO::addLane(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:631:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 126a127,140 > > ================================================================= > ==1823252==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1224 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x185d112 in NLEdgeControlBuilder::buildEdge(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SumoXMLEdgeFunc, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, double) /home/delphi/clangDebug/sumo/src/netload/NLEdgeControlBuilder.cpp:233:12 > #2 0x18544df in NLEdgeControlBuilder::beginEdgeParsing(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SumoXMLEdgeFunc, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double) /home/delphi/clangDebug/sumo/src/netload/NLEdgeControlBui lder.cpp:68:20 > #3 0x1795a93 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:454:30 > #4 0x178ada7 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:100:17 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7fe74cf9a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 1224 byte(s) leaked in 1 allocation(s). 129a144,157 > > ================================================================= > ==1823341==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1224 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x185d112 in NLEdgeControlBuilder::buildEdge(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SumoXMLEdgeFunc, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, double) /home/delphi/clangDebug/sumo/src/netload/NLEdgeControlBuilder.cpp:233:12 > #2 0x18544df in NLEdgeControlBuilder::beginEdgeParsing(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SumoXMLEdgeFunc, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double) /home/delphi/clangDebug/sumo/src/netload/NLEdgeControlBui lder.cpp:68:20 > #3 0x1795a93 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:454:30 > #4 0x178ada7 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:100:17 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7f174e1e35ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 1224 byte(s) leaked in 1 allocation(s). <truncated after showing first 30 lines>
---------- Differences in errors ---------- 129a130,143 > > ================================================================= > ==1831838==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1224 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x185d112 in NLEdgeControlBuilder::buildEdge(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SumoXMLEdgeFunc, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, double) /home/delphi/clangDebug/sumo/src/netload/NLEdgeControlBuilder.cpp:233:12 > #2 0x18544df in NLEdgeControlBuilder::beginEdgeParsing(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SumoXMLEdgeFunc, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double) /home/delphi/clangDebug/sumo/src/netload/NLEdgeControlBui lder.cpp:68:20 > #3 0x1795a93 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:454:30 > #4 0x178ada7 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:100:17 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7f4238d7b5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 1224 byte(s) leaked in 1 allocation(s). 132a147,160 > > ================================================================= > ==1831890==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1224 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x185d112 in NLEdgeControlBuilder::buildEdge(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SumoXMLEdgeFunc, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, double) /home/delphi/clangDebug/sumo/src/netload/NLEdgeControlBuilder.cpp:233:12 > #2 0x18544df in NLEdgeControlBuilder::beginEdgeParsing(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SumoXMLEdgeFunc, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double) /home/delphi/clangDebug/sumo/src/netload/NLEdgeControlBui lder.cpp:68:20 > #3 0x1795a93 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:454:30 > #4 0x178ada7 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:100:17 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7f4b8bf355ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 1224 byte(s) leaked in 1 allocation(s). <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,14 > > ================================================================= > ==1846682==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f000ca4d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7f000cec5d03 in std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x10bd03) > > SUMMARY: AddressSanitizer: 8704 byte(s) leaked in 2 allocation(s). ---------- Differences in output ---------- 12,33c12 < Running 'PHEMlight5/PC_EU4_D_MW' < sums < length:11041.9 < CO:290.742 < CO2:2.13351e+06 < HC:146.766 < NOx:8034.25 < PMx:270.385 < fuel:675204 < electricity:0 < Success. < Running 'PHEMlight5/PC_EU4_G' < sums < length:11041.9 < CO:8655.76 < CO2:2.34213e+06 < HC:90.0354 < NOx:569.625 < PMx:17.1163 < fuel:743575 < electricity:0 < Success. --- > Error on building PHEMlight measurements ---------- Differences in results ---------- 1,3546d0 < PHEMlight5/zero < 1;-0 < 2;-0 < 3;-0 < 4;-0 < 5;-0 < 6;-0 < 7;-0 < 8;-0 < 9;-0 < 10;-0 < 11;-0 < 12;-0.027071 < 13;-0.0809249 < 14;-0.134923 < 15;-0.155241 < 16;-0.162018 < 17;-0.162018 < 18;-0.162018 < 19;-0.162018 < 20;-0.162018 < 21;-0.162018 < 22;-0.162018 < 23;-0.162018 < 24;-0.157548 < 25;-0.148536 < 26;-0.119947 < 27;-0.0717093 < 28;-0.0239031 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 2a3,16 > > ================================================================= > ==1846640==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f933ac6d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7f933b0e5d03 in std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x10bd03) > > SUMMARY: AddressSanitizer: 8704 byte(s) leaked in 2 allocation(s).
---------- Differences in errors ---------- 0a1,14 > > ================================================================= > ==1846661==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fb9e1f60082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7fb9e23d8d03 in std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x10bd03) > > SUMMARY: AddressSanitizer: 8704 byte(s) leaked in 2 allocation(s). ---------- Differences in output ---------- 12,22c12 < Running 'Energy/unknown' < sums < length:11041.9 < CO:0 < CO2:0 < HC:0 < NOx:0 < PMx:0 < fuel:0 < electricity:1243.51 < Success. --- > Error on building PHEMlight measurements ---------- Differences in results ---------- 1,2364d0 < Energy/zero < 1;0;0;0;0;0;0;0;0;0;0 < 2;0;0;0;0;0;0;0;0;0;0 < 3;0;0;0;0;0;0;0;0;0;0 < 4;0;0;0;0;0;0;0;0;0;0 < 5;0;0;0;0;0;0;0;0;0;0 < 6;0;0;0;0;0;0;0;0;0;0 < 7;0;0;0;0;0;0;0;0;0;0 < 8;0;0;0;0;0;0;0;0;0;0 < 9;0;0;0;0;0;0;0;0;0;0 < 10;0;0;0;0;0;0;0;0;0;0 < 11;0;0;0;0;0;0;0;0;0;0 < 12;0.522222;0.522222;0;0;0;0;0;0;0;0 < 13;1.56111;1.03889;0;0;0;0;0;0;0;0 < 14;2.60278;1.04167;0;0;0;0;0;0;0;0 < 15;3.64444;1.04167;0;0;0;0;0;0;0;0 < 16;4.16667;0.522222;0;0;0;0;0;0;0;0 < 17;4.16667;0;0;0;0;0;0;0;0;0 < 18;4.16667;0;0;0;0;0;0;0;0;0 < 19;4.16667;0;0;0;0;0;0;0;0;0 < 20;4.16667;0;0;0;0;0;0;0;0;0 < 21;4.16667;0;0;0;0;0;0;0;0;0 < 22;4.16667;0;0;0;0;0;0;0;0;0 < 23;4.16667;0;0;0;0;0;0;0;0;0 < 24;3.82222;-0.344444;0;0;0;0;0;0;0;0 < 25;3.12778;-0.694444;0;0;0;0;0;0;0;0 < 26;2.31389;-0.813889;0;0;0;0;0;0;0;0 < 27;1.38333;-0.930556;0;0;0;0;0;0;0;0 < 28;0.461111;-0.922222;0;0;0;0;0;0;0;0 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,159 > > ================================================================= > ==1846662==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fee295db082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7fee29a53d03 in std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x10bd03) > > Indirect leak of 1248 byte(s) in 13 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x9b1830 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x9b175d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x9b140c in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::l ess<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x9af5e2 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_create_nod e<std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x9ae163 in std::_Rb_tree_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_emplace _hint_unique<std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x990756 in std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::operator[](std:: __cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:499:15 > #7 0xbf56b0 in Parameterised::setParameter(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/utils/common/Parameterised.cpp:46:5 > #8 0x5760ca in SUMORouteHandler::addParam(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:378:29 > #9 0x574688 in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:212:13 > #10 0x9eaf63 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #11 0x7fee2a0485ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 656 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) <truncated after showing first 30 lines> ---------- Differences in output ---------- 12,22c12 < Running 'Energy/unknown' < sums < length:11041.9 < CO:0 < CO2:0 < HC:0 < NOx:0 < PMx:0 < fuel:0 < electricity:1243.51 < Success. --- > Error on building PHEMlight measurements ---------- Differences in results ---------- 1,2364d0 < Energy/zero < 1;0;0;0;0;0;0;0;0;0;0 < 2;0;0;0;0;0;0;0;0;0;0 < 3;0;0;0;0;0;0;0;0;0;0 < 4;0;0;0;0;0;0;0;0;0;0 < 5;0;0;0;0;0;0;0;0;0;0 < 6;0;0;0;0;0;0;0;0;0;0 < 7;0;0;0;0;0;0;0;0;0;0 < 8;0;0;0;0;0;0;0;0;0;0 < 9;0;0;0;0;0;0;0;0;0;0 < 10;0;0;0;0;0;0;0;0;0;0 < 11;0;0;0;0;0;0;0;0;0;0 < 12;0.522222;0.522222;0;0;0;0;0;0;0;0 < 13;1.56111;1.03889;0;0;0;0;0;0;0;0 < 14;2.60278;1.04167;0;0;0;0;0;0;0;0 < 15;3.64444;1.04167;0;0;0;0;0;0;0;0 < 16;4.16667;0.522222;0;0;0;0;0;0;0;0 < 17;4.16667;0;0;0;0;0;0;0;0;0 < 18;4.16667;0;0;0;0;0;0;0;0;0 < 19;4.16667;0;0;0;0;0;0;0;0;0 < 20;4.16667;0;0;0;0;0;0;0;0;0 < 21;4.16667;0;0;0;0;0;0;0;0;0 < 22;4.16667;0;0;0;0;0;0;0;0;0 < 23;4.16667;0;0;0;0;0;0;0;0;0 < 24;3.82222;-0.344444;0;0;0;0;0;0;0;0 < 25;3.12778;-0.694444;0;0;0;0;0;0;0;0 < 26;2.31389;-0.813889;0;0;0;0;0;0;0;0 < 27;1.38333;-0.930556;0;0;0;0;0;0;0;0 < 28;0.461111;-0.922222;0;0;0;0;0;0;0;0 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,14 > > ================================================================= > ==1846503==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fb22a7a0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7fb22ac18d03 in std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x10bd03) > > SUMMARY: AddressSanitizer: 8704 byte(s) leaked in 2 allocation(s). ---------- Differences in output ---------- 12,935c12 < Running 'HBEFA2/HDV_3_1' < sums < length:11041.9 < CO:13899.3 < CO2:6.66723e+06 < HC:4723.7 < NOx:66982.6 < PMx:1919.93 < fuel:2.09991e+06 < electricity:0 < Success. < Running 'HBEFA2/HDV_3_2' < sums < length:11041.9 < CO:28258.9 < CO2:1.08671e+07 < HC:9253.12 < NOx:134883 < PMx:5136.61 < fuel:3.42272e+06 < electricity:0 < Success. < Running 'HBEFA2/HDV_3_3' < sums < length:11041.9 < CO:19851.7 < CO2:1.10397e+07 < HC:5765.58 < NOx:108035 <truncated after showing first 30 lines> ---------- Differences in results ---------- 1,100470d0 < HBEFA2/zero < 1;0;0;0;0;0;0;0;0;0;0 < 2;0;0;0;0;0;0;0;0;0;0 < 3;0;0;0;0;0;0;0;0;0;0 < 4;0;0;0;0;0;0;0;0;0;0 < 5;0;0;0;0;0;0;0;0;0;0 < 6;0;0;0;0;0;0;0;0;0;0 < 7;0;0;0;0;0;0;0;0;0;0 < 8;0;0;0;0;0;0;0;0;0;0 < 9;0;0;0;0;0;0;0;0;0;0 < 10;0;0;0;0;0;0;0;0;0;0 < 11;0;0;0;0;0;0;0;0;0;0 < 12;0.522222;0.522222;0;0;0;0;0;0;0;0 < 13;1.56111;1.03889;0;0;0;0;0;0;0;0 < 14;2.60278;1.04167;0;0;0;0;0;0;0;0 < 15;3.64444;1.04167;0;0;0;0;0;0;0;0 < 16;4.16667;0.522222;0;0;0;0;0;0;0;0 < 17;4.16667;0;0;0;0;0;0;0;0;0 < 18;4.16667;0;0;0;0;0;0;0;0;0 < 19;4.16667;0;0;0;0;0;0;0;0;0 < 20;4.16667;0;0;0;0;0;0;0;0;0 < 21;4.16667;0;0;0;0;0;0;0;0;0 < 22;4.16667;0;0;0;0;0;0;0;0;0 < 23;4.16667;0;0;0;0;0;0;0;0;0 < 24;3.82222;-0.344444;0;0;0;0;0;0;0;0 < 25;3.12778;-0.694444;0;0;0;0;0;0;0;0 < 26;2.31389;-0.813889;0;0;0;0;0;0;0;0 < 27;1.38333;-0.930556;0;0;0;0;0;0;0;0 < 28;0.461111;-0.922222;0;0;0;0;0;0;0;0 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,14 > > ================================================================= > ==1846509==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7ff77043e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7ff7708b6d03 in std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x10bd03) > > SUMMARY: AddressSanitizer: 8704 byte(s) leaked in 2 allocation(s). ---------- Differences in output ---------- 12,506c12 < Running 'HBEFA3/LDV' < sums < length:11041.9 < CO:172158 < CO2:3.03311e+06 < HC:10867.4 < NOx:0 < PMx:1211.07 < fuel:962419 < electricity:0 < Success. < Running 'HBEFA3/LDV_G_EU0' < sums < length:11041.9 < CO:361486 < CO2:3.54321e+06 < HC:20120.8 < NOx:0 < PMx:359.172 < fuel:1.12995e+06 < electricity:0 < Success. < Running 'HBEFA3/LDV_G_EU1' < sums < length:11041.9 < CO:423687 < CO2:2.94061e+06 < HC:6769.61 < NOx:9768.06 <truncated after showing first 30 lines> ---------- Differences in results ---------- 1,54372d0 < HBEFA3/zero < 1;0;0;0;0;0;0;0;0;0;0 < 2;0;0;0;0;0;0;0;0;0;0 < 3;0;0;0;0;0;0;0;0;0;0 < 4;0;0;0;0;0;0;0;0;0;0 < 5;0;0;0;0;0;0;0;0;0;0 < 6;0;0;0;0;0;0;0;0;0;0 < 7;0;0;0;0;0;0;0;0;0;0 < 8;0;0;0;0;0;0;0;0;0;0 < 9;0;0;0;0;0;0;0;0;0;0 < 10;0;0;0;0;0;0;0;0;0;0 < 11;0;0;0;0;0;0;0;0;0;0 < 12;0.522222;0.522222;0;0;0;0;0;0;0;0 < 13;1.56111;1.03889;0;0;0;0;0;0;0;0 < 14;2.60278;1.04167;0;0;0;0;0;0;0;0 < 15;3.64444;1.04167;0;0;0;0;0;0;0;0 < 16;4.16667;0.522222;0;0;0;0;0;0;0;0 < 17;4.16667;0;0;0;0;0;0;0;0;0 < 18;4.16667;0;0;0;0;0;0;0;0;0 < 19;4.16667;0;0;0;0;0;0;0;0;0 < 20;4.16667;0;0;0;0;0;0;0;0;0 < 21;4.16667;0;0;0;0;0;0;0;0;0 < 22;4.16667;0;0;0;0;0;0;0;0;0 < 23;4.16667;0;0;0;0;0;0;0;0;0 < 24;3.82222;-0.344444;0;0;0;0;0;0;0;0 < 25;3.12778;-0.694444;0;0;0;0;0;0;0;0 < 26;2.31389;-0.813889;0;0;0;0;0;0;0;0 < 27;1.38333;-0.930556;0;0;0;0;0;0;0;0 < 28;0.461111;-0.922222;0;0;0;0;0;0;0;0 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,14 > > ================================================================= > ==1846548==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f6243f50082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7f62443c8d03 in std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x10bd03) > > SUMMARY: AddressSanitizer: 8704 byte(s) leaked in 2 allocation(s). ---------- Differences in output ---------- 11a12 > Error on building PHEMlight measurements ---------- Differences in results ---------- 1,1182d0 < HBEFA3/unknown < 1;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 2;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 3;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 4;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 5;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 6;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 7;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 8;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 9;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 10;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 11;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 12;0.522222;0.522222;0;155.774;2630.19;0.770734;0.0632126;1.19255;838.964;0 < 13;1.56111;1.03889;0;143.129;2864.05;0.718338;0.0638089;1.27427;913.548;0 < 14;2.60278;1.04167;0;130.294;3046.92;0.663874;0.0634125;1.33208;971.867;0 < 15;3.64444;1.04167;0;118.693;3245.69;0.615497;0.0637853;1.39762;1035.26;0 < 16;4.16667;0.522222;0;101.735;2787.57;0.526671;0.0495431;1.16737;889.143;0 < 17;4.16667;0;0;90.0575;2220.38;0.459398;0.0347348;0.899728;708.239;0 < 18;4.16667;0;0;90.0575;2220.38;0.459398;0.0347348;0.899728;708.239;0 < 19;4.16667;0;0;90.0575;2220.38;0.459398;0.0347348;0.899728;708.239;0 < 20;4.16667;0;0;90.0575;2220.38;0.459398;0.0347348;0.899728;708.239;0 < 21;4.16667;0;0;90.0575;2220.38;0.459398;0.0347348;0.899728;708.239;0 < 22;4.16667;0;0;90.0575;2220.38;0.459398;0.0347348;0.899728;708.239;0 < 23;4.16667;0;0;90.0575;2220.38;0.459398;0.0347348;0.899728;708.239;0 < 24;3.82222;-0.344444;0;0;0;0;0;0;0;0 < 25;3.12778;-0.694444;0;0;0;0;0;0;0;0 < 26;2.31389;-0.813889;0;0;0;0;0;0;0;0 < 27;1.38333;-0.930556;0;0;0;0;0;0;0;0 < 28;0.461111;-0.922222;0;153.236;2455.71;0.754884;0.0589923;1.11191;783.315;0 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,14 > > ================================================================= > ==1846554==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fcd156bf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7fcd15b37d03 in std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x10bd03) > > SUMMARY: AddressSanitizer: 8704 byte(s) leaked in 2 allocation(s). ---------- Differences in output ---------- 11a12 > Error on building PHEMlight measurements ---------- Differences in results ---------- 1,1182d0 < HBEFA3/unknown < 1;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 2;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 3;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 4;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 5;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 6;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 7;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 8;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 9;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 10;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 11;0;0;0;164.778;2624.72;0.811944;0.0659722;1.20444;837.222;0 < 12;0.522222;0.522222;0;155.774;2630.19;0.770734;0.0632126;1.19255;838.964;0 < 13;1.56111;1.03889;0;143.129;2864.05;0.718338;0.0638089;1.27427;913.548;0 < 14;2.60278;1.04167;0;130.294;3046.92;0.663874;0.0634125;1.33208;971.867;0 < 15;3.64444;1.04167;0;118.693;3245.69;0.615497;0.0637853;1.39762;1035.26;0 < 16;4.16667;0.522222;0;101.735;2787.57;0.526671;0.0495431;1.16737;889.143;0 < 17;4.16667;0;0;90.0575;2220.38;0.459398;0.0347348;0.899728;708.239;0 < 18;4.16667;0;0;90.0575;2220.38;0.459398;0.0347348;0.899728;708.239;0 < 19;4.16667;0;0;90.0575;2220.38;0.459398;0.0347348;0.899728;708.239;0 < 20;4.16667;0;0;90.0575;2220.38;0.459398;0.0347348;0.899728;708.239;0 < 21;4.16667;0;0;90.0575;2220.38;0.459398;0.0347348;0.899728;708.239;0 < 22;4.16667;0;0;90.0575;2220.38;0.459398;0.0347348;0.899728;708.239;0 < 23;4.16667;0;0;90.0575;2220.38;0.459398;0.0347348;0.899728;708.239;0 < 24;3.82222;-0.344444;0;0;0;0;0;0;0;0 < 25;3.12778;-0.694444;0;0;0;0;0;0;0;0 < 26;2.31389;-0.813889;0;0;0;0;0;0;0;0 < 27;1.38333;-0.930556;0;0;0;0;0;0;0;0 < 28;0.461111;-0.922222;0;153.236;2455.71;0.754884;0.0589923;1.11191;783.315;0 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,14 > > ================================================================= > ==1846550==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fd335f66082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7fd3363ded03 in std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x10bd03) > > SUMMARY: AddressSanitizer: 8704 byte(s) leaked in 2 allocation(s). ---------- Differences in output ---------- 12,77c12 < Running 'HBEFA3/LDV' < sums < length:11041.9 < CO:172158 < CO2:3.03311e+06 < HC:10867.4 < NOx:0 < PMx:1211.07 < fuel:1297.06 < electricity:0 < Success. < Running 'HBEFA3/PC' < sums < length:11041.9 < CO:97293.6 < CO2:3.0147e+06 < HC:10300.2 < NOx:0 < PMx:384.99 < fuel:1320.34 < electricity:0 < Success. < Running 'HBEFA3/PC_G_EU4' < sums < length:11041.9 < CO:79389.5 < CO2:3.06227e+06 < HC:424.514 < NOx:1164.47 <truncated after showing first 30 lines> ---------- Differences in results ---------- 1,8274d0 < HBEFA3/zero < 1;0;0;0;0;0;0;0;0;0;0 < 2;0;0;0;0;0;0;0;0;0;0 < 3;0;0;0;0;0;0;0;0;0;0 < 4;0;0;0;0;0;0;0;0;0;0 < 5;0;0;0;0;0;0;0;0;0;0 < 6;0;0;0;0;0;0;0;0;0;0 < 7;0;0;0;0;0;0;0;0;0;0 < 8;0;0;0;0;0;0;0;0;0;0 < 9;0;0;0;0;0;0;0;0;0;0 < 10;0;0;0;0;0;0;0;0;0;0 < 11;0;0;0;0;0;0;0;0;0;0 < 12;0.522222;0.522222;0;0;0;0;0;0;0;0 < 13;1.56111;1.03889;0;0;0;0;0;0;0;0 < 14;2.60278;1.04167;0;0;0;0;0;0;0;0 < 15;3.64444;1.04167;0;0;0;0;0;0;0;0 < 16;4.16667;0.522222;0;0;0;0;0;0;0;0 < 17;4.16667;0;0;0;0;0;0;0;0;0 < 18;4.16667;0;0;0;0;0;0;0;0;0 < 19;4.16667;0;0;0;0;0;0;0;0;0 < 20;4.16667;0;0;0;0;0;0;0;0;0 < 21;4.16667;0;0;0;0;0;0;0;0;0 < 22;4.16667;0;0;0;0;0;0;0;0;0 < 23;4.16667;0;0;0;0;0;0;0;0;0 < 24;3.82222;-0.344444;0;0;0;0;0;0;0;0 < 25;3.12778;-0.694444;0;0;0;0;0;0;0;0 < 26;2.31389;-0.813889;0;0;0;0;0;0;0;0 < 27;1.38333;-0.930556;0;0;0;0;0;0;0;0 < 28;0.461111;-0.922222;0;0;0;0;0;0;0;0 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,14 > > ================================================================= > ==1846593==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7ff98bac7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7ff98bf3fd03 in std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x10bd03) > > SUMMARY: AddressSanitizer: 8704 byte(s) leaked in 2 allocation(s). ---------- Differences in output ---------- 12,9174c12 < Running 'HBEFA4/PC_petrol_ltECE' < sums < length:11041.9 < CO:113658 < CO2:1.96555e+06 < HC:31657.9 < NOx:7573.07 < PMx:75.1568 < fuel:637005 < electricity:0 < Success. < Running 'HBEFA4/PC_petrol_ECE-15_00' < sums < length:11041.9 < CO:113658 < CO2:1.96555e+06 < HC:26457.7 < NOx:7573.07 < PMx:75.1568 < fuel:637005 < electricity:0 < Success. < Running 'HBEFA4/PC_petrol_ECE-15_01_02' < sums < length:11041.9 < CO:113658 < CO2:1.96555e+06 < HC:21354.1 < NOx:7573.07 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,14 > > ================================================================= > ==1846582==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fa697c2e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7fa6980a6d03 in std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x10bd03) > > SUMMARY: AddressSanitizer: 8704 byte(s) leaked in 2 allocation(s). ---------- Differences in output ---------- 12,33c12 < Running 'PHEMlight/PC_D_EU4' < sums < length:11041.9 < CO:334.565 < CO2:2.07425e+06 < HC:130.283 < NOx:5881.48 < PMx:223.411 < fuel:656462 < electricity:0 < Success. < Running 'PHEMlight/PC_G_EU4' < sums < length:11041.9 < CO:4019.34 < CO2:2.17184e+06 < HC:69.628 < NOx:535.555 < PMx:13.4985 < fuel:687512 < electricity:0 < Success. --- > Error on building PHEMlight measurements ---------- Differences in results ---------- 1,3546d0 < PHEMlight/zero < 1;0;0;0;0;0;0;0;0;0;0 < 2;0;0;0;0;0;0;0;0;0;0 < 3;0;0;0;0;0;0;0;0;0;0 < 4;0;0;0;0;0;0;0;0;0;0 < 5;0;0;0;0;0;0;0;0;0;0 < 6;0;0;0;0;0;0;0;0;0;0 < 7;0;0;0;0;0;0;0;0;0;0 < 8;0;0;0;0;0;0;0;0;0;0 < 9;0;0;0;0;0;0;0;0;0;0 < 10;0;0;0;0;0;0;0;0;0;0 < 11;0;0;0;0;0;0;0;0;0;0 < 12;0.522222;0.522222;0;0;0;0;0;0;0;0 < 13;1.56111;1.03889;0;0;0;0;0;0;0;0 < 14;2.60278;1.04167;0;0;0;0;0;0;0;0 < 15;3.64444;1.04167;0;0;0;0;0;0;0;0 < 16;4.16667;0.522222;0;0;0;0;0;0;0;0 < 17;4.16667;0;0;0;0;0;0;0;0;0 < 18;4.16667;0;0;0;0;0;0;0;0;0 < 19;4.16667;0;0;0;0;0;0;0;0;0 < 20;4.16667;0;0;0;0;0;0;0;0;0 < 21;4.16667;0;0;0;0;0;0;0;0;0 < 22;4.16667;0;0;0;0;0;0;0;0;0 < 23;4.16667;0;0;0;0;0;0;0;0;0 < 24;3.82222;-0.344444;0;0;0;0;0;0;0;0 < 25;3.12778;-0.694444;0;0;0;0;0;0;0;0 < 26;2.31389;-0.813889;0;0;0;0;0;0;0;0 < 27;1.38333;-0.930556;0;0;0;0;0;0;0;0 < 28;0.461111;-0.922222;0;0;0;0;0;0;0;0 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,14 > > ================================================================= > ==1846594==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fc54ab89082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7fc54b001d03 in std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x10bd03) > > SUMMARY: AddressSanitizer: 8704 byte(s) leaked in 2 allocation(s). ---------- Differences in output ---------- 12,33c12 < Running 'PHEMlight5/PC_EU4_D_MW' < sums < length:11041.9 < CO:290.742 < CO2:2.13351e+06 < HC:146.766 < NOx:8034.25 < PMx:270.385 < fuel:675204 < electricity:0 < Success. < Running 'PHEMlight5/PC_EU4_G' < sums < length:11041.9 < CO:8655.76 < CO2:2.34213e+06 < HC:90.0354 < NOx:569.625 < PMx:17.1163 < fuel:743575 < electricity:0 < Success. --- > Error on building PHEMlight measurements ---------- Differences in results ---------- 1,3546d0 < PHEMlight5/zero < 1;0;0;0;0;0;0;0;0;0;0 < 2;0;0;0;0;0;0;0;0;0;0 < 3;0;0;0;0;0;0;0;0;0;0 < 4;0;0;0;0;0;0;0;0;0;0 < 5;0;0;0;0;0;0;0;0;0;0 < 6;0;0;0;0;0;0;0;0;0;0 < 7;0;0;0;0;0;0;0;0;0;0 < 8;0;0;0;0;0;0;0;0;0;0 < 9;0;0;0;0;0;0;0;0;0;0 < 10;0;0;0;0;0;0;0;0;0;0 < 11;0;0;0;0;0;0;0;0;0;0 < 12;0.522222;0.522222;0;0;0;0;0;0;0;0 < 13;1.56111;1.03889;0;0;0;0;0;0;0;0 < 14;2.60278;1.04167;0;0;0;0;0;0;0;0 < 15;3.64444;1.04167;0;0;0;0;0;0;0;0 < 16;4.16667;0.522222;0;0;0;0;0;0;0;0 < 17;4.16667;0;0;0;0;0;0;0;0;0 < 18;4.16667;0;0;0;0;0;0;0;0;0 < 19;4.16667;0;0;0;0;0;0;0;0;0 < 20;4.16667;0;0;0;0;0;0;0;0;0 < 21;4.16667;0;0;0;0;0;0;0;0;0 < 22;4.16667;0;0;0;0;0;0;0;0;0 < 23;4.16667;0;0;0;0;0;0;0;0;0 < 24;3.82222;-0.344444;0;0;0;0;0;0;0;0 < 25;3.12778;-0.694444;0;0;0;0;0;0;0;0 < 26;2.31389;-0.813889;0;0;0;0;0;0;0;0 < 27;1.38333;-0.930556;0;0;0;0;0;0;0;0 < 28;0.461111;-0.922222;0;0;0;0;0;0;0;0 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,14 > > ================================================================= > ==1846625==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fbc6a709082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7fbc6ab81d03 in std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x10bd03) > > SUMMARY: AddressSanitizer: 8704 byte(s) leaked in 2 allocation(s). ---------- Differences in output ---------- 12,33c12 < Running 'PHEMlight5/PC_EU4_D_MW' < sums < length:11041.9 < CO:290.742 < CO2:2.13351e+06 < HC:146.766 < NOx:8034.25 < PMx:270.385 < fuel:675204 < electricity:0 < Success. < Running 'PHEMlight5/PC_EU4_G' < sums < length:11041.9 < CO:8655.76 < CO2:2.34213e+06 < HC:89.135 < NOx:569.625 < PMx:17.1163 < fuel:743575 < electricity:0 < Success. --- > Error on building PHEMlight measurements ---------- Differences in results ---------- 1,3546d0 < PHEMlight5/zero < 1;0;0;0;0;0;0;0;0;0;0 < 2;0;0;0;0;0;0;0;0;0;0 < 3;0;0;0;0;0;0;0;0;0;0 < 4;0;0;0;0;0;0;0;0;0;0 < 5;0;0;0;0;0;0;0;0;0;0 < 6;0;0;0;0;0;0;0;0;0;0 < 7;0;0;0;0;0;0;0;0;0;0 < 8;0;0;0;0;0;0;0;0;0;0 < 9;0;0;0;0;0;0;0;0;0;0 < 10;0;0;0;0;0;0;0;0;0;0 < 11;0;0;0;0;0;0;0;0;0;0 < 12;0.522222;0.522222;0;0;0;0;0;0;0;0 < 13;1.56111;1.03889;0;0;0;0;0;0;0;0 < 14;2.60278;1.04167;0;0;0;0;0;0;0;0 < 15;3.64444;1.04167;0;0;0;0;0;0;0;0 < 16;4.16667;0.522222;0;0;0;0;0;0;0;0 < 17;4.16667;0;0;0;0;0;0;0;0;0 < 18;4.16667;0;0;0;0;0;0;0;0;0 < 19;4.16667;0;0;0;0;0;0;0;0;0 < 20;4.16667;0;0;0;0;0;0;0;0;0 < 21;4.16667;0;0;0;0;0;0;0;0;0 < 22;4.16667;0;0;0;0;0;0;0;0;0 < 23;4.16667;0;0;0;0;0;0;0;0;0 < 24;3.82222;-0.344444;0;0;0;0;0;0;0;0 < 25;3.12778;-0.694444;0;0;0;0;0;0;0;0 < 26;2.31389;-0.813889;0;0;0;0;0;0;0;0 < 27;1.38333;-0.930556;0;0;0;0;0;0;0;0 < 28;0.461111;-0.922222;0;0;0;0;0;0;0;0 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,14 > > ================================================================= > ==1846632==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f4f8a829082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7f4f8aca1d03 in std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x10bd03) > > SUMMARY: AddressSanitizer: 8704 byte(s) leaked in 2 allocation(s). ---------- Differences in output ---------- 12,33c12 < Running 'PHEMlight5/PC_EU4_D_MW' < sums < length:11041.9 < CO:290.742 < CO2:2.13351e+06 < HC:146.766 < NOx:13033.3 < PMx:270.385 < fuel:675204 < electricity:0 < Success. < Running 'PHEMlight5/PC_EU4_G' < sums < length:11041.9 < CO:8655.76 < CO2:2.34213e+06 < HC:90.0354 < NOx:569.625 < PMx:17.1163 < fuel:743575 < electricity:0 < Success. --- > Error on building PHEMlight measurements ---------- Differences in results ---------- 1,3546d0 < PHEMlight5/zero < 1;0;0;0;0;0;0;0;0;0;0 < 2;0;0;0;0;0;0;0;0;0;0 < 3;0;0;0;0;0;0;0;0;0;0 < 4;0;0;0;0;0;0;0;0;0;0 < 5;0;0;0;0;0;0;0;0;0;0 < 6;0;0;0;0;0;0;0;0;0;0 < 7;0;0;0;0;0;0;0;0;0;0 < 8;0;0;0;0;0;0;0;0;0;0 < 9;0;0;0;0;0;0;0;0;0;0 < 10;0;0;0;0;0;0;0;0;0;0 < 11;0;0;0;0;0;0;0;0;0;0 < 12;0.522222;0.522222;0;0;0;0;0;0;0;0 < 13;1.56111;1.03889;0;0;0;0;0;0;0;0 < 14;2.60278;1.04167;0;0;0;0;0;0;0;0 < 15;3.64444;1.04167;0;0;0;0;0;0;0;0 < 16;4.16667;0.522222;0;0;0;0;0;0;0;0 < 17;4.16667;0;0;0;0;0;0;0;0;0 < 18;4.16667;0;0;0;0;0;0;0;0;0 < 19;4.16667;0;0;0;0;0;0;0;0;0 < 20;4.16667;0;0;0;0;0;0;0;0;0 < 21;4.16667;0;0;0;0;0;0;0;0;0 < 22;4.16667;0;0;0;0;0;0;0;0;0 < 23;4.16667;0;0;0;0;0;0;0;0;0 < 24;3.82222;-0.344444;0;0;0;0;0;0;0;0 < 25;3.12778;-0.694444;0;0;0;0;0;0;0;0 < 26;2.31389;-0.813889;0;0;0;0;0;0;0;0 < 27;1.38333;-0.930556;0;0;0;0;0;0;0;0 < 28;0.461111;-0.922222;0;0;0;0;0;0;0;0 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,23 > Traceback (most recent call last): > File "/home/delphi/.local/lib/python3.8/site-packages/fmpy/fmi1.py", line 160, in __init__ > self.dll = cdll.LoadLibrary(libraryPath) > File "/usr/lib/python3.8/ctypes/__init__.py", line 451, in LoadLibrary > return self._dlltype(name) > File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__ > self._handle = _dlopen(self._name, mode) > OSError: /home/delphi/clangDebug/sumo/bin/libsumocppD.so: undefined symbol: __ubsan_vptr_type_cache > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/../tests/complex/fmi/runner.py", line 153, in <module> > runSingle(startTime, endTime, validate, scalarVariable) > File "/home/delphi/clangDebug/sumo/tests/../tests/complex/fmi/runner.py", line 82, in runSingle > fmu = FMU2Slave(guid=modelDescription.guid, > File "/home/delphi/.local/lib/python3.8/site-packages/fmpy/fmi2.py", line 520, in __init__ > super(FMU2Slave, self).__init__(**kwargs) > File "/home/delphi/.local/lib/python3.8/site-packages/fmpy/fmi2.py", line 85, in __init__ > super(_FMU2, self).__init__(**kwargs) > File "/home/delphi/.local/lib/python3.8/site-packages/fmpy/fmi1.py", line 162, in __init__ > raise Exception("Failed to load shared library %s. %s" % (libraryPath, e)) > Exception: Failed to load shared library /tmp/tmpg0l2_b33/binaries/linux64/libsumofmi2.so. /home/delphi/clangDebug/sumo/bin/libsumocppD.so: undefined symbol: __ubsan_vptr_type_cache ---------- Differences in output ---------- 2,3d1 < Simulating libsumofmi2 (model name 'SUMO', FMI v2.0)... < Print ended at step 60.0
---------- Differences in errors ---------- 0a1,23 > Traceback (most recent call last): > File "/home/delphi/.local/lib/python3.8/site-packages/fmpy/fmi1.py", line 160, in __init__ > self.dll = cdll.LoadLibrary(libraryPath) > File "/usr/lib/python3.8/ctypes/__init__.py", line 451, in LoadLibrary > return self._dlltype(name) > File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__ > self._handle = _dlopen(self._name, mode) > OSError: /home/delphi/clangDebug/sumo/bin/libsumocppD.so: undefined symbol: __ubsan_vptr_type_cache > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/../tests/complex/fmi/runner.py", line 153, in <module> > runSingle(startTime, endTime, validate, scalarVariable) > File "/home/delphi/clangDebug/sumo/tests/../tests/complex/fmi/runner.py", line 82, in runSingle > fmu = FMU2Slave(guid=modelDescription.guid, > File "/home/delphi/.local/lib/python3.8/site-packages/fmpy/fmi2.py", line 520, in __init__ > super(FMU2Slave, self).__init__(**kwargs) > File "/home/delphi/.local/lib/python3.8/site-packages/fmpy/fmi2.py", line 85, in __init__ > super(_FMU2, self).__init__(**kwargs) > File "/home/delphi/.local/lib/python3.8/site-packages/fmpy/fmi1.py", line 162, in __init__ > raise Exception("Failed to load shared library %s. %s" % (libraryPath, e)) > Exception: Failed to load shared library /tmp/tmpi97__l19/binaries/linux64/libsumofmi2.so. /home/delphi/clangDebug/sumo/bin/libsumocppD.so: undefined symbol: __ubsan_vptr_type_cache ---------- Differences in output ---------- 2,63d1 < Simulating libsumofmi2 (model name 'SUMO', FMI v2.0)... < TIME 1.0: vehicle.getIDCount = 6 < TIME 2.0: vehicle.getIDCount = 6 < TIME 3.0: vehicle.getIDCount = 6 < TIME 4.0: vehicle.getIDCount = 7 < TIME 5.0: vehicle.getIDCount = 7 < TIME 6.0: vehicle.getIDCount = 8 < TIME 7.0: vehicle.getIDCount = 8 < TIME 8.0: vehicle.getIDCount = 9 < TIME 9.0: vehicle.getIDCount = 9 < TIME 10.0: vehicle.getIDCount = 9 < TIME 11.0: vehicle.getIDCount = 9 < TIME 12.0: vehicle.getIDCount = 9 < TIME 13.0: vehicle.getIDCount = 10 < TIME 14.0: vehicle.getIDCount = 10 < TIME 15.0: vehicle.getIDCount = 10 < TIME 16.0: vehicle.getIDCount = 11 < TIME 17.0: vehicle.getIDCount = 11 < TIME 18.0: vehicle.getIDCount = 12 < TIME 19.0: vehicle.getIDCount = 12 < TIME 20.0: vehicle.getIDCount = 12 < TIME 21.0: vehicle.getIDCount = 13 < TIME 22.0: vehicle.getIDCount = 13 < TIME 23.0: vehicle.getIDCount = 13 < TIME 24.0: vehicle.getIDCount = 13 < TIME 25.0: vehicle.getIDCount = 13 < TIME 26.0: vehicle.getIDCount = 12 < TIME 27.0: vehicle.getIDCount = 10 < TIME 28.0: vehicle.getIDCount = 10 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,23 > Traceback (most recent call last): > File "/home/delphi/.local/lib/python3.8/site-packages/fmpy/fmi1.py", line 160, in __init__ > self.dll = cdll.LoadLibrary(libraryPath) > File "/usr/lib/python3.8/ctypes/__init__.py", line 451, in LoadLibrary > return self._dlltype(name) > File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__ > self._handle = _dlopen(self._name, mode) > OSError: /home/delphi/clangDebug/sumo/bin/libsumocppD.so: undefined symbol: __ubsan_vptr_type_cache > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/../tests/complex/fmi/runner.py", line 153, in <module> > runSingle(startTime, endTime, validate, scalarVariable) > File "/home/delphi/clangDebug/sumo/tests/../tests/complex/fmi/runner.py", line 82, in runSingle > fmu = FMU2Slave(guid=modelDescription.guid, > File "/home/delphi/.local/lib/python3.8/site-packages/fmpy/fmi2.py", line 520, in __init__ > super(FMU2Slave, self).__init__(**kwargs) > File "/home/delphi/.local/lib/python3.8/site-packages/fmpy/fmi2.py", line 85, in __init__ > super(_FMU2, self).__init__(**kwargs) > File "/home/delphi/.local/lib/python3.8/site-packages/fmpy/fmi1.py", line 162, in __init__ > raise Exception("Failed to load shared library %s. %s" % (libraryPath, e)) > Exception: Failed to load shared library /tmp/tmp9sdmorf8/binaries/linux64/libsumofmi2.so. /home/delphi/clangDebug/sumo/bin/libsumocppD.so: undefined symbol: __ubsan_vptr_type_cache ---------- Differences in output ---------- 2,4d1 < Simulating libsumofmi2 (model name 'SUMO', FMI v2.0)... < key, value: 'meaningOfLife', '42' < Print ended at step 60.0
---------- Differences in errors ---------- 0a1,23 > Traceback (most recent call last): > File "/home/delphi/.local/lib/python3.8/site-packages/fmpy/fmi1.py", line 160, in __init__ > self.dll = cdll.LoadLibrary(libraryPath) > File "/usr/lib/python3.8/ctypes/__init__.py", line 451, in LoadLibrary > return self._dlltype(name) > File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__ > self._handle = _dlopen(self._name, mode) > OSError: /home/delphi/clangDebug/sumo/bin/libsumocppD.so: undefined symbol: __ubsan_vptr_type_cache > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/../tests/complex/fmi/runner.py", line 153, in <module> > runSingle(startTime, endTime, validate, scalarVariable) > File "/home/delphi/clangDebug/sumo/tests/../tests/complex/fmi/runner.py", line 82, in runSingle > fmu = FMU2Slave(guid=modelDescription.guid, > File "/home/delphi/.local/lib/python3.8/site-packages/fmpy/fmi2.py", line 520, in __init__ > super(FMU2Slave, self).__init__(**kwargs) > File "/home/delphi/.local/lib/python3.8/site-packages/fmpy/fmi2.py", line 85, in __init__ > super(_FMU2, self).__init__(**kwargs) > File "/home/delphi/.local/lib/python3.8/site-packages/fmpy/fmi1.py", line 162, in __init__ > raise Exception("Failed to load shared library %s. %s" % (libraryPath, e)) > Exception: Failed to load shared library /tmp/tmpf42x25d0/binaries/linux64/libsumofmi2.so. /home/delphi/clangDebug/sumo/bin/libsumocppD.so: undefined symbol: __ubsan_vptr_type_cache ---------- Differences in output ---------- 2,91d1 < Simulating libsumofmi2 (model name 'SUMO', FMI v2.0)... < TIME 0: laneID = '' < TIME 1.0: laneID = 'WE1_0' < currentPos = [0.0, -1.6] < targetPos = (10.0, -1.6) < TIME 2.0: laneID = 'WE1_0' < currentPos = [10.0, -1.6] < targetPos = (20.0, -1.6) < TIME 3.0: laneID = 'WE1_0' < currentPos = [20.0, -1.6] < targetPos = (30.0, -1.6) < TIME 4.0: laneID = 'WE1_0' < currentPos = [30.0, -1.6] < targetPos = (40.0, -1.6) < TIME 5.0: laneID = 'WE1_0' < currentPos = [40.0, -1.6] < targetPos = (50.0, -1.6) < TIME 6.0: laneID = ':J1_10_0' < currentPos = [50.0, -1.6] < targetPos = (60.0, -1.6) < TIME 7.0: laneID = 'WE2_0' < currentPos = [60.0, -1.6] < targetPos = (70.0, -1.6) < TIME 8.0: laneID = 'WE2_0' < currentPos = [70.0, -1.6] < targetPos = (80.0, -1.6) < TIME 9.0: laneID = 'WE2_0' < currentPos = [80.0, -1.6] < targetPos = (90.0, -1.6) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 3a4,105 > LLVMSymbolizer: error reading file: No such file or directory > > ================================================================= > ==1843998==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 1 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0x8573ef in NIImporter_OpenDrive::myCharacters(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_OpenDrive.cpp:2463:30 > #2 0x1a5090a in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:156:13 > #3 0x7f1718bebf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 928 byte(s) in 1 object(s) allocated from: > #0 0x51974d in operator new(unsigned long, std::nothrow_t const&) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51974d) > #1 0x7f17189016a8 (/usr/lib/x86_64-linux-gnu/libproj.so.15+0x2336a8) > > Indirect leak of 831 byte(s) in 11 object(s) allocated from: > #0 0x4e9dbd in malloc (/home/delphi/clangDebug/sumo/bin/netconvertD+0x4e9dbd) > #1 0x7f1718900dbd in pj_malloc (/usr/lib/x86_64-linux-gnu/libproj.so.15+0x232dbd) > > Indirect leak of 448 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0x7f171877b867 (/usr/lib/x86_64-linux-gnu/libproj.so.15+0xad867) > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0x7f171878203b (/usr/lib/x86_64-linux-gnu/libproj.so.15+0xb403b) > > Indirect leak of 208 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,311 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843830==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f864dfc8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f864dfc8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 1,2c1,1905 < .....WARNING: No typeSubstring given. Managing all vehicles. (PlatoonManager) < .. --- > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843787==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2f258ff082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,311 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843793==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f674d94a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f674d94a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,321 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843857==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f66ee934082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f66ee934082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 1c1,1123 < ...WARNING: No typeSubstring given. Managing all vehicles. (PlatoonManager) --- > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843800==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fed65f62082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,27 > > ================================================================= > ==1845465==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f9b9f7c45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s). > > ================================================================= > ==1845479==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7fe5ef4e25ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s).
---------- Differences in errors ---------- 1a2,14 > > ================================================================= > ==1845524==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f9c9a6605ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s). 2a16,29 > > ================================================================= > ==1845576==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7f37e5fd15ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s).
---------- Differences in errors ---------- 0a1,27 > > ================================================================= > ==1845607==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f529d4ac5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s). > > ================================================================= > ==1845624==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7fdf89f225ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s).
---------- Differences in errors ---------- 0a1,27 > > ================================================================= > ==1845498==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fc41a3ce5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s). > > ================================================================= > ==1845532==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7f4a758eb5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s).
---------- Differences in errors ---------- 0a1,27 > > ================================================================= > ==1845520==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f13f93685ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s). > > ================================================================= > ==1845541==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7fa59e3555ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s).
---------- Differences in errors ---------- 0a1,27 > > ================================================================= > ==1845615==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fb8ad7f65ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s). > > ================================================================= > ==1845628==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7f65639e55ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s).
---------- Differences in errors ---------- 0a1,27 > > ================================================================= > ==1845317==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7ff2b1fab5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 72 byte(s) leaked in 3 allocation(s). > > ================================================================= > ==1845343==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7fe5a80485ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 72 byte(s) leaked in 3 allocation(s).
---------- Differences in errors ---------- 0a1,27 > > ================================================================= > ==1845408==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f7467d205ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s). > > ================================================================= > ==1845426==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7effe687e5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s).
---------- Differences in errors ---------- 0a1,27 > > ================================================================= > ==1845342==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fbd5b7235ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 72 byte(s) leaked in 3 allocation(s). > > ================================================================= > ==1845389==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7f3ad14715ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 72 byte(s) leaked in 3 allocation(s).
---------- Differences in errors ---------- 0a1,27 > > ================================================================= > ==1845463==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f9393c865ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s). > > ================================================================= > ==1845481==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7f0bb84015ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s).
---------- Differences in errors ---------- 0a1,27 > > ================================================================= > ==1845425==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f546d67c5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 48 byte(s) leaked in 2 allocation(s). > > ================================================================= > ==1845433==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7f54114c15ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s).
---------- Differences in errors ---------- 0a1,295 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1834516==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f82a8be7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f82a8be7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,297 > > ================================================================= > ==1834488==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9adfd37082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1833586==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcbb7da3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fcbb7da3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1834089==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f429c8fff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,359 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1834256==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f522bef8f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,359 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1834395==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f5456120f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,312 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1833476==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1117566082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,312 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1833164==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f14a1b42082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,312 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1833458==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f48fad0c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1833793==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8e081c0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8e081c0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1833752==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0e0087f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0e0087f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,6 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in 1a8,321 > > ================================================================= > ==1833890==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f489d047082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,6 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in 28a35,348 > > ================================================================= > ==1832933==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f53e8c55082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 1a2,321 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1834225==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb4c5f2c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1832952==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa9ba813082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,295 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1832663==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe45fab9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe45fab9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1833216==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f63dd178082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f63dd178082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,312 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1833311==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0182e40082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1833841==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe3ccbf0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 2a3,5 > ================================================================= > ==1832528==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000483f0 at pc 0x00000120710b bp 0x7fff07e0bd70 sp 0x7fff07e0bd68 > WRITE of size 8 at 0x60b0000483f0 thread T0 5a9,12 > #0 0x120710a in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x120621f in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x1209513 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x555882 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5
---------- Differences in errors ---------- 2a3,5 > ================================================================= > ==1832631==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000483f0 at pc 0x00000120710b bp 0x7ffe365c4610 sp 0x7ffe365c4608 > WRITE of size 8 at 0x60b0000483f0 thread T0 5a9,12 > #0 0x120710a in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x120621f in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x1209513 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x555882 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5
---------- Differences in errors ---------- 2a3,5 > ================================================================= > ==1832683==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000483f0 at pc 0x00000120710b bp 0x7ffdf1bd2770 sp 0x7ffdf1bd2768 > WRITE of size 8 at 0x60b0000483f0 thread T0
---------- Differences in errors ---------- 2a3,5 > ================================================================= > ==1832765==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000483f0 at pc 0x00000120710b bp 0x7fffa3d445f0 sp 0x7fffa3d445e8 > WRITE of size 8 at 0x60b0000483f0 thread T0
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1831772==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f9c4c5a8f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,359 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1831866==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fa1f6b83f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1831122==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc7e0dc6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1831256==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdd7d6e9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,121 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:21: runtime error: member call on address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 1f 00 00 74 b0 05 b5 04 00 00 00 00 98 28 03 00 80 61 00 00 07 00 00 00 00 00 00 00 54 6f 43 5f > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'MSBaseVehicle' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:21 in > /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6678:9: runtime error: member access within address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 1f 00 00 74 b0 05 b5 04 00 00 00 00 98 28 03 00 80 61 00 00 07 00 00 00 00 00 00 00 54 6f 43 5f > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'MSBaseVehicle' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6678:9 in > /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6681:13: runtime error: member access within address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 1f 00 00 74 b0 05 b5 04 00 00 00 00 98 28 03 00 80 61 00 00 07 00 00 00 00 00 00 00 54 6f 43 5f > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'MSBaseVehicle' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6681:13 in > /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:37: runtime error: member call on address 0x61100006d500 which does not point to an object of type 'MSVehicle::Influencer' > 0x61100006d500: note: object has invalid vptr > 2b 00 80 39 31 00 00 20 00 00 00 00 00 00 00 00 be be be be f0 d6 18 00 30 60 00 00 10 d7 18 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > invalid vptr <truncated after showing first 30 lines> ---------- Differences in fcd ---------- 1389,1508c1389 < <vehicle id="ToC_veh" x="285.90" y="2407.16" angle="198.00" type="automated@ToC_veh" speed="8.02" pos="41.65" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="462.00"> < <vehicle id="ToC_veh" x="283.79" y="2400.67" angle="198.00" type="automated@ToC_veh" speed="6.82" pos="48.47" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="463.00"> < <vehicle id="ToC_veh" x="282.06" y="2395.33" angle="198.00" type="automated@ToC_veh" speed="5.62" pos="54.09" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="464.00"> < <vehicle id="ToC_veh" x="280.69" y="2391.13" angle="198.00" type="automated@ToC_veh" speed="4.42" pos="58.51" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="465.00"> < <vehicle id="ToC_veh" x="279.70" y="2388.06" angle="198.00" type="automated@ToC_veh" speed="3.22" pos="61.73" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="466.00"> < <vehicle id="ToC_veh" x="279.07" y="2386.14" angle="198.00" type="automated@ToC_veh" speed="2.02" pos="63.74" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="467.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.82" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="468.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.00" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="469.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.00" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="470.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.00" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> <truncated after showing first 30 lines> ---------- Differences in toc ---------- 2a3,4 > <!-- generated on 2022-07-29 05:06:46 by Eclipse SUMO sumo Version v1_14_1+0107-976f3cf5084 > <configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd"> 4,17c6,28 < <ToCDeviceLog> < <MRM id="ToC_veh" t="102.00" lane="3/1to4/1_0" lanePos="928.87" x="1151.17" y="3027.41"/> < <ToCup id="ToC_veh" t="202.00" lane="4/1to5/1_0" lanePos="114.71" x="1002.27" y="2959.05"/> < <TOR id="ToC_veh" t="207.00" lane="4/1to5/1_0" lanePos="153.71" x="970.72" y="2936.12"/> < <MRM id="ToC_veh" t="217.00" lane="4/1to5/1_0" lanePos="283.71" x="865.55" y="2859.71"/> < <ToCup id="ToC_veh" t="302.00" lane="4/1to5/1_0" lanePos="360.71" x="803.25" y="2814.45"/> < <TOR id="ToC_veh" t="302.00" lane="4/1to5/1_0" lanePos="360.71" x="803.25" y="2814.45"/> < <ToCdown id="ToC_veh" t="325.00" lane="4/1to5/1_0" lanePos="360.71" x="803.25" y="2814.45"/> < <MRM id="ToC_veh" t="332.00" lane="4/1to5/1_0" lanePos="407.66" x="765.27" y="2786.86"/> < <ToCup id="ToC_veh" t="402.00" lane="4/1to5/1_0" lanePos="470.06" x="714.79" y="2750.18"/> < <TOR id="ToC_veh" t="402.00" lane="4/1to5/1_0" lanePos="470.06" x="714.79" y="2750.18"/> < <ToCdown id="ToC_veh" t="425.00" lane="4/1to5/1_0" lanePos="470.06" x="714.79" y="2750.18"/> < <MRM id="ToC_veh" t="452.00" lane="4/1to5/1_0" lanePos="891.63" x="373.74" y="2502.39"/> < </ToCDeviceLog> --- > <input> > <net-file value="input_net.net.xml"/> > <route-files value="input_routes.rou.xml"/> > <additional-files value="input_additional.add.xml"/> > </input> > > <output> > <fcd-output value="fcd.xml"/> > </output> > > <processing> <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1831362==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8dd875e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1832236==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fed1cf29082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1832050==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fde1abe1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1832116==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd749b18082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,121 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:21: runtime error: member call on address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 2f 00 80 45 b0 05 b5 04 00 00 00 00 98 28 03 00 80 61 00 00 07 00 00 00 00 00 00 00 54 6f 43 5f > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'MSBaseVehicle' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:21 in > /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6678:9: runtime error: member access within address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 2f 00 80 45 b0 05 b5 04 00 00 00 00 98 28 03 00 80 61 00 00 07 00 00 00 00 00 00 00 54 6f 43 5f > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'MSBaseVehicle' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6678:9 in > /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6681:13: runtime error: member access within address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 2f 00 80 45 b0 05 b5 04 00 00 00 00 98 28 03 00 80 61 00 00 07 00 00 00 00 00 00 00 54 6f 43 5f > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'MSBaseVehicle' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6681:13 in > /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:37: runtime error: member call on address 0x61100006d500 which does not point to an object of type 'MSVehicle::Influencer' > 0x61100006d500: note: object has invalid vptr > 23 00 80 0e 32 00 00 6e 00 00 00 00 00 00 00 00 be be be be 20 d7 18 00 30 60 00 00 40 d7 18 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > invalid vptr <truncated after showing first 30 lines> ---------- Differences in fcd ---------- 1389,1508c1389 < <vehicle id="ToC_veh" x="285.90" y="2407.16" angle="198.00" type="automated@ToC_veh" speed="8.02" pos="41.65" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="462.00"> < <vehicle id="ToC_veh" x="283.79" y="2400.67" angle="198.00" type="automated@ToC_veh" speed="6.82" pos="48.47" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="463.00"> < <vehicle id="ToC_veh" x="282.06" y="2395.33" angle="198.00" type="automated@ToC_veh" speed="5.62" pos="54.09" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="464.00"> < <vehicle id="ToC_veh" x="280.69" y="2391.13" angle="198.00" type="automated@ToC_veh" speed="4.42" pos="58.51" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="465.00"> < <vehicle id="ToC_veh" x="279.70" y="2388.06" angle="198.00" type="automated@ToC_veh" speed="3.22" pos="61.73" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="466.00"> < <vehicle id="ToC_veh" x="279.07" y="2386.14" angle="198.00" type="automated@ToC_veh" speed="2.02" pos="63.74" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="467.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.82" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="468.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.00" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="469.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.00" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="470.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.00" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> <truncated after showing first 30 lines> ---------- Differences in tocs ---------- 2a3,4 > <!-- generated on 2022-07-29 05:07:19 by Eclipse SUMO sumo Version v1_14_1+0107-976f3cf5084 > <configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd"> 4,17c6,28 < <ToCDeviceLog> < <MRM id="ToC_veh" t="102.00" lane="3/1to4/1_0" lanePos="928.87" x="1151.17" y="3027.41"/> < <ToCup id="ToC_veh" t="202.00" lane="4/1to5/1_0" lanePos="114.71" x="1002.27" y="2959.05"/> < <TOR id="ToC_veh" t="207.00" lane="4/1to5/1_0" lanePos="153.71" x="970.72" y="2936.12"/> < <MRM id="ToC_veh" t="217.00" lane="4/1to5/1_0" lanePos="283.71" x="865.55" y="2859.71"/> < <ToCup id="ToC_veh" t="302.00" lane="4/1to5/1_0" lanePos="360.71" x="803.25" y="2814.45"/> < <TOR id="ToC_veh" t="302.00" lane="4/1to5/1_0" lanePos="360.71" x="803.25" y="2814.45"/> < <ToCdown id="ToC_veh" t="325.00" lane="4/1to5/1_0" lanePos="360.71" x="803.25" y="2814.45"/> < <MRM id="ToC_veh" t="332.00" lane="4/1to5/1_0" lanePos="407.66" x="765.27" y="2786.86"/> < <ToCup id="ToC_veh" t="402.00" lane="4/1to5/1_0" lanePos="470.06" x="714.79" y="2750.18"/> < <TOR id="ToC_veh" t="402.00" lane="4/1to5/1_0" lanePos="470.06" x="714.79" y="2750.18"/> < <ToCdown id="ToC_veh" t="425.00" lane="4/1to5/1_0" lanePos="470.06" x="714.79" y="2750.18"/> < <MRM id="ToC_veh" t="452.00" lane="4/1to5/1_0" lanePos="891.63" x="373.74" y="2502.39"/> < </ToCDeviceLog> --- > <input> > <net-file value="input_net.net.xml"/> > <route-files value="input_routes.rou.xml"/> > <additional-files value="input_additional.add.xml"/> > </input> > > <output> > <fcd-output value="fcd.xml"/> > </output> > > <processing> <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,295 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1832233==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9ccaf25082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9ccaf25082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,295 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1832415==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f463efeb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f463efeb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,297 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1832423==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb801320082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,6 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in 5a12,325 > > ================================================================= > ==1832839==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6afe601082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,6 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in 4a11,324 > > ================================================================= > ==1832799==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f011ea81082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==1833880==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8d859db082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,35 > /home/delphi/clangDebug/sumo/src/utils/emissions/PollutantsInterface.cpp:131:30: runtime error: implicit conversion from type 'int' of value -32769 (32-bit, signed) to type 'unsigned int' changed the value to 4294934527 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/emissions/PollutantsInterface.cpp:131:30 in > > ================================================================= > ==1830726==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 304 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x2461135 in MSEmissionExport::write(OutputDevice&, long long, int) /home/delphi/clangDebug/sumo/src/microsim/output/MSEmissionExport.cpp:64:26 > #3 0x589cc4 in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:910:9 > #4 0x56e08c in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:721:5 > #5 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #6 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #7 0x7f8cb4426082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 96 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c46120 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x2c4604d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x2c45cfc in std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x2c4bee2 in std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> >* std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gn u/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x2c4b8f3 in std::_Rb_tree_iterator<std::pair<SumoXMLAttr const, double> > std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<SumoXMLAttr const, double> >, std::piecewise_construct_t const&, std:: tuple<SumoXMLAttr const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x2c38a46 in std::map<SumoXMLAttr, double, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::operator[](SumoXMLAttr const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:499:15 > #7 0x2c34945 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa27bbe in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xab5e9a in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4316:5 > #10 0xf8542a in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1976:33 > #11 0xe79bb2 in MSEdgeControl::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:228:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,1470 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1830705==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa8c83a5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa8c83a5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,950 > AddressSanitizer:DEADLYSIGNAL > ================================================================= > ==1841844==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000028 (pc 0x00000186e6cd bp 0x7ffea8cb1eb0 sp 0x7ffea8cb1a80 T0) > ==1841844==The signal is caused by a READ memory access. > ==1841844==Hint: address points to the zero page. > #0 0x186e6cd in NLJunctionControlBuilder::closeJunction(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/netload/NLJunctionControlBuilder.cpp:152:15 > #1 0x17c2795 in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:317:46 > #2 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #3 0x7f2945f795fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135fe) > #4 0x7f2945f487c0 in xercesc_3_2::WFXMLScanner::scanStartTagNS(bool&) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e27c0) > #5 0x7f2945f49311 in xercesc_3_2::WFXMLScanner::scanContent() (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e3311) > #6 0x7f2945f4954f in xercesc_3_2::WFXMLScanner::scanDocument(xercesc_3_2::InputSource const&) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e354f) > #7 0x7f2945f79d52 in xercesc_3_2::SAX2XMLReaderImpl::parse(xercesc_3_2::InputSource const&) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x213d52) > #8 0x30c2035 in SUMOSAXReader::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) /home/delphi/clangDebug/sumo/src/utils/xml/SUMOSAXReader.cpp:105:18 > #9 0x31e217b in XMLSubSys::runParser(GenericSAXHandler&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool) /home/delphi/clangDebug/sumo/src/utils/xml/XMLSubSys.cpp:166:42 > #10 0x176fc55 in NLBuilder::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:411:14 > #11 0x1764cd4 in NLBuilder::build() /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:124:10 > #12 0x1775b89 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:330:17 > #13 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #14 0x7f2944cc7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > #15 0x4a845d in _start (/home/delphi/clangDebug/sumo/bin/sumoD+0x4a845d) > > AddressSanitizer can not provide additional info. > SUMMARY: AddressSanitizer: SEGV /home/delphi/clangDebug/sumo/src/netload/NLJunctionControlBuilder.cpp:152:15 in NLJunctionControlBuilder::closeJunction(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) > ==1841844==ABORTING > AddressSanitizer:DEADLYSIGNAL > ================================================================= > ==1841880==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000028 (pc 0x00000186e6cd bp 0x7ffd68bd8850 sp 0x7ffd68bd8420 T0) > ==1841880==The signal is caused by a READ memory access. <truncated after showing first 30 lines> ---------- Differences in output ---------- 3,6c3,6 < Durations int.net.xml: count 19, min 302.87 (110), max 306.35 (140), mean 304.42, Q1 303.15, median 303.95, Q3 306.35 < Durations with junction control int.net.xml: count 19, min 303.84 (20), max 414.73 (140), mean 373.29, Q1 320.49, median 382.65, Q3 414.73 < Deviation int.net.xml meso vs. micro: 0.288849079199 < Deviation int.net.xml meso jc vs. micro: 0.127948123357 --- > Durations int.net.xml: count 19, min 428.06 (10), max 428.06 (10), mean 428.06, Q1 428.06, median 428.06, Q3 428.06 > Durations with junction control int.net.xml: count 19, min 428.06 (10), max 428.06 (10), mean 428.06, Q1 428.06, median 428.06, Q3 428.06 > Deviation int.net.xml meso vs. micro: -5.311724418147738e-16 > Deviation int.net.xml meso jc vs. micro: -5.311724418147738e-16
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1830668==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f620b4d8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f620b4d8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,37 > > ================================================================= > ==1830789==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 304 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x23de75c in MSMeanData_Emissions::MSLaneMeanDataValues::notifyMoveInternal(SUMOTrafficObject const&, double, double, double, double, double, double, double) /home/delphi/clangDebug/sumo/src/microsim/output/MSMeanData_Emissions.cpp:81:68 > #3 0x23a3420 in MSMeanData::MeanDataValues::notifyMove(SUMOTrafficObject&, double, double, double) /home/delphi/clangDebug/sumo/src/microsim/output/MSMeanData.cpp:254:5 > #4 0xa263b7 in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1106:26 > #5 0xab5e9a in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4316:5 > #6 0xf8542a in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1976:33 > #7 0xe79bb2 in MSEdgeControl::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:228:19 > #8 0x56b506 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:666:18 > #9 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #10 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #11 0x7efe6f83c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 96 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c46120 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x2c4604d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x2c45cfc in std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x2c4bee2 in std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> >* std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gn u/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x2c4b8f3 in std::_Rb_tree_iterator<std::pair<SumoXMLAttr const, double> > std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<SumoXMLAttr const, double> >, std::piecewise_construct_t const&, std:: tuple<SumoXMLAttr const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x2c38a46 in std::map<SumoXMLAttr, double, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::operator[](SumoXMLAttr const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:499:15 > #7 0x2c34945 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa27bbe in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xab5e9a in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4316:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,314 > > ================================================================= > ==1839923==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7faa62e11f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,336 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839938==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 10 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f5939ffc5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120aa6d in TraCIServer::transportableStateChanged(MSTransportable const*, MSNet::TransportableState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:425:54 > #7 0x59d856 in MSNet::informTransportableStateListener(MSTransportable const*, MSNet::TransportableState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1198:19 > #8 0x254ec84 in MSTransportableControl::checkWaiting(MSNet*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportableControl.cpp:192:39 > #9 0x56c162 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:682:26 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839906==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7ff6fc8edf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,314 > > ================================================================= > ==1839913==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f166c8c7f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839866==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fd36acabf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,314 > > ================================================================= > ==1839905==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f36aafe1f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839927==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7efd2a185f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840329==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840417==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840349==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840338==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840424==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840376==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840343==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840427==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840382==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840313==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840386==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,325 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840345==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,314 > > ================================================================= > ==1839768==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f697f9d0f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839763==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 142 (8-bit, unsigned) to type 'char' changed the value to -114 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -114 (8-bit, signed) to type 'unsigned char' changed the value to 142 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,318 > > ================================================================= > ==1839841==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 10 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fb96b8bf5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120aa6d in TraCIServer::transportableStateChanged(MSTransportable const*, MSNet::TransportableState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:425:54 > #7 0x59d856 in MSNet::informTransportableStateListener(MSTransportable const*, MSNet::TransportableState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1198:19 > #8 0x254ec84 in MSTransportableControl::checkWaiting(MSNet*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportableControl.cpp:192:39 > #9 0x56c162 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:682:26 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,336 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839863==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 10 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f18111fe5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120aa6d in TraCIServer::transportableStateChanged(MSTransportable const*, MSNet::TransportableState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:425:54 > #7 0x59d856 in MSNet::informTransportableStateListener(MSTransportable const*, MSNet::TransportableState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1198:19 > #8 0x254ec84 in MSTransportableControl::checkWaiting(MSNet*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportableControl.cpp:192:39 > #9 0x56c162 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:682:26 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839767==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fbd174b5f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839765==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f3167e96f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840205==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f3e31fd3f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840199==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f33f9366f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840169==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f78cdccbf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840178==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fc8ae86bf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840206==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840168==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1f0607e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1f0607e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839939==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f28f848bf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839940==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f1a52fb0f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840051==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f7c3b187f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840029==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fb772f1ff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839994==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f560ac96f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840005==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fec97ba7f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839954==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f3f62d61f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839980==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f94bf195f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840063==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7ff497b24f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840161==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f011390bf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840127==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fa981e09f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840087==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f5ae19d9f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840119==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f83afc3cf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840108==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f6737676f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840162==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f3c231eaf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840260==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f0474e69f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840268==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fb903443f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840276==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7efc7305ef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840297==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fd89be3df52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 28a33,361 > > ================================================================= > ==1840322==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 10 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fb7378325ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120aa6d in TraCIServer::transportableStateChanged(MSTransportable const*, MSNet::TransportableState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:425:54 > #7 0x59d856 in MSNet::informTransportableStateListener(MSTransportable const*, MSNet::TransportableState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1198:19 > #8 0x254ec84 in MSTransportableControl::checkWaiting(MSNet*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportableControl.cpp:192:39 > #9 0x56c162 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:682:26 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840243==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fccf9f1cf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840233==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f4907237f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840208==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f69e1aa9f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840059==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8e3cfe6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8e3cfe6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840060==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7dfcce8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7dfcce8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840062==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7317d83082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7317d83082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840057==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efc10e0f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7efc10e0f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840061==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb68f9e8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb68f9e8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1837865==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f359abda082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f359abda082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838915==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f443dc78f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838914==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838969==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fddb4371082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fddb4371082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,333 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1837948==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb43ae54082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb43ae54082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,315 > > ================================================================= > ==1838023==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f95b0628082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 6a11,372 > > ================================================================= > ==1838091==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fae9f7d0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,275 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838144==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f33ee657082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f33ee657082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838154==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2e3d854082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2e3d854082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838212==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 163 (8-bit, unsigned) to type 'char' changed the value to -93 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -93 (8-bit, signed) to type 'unsigned char' changed the value to 163 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838242==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa630740082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa630740082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 135 (8-bit, unsigned) to type 'char' changed the value to -121 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -121 (8-bit, signed) to type 'unsigned char' changed the value to 135 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838251==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f257cac3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f257cac3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,289 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838340==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd8291 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd4e19 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f73fb840f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 1a2,290 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838407==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd8291 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd4e19 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7efdbca6ff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,289 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838403==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd8291 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd4e19 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f7375ef2f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,583 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 197 (8-bit, unsigned) to type 'char' changed the value to -59 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -59 (8-bit, signed) to type 'unsigned char' changed the value to 197 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838405==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa3b8b46082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa3b8b46082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838406==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc87f22d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc87f22d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,335 > > ================================================================= > ==1838424==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fabd148c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,295 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838430==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3a9d95e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3a9d95e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,255 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838479==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f99c1cde082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f99c1cde082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,255 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 240 (8-bit, unsigned) to type 'char' changed the value to -16 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -16 (8-bit, signed) to type 'unsigned char' changed the value to 240 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838510==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8f52977082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8f52977082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,255 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838541==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbcda5bf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fbcda5bf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838562==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa215090082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa215090082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,323 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838559==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 120 byte(s) in 1 object(s) allocated from: > #0 0x55041d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55041d) > #1 0x307bdcd in OptionsIO::setArgs(int, char**) /home/delphi/clangDebug/sumo/src/utils/options/OptionsIO.cpp:61:24 > #2 0x5540b6 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:92:9 > #3 0x7f02f3340082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 4096 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,311 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838573==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc00ef9 in MSVehicleControl::removePending() /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:157:31 > #9 0xe7a693 in MSEdgeControl::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:240:47 > #10 0x56b506 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:666:18 > #11 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #12 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #13 0x7fdbac937082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838571==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff21d40b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff21d40b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838580==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff522992082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff522992082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,314 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 134 (8-bit, unsigned) to type 'char' changed the value to -122 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -122 (8-bit, signed) to type 'unsigned char' changed the value to 134 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838594==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1b767bf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1b767bf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,255 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838653==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb63f23d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb63f23d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838668==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f50371c1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f50371c1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,335 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 134 (8-bit, unsigned) to type 'char' changed the value to -122 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -122 (8-bit, signed) to type 'unsigned char' changed the value to 134 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838673==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3dbf063082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3dbf063082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,398 > > ================================================================= > ==1838693==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x1792d9c in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7f2c8fc215ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2c8e96f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,295 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838706==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x1792d9c in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7f95b23f05ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f95b113e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,278 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838721==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fd9ad0c15ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd9abe0f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838729==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efc8277c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202908 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7efc8277c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 1a2,335 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838756==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fec6717f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fec6717f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 3a8,315 > > ================================================================= > ==1838804==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8231117082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 131 (8-bit, unsigned) to type 'char' changed the value to -125 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -125 (8-bit, signed) to type 'unsigned char' changed the value to 131 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838808==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2ccfcd7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2ccfcd7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,930 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838849==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f59162f4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f59162f4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,276 > > ================================================================= > ==1838845==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f029fc76082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,255 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838857==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f61fe8ba082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f61fe8ba082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,311 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838860==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5f2adda082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5f2adda082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838875==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcf57c63082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fcf57c63082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,502 > > ================================================================= > ==1838906==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f77ff6e2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f77ff6e2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 175 (8-bit, unsigned) to type 'char' changed the value to -81 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -81 (8-bit, signed) to type 'unsigned char' changed the value to 175 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843640==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0cc9393082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0cc9393082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,255 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 175 (8-bit, unsigned) to type 'char' changed the value to -81 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -81 (8-bit, signed) to type 'unsigned char' changed the value to 175 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843636==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f774f876082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f774f876082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 1a2,5 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 156 (8-bit, unsigned) to type 'char' changed the value to -100 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -100 (8-bit, signed) to type 'unsigned char' changed the value to 156 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,328 > > ================================================================= > ==1843632==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 528 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x20fcda5 in MSCalibrator::setFlow(long long, long long, double, double, SUMOVehicleParameter) /home/delphi/clangDebug/sumo/src/microsim/trigger/MSCalibrator.cpp:701:30 > #2 0x158b749 in libsumo::Calibrator::setFlow(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::all ocator<char> > const&) /home/delphi/clangDebug/sumo/src/libsumo/Calibrator.cpp:172:34 > #3 0x12d6ccd in TraCIServerAPI_Calibrator::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Calibrator.cpp:78:17 > #4 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #5 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #6 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #7 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #8 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #9 0x7fa078073082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843662==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa67d934082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa67d934082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,24 > > ================================================================= > ==1835102==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58d9cd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58d9cd) > #1 0x7fab55ca02f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x5fd137 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 > #2 0x5cfe47 in GUIApplicationWindow::dependentBuild(bool) /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:266:5 > #3 0x5c0917 in main /home/delphi/clangDebug/sumo/src/guisim_main.cpp:86:17 > #4 0x7fab51be1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 2 object(s) allocated from: > #0 0x58db42 in calloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58db42) > #1 0x7fab55ca093c (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x2193c) > > Indirect leak of 9 byte(s) in 1 object(s) allocated from: > #0 0x579d74 in strdup (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x579d74) > #1 0x7fab55c9fb64 in FcValueSave (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x20b64) > > SUMMARY: AddressSanitizer: 617 byte(s) leaked in 6 allocation(s).
---------- Differences in errors ---------- 0a1,1718 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1837310==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fadd4918082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fadd4918082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,2004 > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1837370==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58d9cd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58d9cd) > #1 0x7f740124d2f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x7f73eab910cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x5fd137 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1837539==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fef0fcda082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fef0fcda082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1837588==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58d9cd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58d9cd) > #1 0x7f7ffb62d2f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x7f7fe43160cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x5fd137 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,588 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 166 (8-bit, unsigned) to type 'char' changed the value to -90 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -90 (8-bit, signed) to type 'unsigned char' changed the value to 166 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 166 (8-bit, unsigned) to type 'char' changed the value to -90 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -90 (8-bit, signed) to type 'unsigned char' changed the value to 166 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1837769==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd194ac5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,2352 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 185 (8-bit, unsigned) to type 'char' changed the value to -71 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -71 (8-bit, signed) to type 'unsigned char' changed the value to 185 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1836350==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f89a4154082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f89a4154082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,2352 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 240 (8-bit, unsigned) to type 'char' changed the value to -16 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -16 (8-bit, signed) to type 'unsigned char' changed the value to 240 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1835916==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4f8af84082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4f8af84082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,2824 > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 240 (8-bit, unsigned) to type 'char' changed the value to -16 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -16 (8-bit, signed) to type 'unsigned char' changed the value to 240 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1836118==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58d9cd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58d9cd) > #1 0x7fd6ac90c2f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x7fd6955f60cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x5fd137 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,620 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1837231==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f08f3c6e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f08f3c6e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,1176 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 185 (8-bit, unsigned) to type 'char' changed the value to -71 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -71 (8-bit, signed) to type 'unsigned char' changed the value to 185 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1836319==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 448 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0c88848082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 256 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0c88848082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,620 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 240 (8-bit, unsigned) to type 'char' changed the value to -16 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -16 (8-bit, signed) to type 'unsigned char' changed the value to 240 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1837350==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4082f6e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4082f6e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,1176 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 185 (8-bit, unsigned) to type 'char' changed the value to -71 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -71 (8-bit, signed) to type 'unsigned char' changed the value to 185 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1836386==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 448 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fafc3303082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 256 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fafc3303082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 2a3,262 > > ================================================================= > ==1837011==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f898f294082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f898f294082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,1764 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1835319==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fad44814082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,2118 > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,5880 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1835275==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6a7a40a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6a7a40a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,7060 > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1835287==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58d9cd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58d9cd) > #1 0x7f7ef39e02f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x7f7edc6c90cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x5fd137 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839474==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f8ed662d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8ed537b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839483==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fc8b5f365ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc8b4c84082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839533==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f9f157505ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9f1449e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839532==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f26110c95ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f260fe17082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839486==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fc47f3d45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc47e122082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839489==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f08e8c805ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f08e79ce082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 175 (8-bit, unsigned) to type 'char' changed the value to -81 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -81 (8-bit, signed) to type 'unsigned char' changed the value to 175 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,70 > ================================================================= > ==1839470==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b000048ce0 at pc 0x00000120710b bp 0x7fffb7fb9630 sp 0x7fffb7fb9628 > WRITE of size 8 at 0x60b000048ce0 thread T0 > #0 0x120710a in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x120621f in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x1209513 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x555882 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5 > #4 0x7f516b3df082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > #5 0x4a845d in _start (/home/delphi/clangDebug/sumo/bin/sumoD+0x4a845d) > > 0x60b000048ce0 is located 0 bytes inside of 112-byte region [0x60b000048ce0,0x60b000048d50) > freed by thread T0 here: > #0 0x550b6d in operator delete(void*) (/home/delphi/clangDebug/sumo/bin/sumoD+0x550b6d) > #1 0x12060b7 in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:363:9 > #2 0x1209513 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x555882 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5 > #4 0x7f516b3df082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > previously allocated by thread T0 here: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,381 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839760==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f472da6f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839626==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f2ec97405ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2ec848e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839706==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f885ad945ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8859ae2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839536==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f273af935ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2739ce1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839540==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f69880c45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6986e12082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839539==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f127789b5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f12765e9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839603==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fba31c615ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fba309af082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839447==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f95d94495ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f95d8197082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839464==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f5c303095ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5c2f057082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,352 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 170 (8-bit, unsigned) to type 'char' changed the value to -86 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -86 (8-bit, signed) to type 'unsigned char' changed the value to 170 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/emissions/PollutantsInterface.cpp:131:30: runtime error: implicit conversion from type 'int' of value -32769 (32-bit, signed) to type 'unsigned int' changed the value to 4294934527 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/emissions/PollutantsInterface.cpp:131:30 in > > ================================================================= > ==1840476==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fbd35fcd5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 152 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13c410b in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x13b04b6 in double MSLane::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSLane.h:1095:23 > #4 0x13a20f1 in libsumo::Edge::getCO2Emission(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/libsumo/Edge.cpp:131:22 > #5 0x13ac71f in libsumo::Edge::handleVariable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, libsumo::VariableWrapper*, tcpip::Storage*) /home/delphi/clangDebug/sumo/src/libsumo/Edge.cpp:385:57 > #6 0x1288b6f in TraCIServerAPI_Edge::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Edge.cpp:53:14 > #7 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #8 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #9 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 6a7,380 > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 204 (8-bit, unsigned) to type 'char' changed the value to -52 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -52 (8-bit, signed) to type 'unsigned char' changed the value to 204 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1835017==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1824 byte(s) in 12 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0xabe69b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x1522062 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0x1e9c050 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0x203b100 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xaed8e2 in GUIVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/guisim/GUIVehicleControl.cpp:53:5 > #6 0x176061d in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #7 0x1a81b1f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #8 0x8f5eae in GUINet::simulationStep() /home/delphi/clangDebug/sumo/src/guisim/GUINet.cpp:232:12 > #9 0x6d0e28 in GUIRunThread::makeStep() /home/delphi/clangDebug/sumo/src/gui/GUIRunThread.cpp:186:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 172 (8-bit, unsigned) to type 'char' changed the value to -84 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -84 (8-bit, signed) to type 'unsigned char' changed the value to 172 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1834817==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58d9cd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58d9cd) > #1 0x7f1a59a932f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x7f1a4277b0cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x5fd137 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,539 > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 200 (8-bit, unsigned) to type 'char' changed the value to -56 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -56 (8-bit, signed) to type 'unsigned char' changed the value to 200 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1834789==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58d9cd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58d9cd) > #1 0x7f9feb3132f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x7f9fd3ffe0cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x5fd137 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,377 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > > ================================================================= > ==1834813==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58d9cd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58d9cd) > #1 0x7f4fbdac92f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x7f4fa6c4b0cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bd13d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bd13d) > #1 0x5fd137 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 160 (8-bit, unsigned) to type 'char' changed the value to -96 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -96 (8-bit, signed) to type 'unsigned char' changed the value to 160 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843262==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f2951d9ff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,255 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843267==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3f0385a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3f0385a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 160 (8-bit, unsigned) to type 'char' changed the value to -96 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -96 (8-bit, signed) to type 'unsigned char' changed the value to 160 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843345==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f51eec735ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f51ed9c1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,278 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 160 (8-bit, unsigned) to type 'char' changed the value to -96 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -96 (8-bit, signed) to type 'unsigned char' changed the value to 160 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843294==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f22a31025ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f22a1e50082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 160 (8-bit, unsigned) to type 'char' changed the value to -96 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -96 (8-bit, signed) to type 'unsigned char' changed the value to 160 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843296==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7ff60126e5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff5fffbc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 169 (8-bit, unsigned) to type 'char' changed the value to -87 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -87 (8-bit, signed) to type 'unsigned char' changed the value to 169 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842845==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbf801fc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fbf801fc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,255 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 163 (8-bit, unsigned) to type 'char' changed the value to -93 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -93 (8-bit, signed) to type 'unsigned char' changed the value to 163 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840470==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffbb8196082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ffbb8196082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,329 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 163 (8-bit, unsigned) to type 'char' changed the value to -93 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -93 (8-bit, signed) to type 'unsigned char' changed the value to 163 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/emissions/PollutantsInterface.cpp:131:30: runtime error: implicit conversion from type 'int' of value -32769 (32-bit, signed) to type 'unsigned int' changed the value to 4294934527 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/emissions/PollutantsInterface.cpp:131:30 in > > ================================================================= > ==1840428==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 152 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13c410b in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x13b04b6 in double MSLane::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSLane.h:1095:23 > #4 0x14df26c in libsumo::Lane::getCO2Emission(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) /home/delphi/clangDebug/sumo/src/libsumo/Lane.cpp:152:29 > #5 0x14e92fd in libsumo::Lane::handleVariable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, libsumo::VariableWrapper*, tcpip::Storage*) /home/delphi/clangDebug/sumo/src/libsumo/Lane.cpp:425:57 > #6 0x1296ac3 in TraCIServerAPI_Lane::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Lane.cpp:50:14 > #7 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #8 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #9 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7fa0b5518082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,255 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 163 (8-bit, unsigned) to type 'char' changed the value to -93 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -93 (8-bit, signed) to type 'unsigned char' changed the value to 163 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840473==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2eca9f6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2eca9f6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,329 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 163 (8-bit, unsigned) to type 'char' changed the value to -93 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -93 (8-bit, signed) to type 'unsigned char' changed the value to 163 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/emissions/PollutantsInterface.cpp:131:30: runtime error: implicit conversion from type 'int' of value -32769 (32-bit, signed) to type 'unsigned int' changed the value to 4294934527 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/emissions/PollutantsInterface.cpp:131:30 in > > ================================================================= > ==1840469==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 152 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13c410b in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x13b04b6 in double MSLane::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSLane.h:1095:23 > #4 0x14df26c in libsumo::Lane::getCO2Emission(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) /home/delphi/clangDebug/sumo/src/libsumo/Lane.cpp:152:29 > #5 0x14e92fd in libsumo::Lane::handleVariable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, libsumo::VariableWrapper*, tcpip::Storage*) /home/delphi/clangDebug/sumo/src/libsumo/Lane.cpp:425:57 > #6 0x1296ac3 in TraCIServerAPI_Lane::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Lane.cpp:50:14 > #7 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #8 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #9 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7f6d09daa082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843348==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f89d8d02082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f89d8d02082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843363==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1c0fd0c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1c0fd0c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,255 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843372==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1931ca2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1931ca2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843347==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f43453cf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f43453cf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,251 > > ================================================================= > ==1843706==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2e649b9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2e649b9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,8 > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/../tests/complex/traci/misc/libsumo_option_list_append/runner.py", line 28, in <module> > import libsumo # noqa > File "/home/delphi/clangDebug/sumo/tools/libsumo/__init__.py", line 30, in <module> > from .libsumo import vehicle, simulation, person, trafficlight # noqa > File "/home/delphi/clangDebug/sumo/tools/libsumo/libsumo.py", line 13, in <module> > from . import _libsumo > ImportError: /home/delphi/clangDebug/sumo/tools/libsumo/_libsumo.so: undefined symbol: __ubsan_vptr_type_cache ---------- Differences in output ---------- 1,12d0 < Loading net-file from 'input_net.net.xml' ... done ((TIME)). < Loading additional-files from 'input_additional2.add.xml' ... done ((TIME)). < Loading additional-files from 'input_additional.add.xml' ... done ((TIME)). < Loading done. < Simulation started via Libsumo with time: 0.00 < Reason: Libsumo requested termination. < -- Unordered text as found by filter '^Simulation ended at time:' -- < Simulation ended at time: 10.00 < < -- Unordered text as found by filter '^Loading configuration ... done.' -- < Loading configuration ... done. <
---------- Differences in errors ---------- 0a1,317 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838987==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f90937c35ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9092511082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,317 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1838999==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fddd6c7a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fddd59c8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,317 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839020==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f549dc825ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f549c9d0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,337 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 143 (8-bit, unsigned) to type 'char' changed the value to -113 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -113 (8-bit, signed) to type 'unsigned char' changed the value to 143 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839180==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x16d8919 in libsumo::Vehicle::add(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::b asic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<cha r> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int) /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:1429:61 > #11 0x137f455 in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:1103:17 > #12 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #13 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #14 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #15 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #16 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #17 0x7fd302722082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,304 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 131 (8-bit, unsigned) to type 'char' changed the value to -125 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -125 (8-bit, signed) to type 'unsigned char' changed the value to 131 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839400==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 4576 byte(s) in 22 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x15eb3be in libsumo::Simulation::findIntermodalRoute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int, double, double, double, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/libsumo/Simulation.cpp:682:51 > #2 0x12fa942 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f0c4ddcb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,304 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 131 (8-bit, unsigned) to type 'char' changed the value to -125 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -125 (8-bit, signed) to type 'unsigned char' changed the value to 131 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839403==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 4576 byte(s) in 22 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x15eb3be in libsumo::Simulation::findIntermodalRoute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int, double, double, double, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/libsumo/Simulation.cpp:682:51 > #2 0x12fa942 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f274eac4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,304 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 131 (8-bit, unsigned) to type 'char' changed the value to -125 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -125 (8-bit, signed) to type 'unsigned char' changed the value to 131 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839401==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 4576 byte(s) in 22 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x15eb3be in libsumo::Simulation::findIntermodalRoute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int, double, double, double, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/libsumo/Simulation.cpp:682:51 > #2 0x12fa942 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f6190f7f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,304 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839446==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 416 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x15eb3be in libsumo::Simulation::findIntermodalRoute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int, double, double, double, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/libsumo/Simulation.cpp:682:51 > #2 0x12fa942 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7fd7bc23f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd7bc23f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839391==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fb9b1a6c5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb9b07ba082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839339==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f95bf68f5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f95be3dd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839345==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f733ae7b5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7339bc9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839390==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f39357505ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f393449e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,447 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839252==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f6fb7bf95ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6fb6947082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,447 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839240==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fda3a8ec5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fda3963a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,430 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 142 (8-bit, unsigned) to type 'char' changed the value to -114 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -114 (8-bit, signed) to type 'unsigned char' changed the value to 142 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839253==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f6dd339f5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6dd20ed082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,332 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839209==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7ef84a1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7ef84a1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,332 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839212==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff734666082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff734666082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,332 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839224==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6639605082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6639605082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,332 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839202==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f759d13e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f759d13e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,333 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839301==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb06a9fc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb06a9fc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,333 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839330==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f75217bd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f75217bd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,311 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839326==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4559ace082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4559ace082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,333 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839256==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3087a2d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3087a2d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,333 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839299==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0c23edc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0c23edc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,311 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839340==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2e1558d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2e1558d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 1a2,318 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 240 (8-bit, unsigned) to type 'char' changed the value to -16 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -16 (8-bit, signed) to type 'unsigned char' changed the value to 240 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839046==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f701ccb95ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,317 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839073==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fb6bc2e65ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb6bb034082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,634 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839142==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f6ba41c05ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6ba2f0e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,317 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839113==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f66c6d3c5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f66c5a8a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,317 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839131==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f31d807c5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f31d6dca082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,634 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1839067==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fe9f23bb5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe9f1109082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,313 > > ================================================================= > ==1839149==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f9ba129a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9b9ffe8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 161 (8-bit, unsigned) to type 'char' changed the value to -95 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -95 (8-bit, signed) to type 'unsigned char' changed the value to 161 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843378==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fea50ffe082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fea50ffe082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,444 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843673==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1216 byte(s) in 8 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x1e559fe in MSDevice_ElecHybrid::MSDevice_ElecHybrid(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ElecHybrid.cpp:162:43 > #3 0x1e54203 in MSDevice_ElecHybrid::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ElecHybrid.cpp:123:43 > #4 0x1b61467 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:117:5 > #5 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #6 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #7 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #8 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #9 0xee9c9d in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #10 0x56c84f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #11 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #12 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #13 0x7fc0b35b0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 384 byte(s) in 8 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c46120 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x2c4604d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x2c45cfc in std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,366 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843660==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efd25739082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7efd25739082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 170 (8-bit, unsigned) to type 'char' changed the value to -86 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -86 (8-bit, signed) to type 'unsigned char' changed the value to 170 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842744==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f4749b345ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4748882082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,433 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842734==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 480 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1309f1e in TraCIServerAPI_Simulation::readStage(TraCIServer&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:452:19 > #2 0x12ae849 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:237:55 > #3 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f4a22b35082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4a22b35082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,283 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 206 (8-bit, unsigned) to type 'char' changed the value to -50 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -50 (8-bit, signed) to type 'unsigned char' changed the value to 206 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842804==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f5e4ed165ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5e4da64082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 206 (8-bit, unsigned) to type 'char' changed the value to -50 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -50 (8-bit, signed) to type 'unsigned char' changed the value to 206 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,356 > > ================================================================= > ==1842799==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x1792d9c in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7fe92f1cb5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe92df19082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,355 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 206 (8-bit, unsigned) to type 'char' changed the value to -50 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -50 (8-bit, signed) to type 'unsigned char' changed the value to 206 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842802==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x1792d9c in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7f79c8b1a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f79c7868082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,283 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842653==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f6b9e6cb5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6b9d419082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,283 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842685==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f1c123ac5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1c110fa082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,283 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842676==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f7e76b175ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7e75865082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,283 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842681==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f722ae525ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7229ba0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,296 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842492==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a3968 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x1418567 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1532327 in libsumo::Person::moveToXY(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double, int, double) /home/delphi/clangDebug/sumo/src/libsumo/Person.cpp:967:9 > #4 0x12b7030 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f5c460fc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f5c473ae5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,292 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842515==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a3968 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x1418567 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1532327 in libsumo::Person::moveToXY(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double, int, double) /home/delphi/clangDebug/sumo/src/libsumo/Person.cpp:967:9 > #4 0x12b7030 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f8b4c355082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f8b4d6075ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,312 > > ================================================================= > ==1842563==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a3968 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x1418567 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1532327 in libsumo::Person::moveToXY(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double, int, double) /home/delphi/clangDebug/sumo/src/libsumo/Person.cpp:967:9 > #4 0x12b7030 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f0743f72082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f07452245ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,292 > > ================================================================= > ==1842565==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a3968 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x1418567 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1532327 in libsumo::Person::moveToXY(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double, int, double) /home/delphi/clangDebug/sumo/src/libsumo/Person.cpp:967:9 > #4 0x12b7030 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f6a0c1cd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f6a0d47f5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 8a13,302 > > ================================================================= > ==1842591==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a3968 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x1418567 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1532327 in libsumo::Person::moveToXY(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double, int, double) /home/delphi/clangDebug/sumo/src/libsumo/Person.cpp:967:9 > #4 0x12b7030 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f4ebe520082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f4ebf7d25ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,329 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 174 (8-bit, unsigned) to type 'char' changed the value to -82 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -82 (8-bit, signed) to type 'unsigned char' changed the value to 174 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842628==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a3968 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x1418567 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1532327 in libsumo::Person::moveToXY(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double, int, double) /home/delphi/clangDebug/sumo/src/libsumo/Person.cpp:967:9 > #4 0x12b7030 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f5f41b2d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f5f42ddf5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 174 (8-bit, unsigned) to type 'char' changed the value to -82 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -82 (8-bit, signed) to type 'unsigned char' changed the value to 174 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,372 > > ================================================================= > ==1842655==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a3968 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x1418567 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1532327 in libsumo::Person::moveToXY(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double, int, double) /home/delphi/clangDebug/sumo/src/libsumo/Person.cpp:967:9 > #4 0x12b7030 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fa485ac0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fa486d725ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,329 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 174 (8-bit, unsigned) to type 'char' changed the value to -82 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -82 (8-bit, signed) to type 'unsigned char' changed the value to 174 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842625==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a3968 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x1418567 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1532327 in libsumo::Person::moveToXY(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double, int, double) /home/delphi/clangDebug/sumo/src/libsumo/Person.cpp:967:9 > #4 0x12b7030 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f2275931082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f2276be35ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,292 > > ================================================================= > ==1842640==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a3968 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x1418567 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1532327 in libsumo::Person::moveToXY(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double, int, double) /home/delphi/clangDebug/sumo/src/libsumo/Person.cpp:967:9 > #4 0x12b7030 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f881c5d8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f881d88a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,347 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842549==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a3968 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x1418567 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1532327 in libsumo::Person::moveToXY(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double, int, double) /home/delphi/clangDebug/sumo/src/libsumo/Person.cpp:967:9 > #4 0x12b7030 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f1a67a3c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f1a68cee5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,291 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842519==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a3968 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x1418567 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1532327 in libsumo::Person::moveToXY(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double, int, double) /home/delphi/clangDebug/sumo/src/libsumo/Person.cpp:967:9 > #4 0x12b7030 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fc532deb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fc53409d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,331 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842536==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a3968 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x1418567 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1532327 in libsumo::Person::moveToXY(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double, int, double) /home/delphi/clangDebug/sumo/src/libsumo/Person.cpp:967:9 > #4 0x12b7030 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f3136d2d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f3137fdf5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,347 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842533==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a3968 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x1418567 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1532327 in libsumo::Person::moveToXY(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double, int, double) /home/delphi/clangDebug/sumo/src/libsumo/Person.cpp:967:9 > #4 0x12b7030 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fc4b5d0f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fc4b6fc15ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 174 (8-bit, unsigned) to type 'char' changed the value to -82 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -82 (8-bit, signed) to type 'unsigned char' changed the value to 174 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,292 > > ================================================================= > ==1842551==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x24a3968 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x1418567 in libsumo::Helper::setRemoteControlled(MSPerson*, Position, MSLane*, double, double, double, int, std::vector<MSEdge const*, std::allocator<MSEdge const*> >, long long) /home/delphi/clangDebug/sumo/src/libsumo/Helper.cpp:1411:8 > #3 0x1532327 in libsumo::Person::moveToXY(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double, int, double) /home/delphi/clangDebug/sumo/src/libsumo/Person.cpp:967:9 > #4 0x12b7030 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7feaeb585082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7feaec8375ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 206 (8-bit, unsigned) to type 'char' changed the value to -50 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -50 (8-bit, signed) to type 'unsigned char' changed the value to 206 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 5a10,453 > > ================================================================= > ==1842690==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 480 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1309f1e in TraCIServerAPI_Simulation::readStage(TraCIServer&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:452:19 > #2 0x12b3301 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:330:68 > #3 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7fc7bc5cd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 480 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1309f1e in TraCIServerAPI_Simulation::readStage(TraCIServer&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:452:19 > #2 0x12ae849 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:237:55 > #3 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 3a8,379 > > ================================================================= > ==1842717==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7ff241e375ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff240b85082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 8a13,388 > > ================================================================= > ==1842723==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f4c698335ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4c68581082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,380 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842798==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f0c7508d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0c73ddb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,380 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842800==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f3ee379a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3ee24e8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,312 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 174 (8-bit, unsigned) to type 'char' changed the value to -82 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -82 (8-bit, signed) to type 'unsigned char' changed the value to 174 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842754==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 208 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x15eb3be in libsumo::Simulation::findIntermodalRoute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int, double, double, double, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/libsumo/Simulation.cpp:682:51 > #2 0x12fa942 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7fc443a9f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fc444d515ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,85 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/shapes/ShapeContainer.cpp:51:19: runtime error: member call on address 0x606000085d60 which does not point to an object of type 'ParametrisedWrappingCommand<ShapeContainer, PolygonDynamics *>' > 0x606000085d60: note: object has invalid vptr > 28 00 00 55 24 00 00 14 00 00 00 00 00 00 00 00 be be be be 80 8a 00 00 30 61 00 00 60 c9 02 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > invalid vptr > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/shapes/ShapeContainer.cpp:51:19 in > /home/delphi/clangDebug/sumo/src/utils/common/ParametrisedWrappingCommand.h:66:9: runtime error: member access within address 0x606000085d60 which does not point to an object of type 'ParametrisedWrappingCommand<ShapeContainer, PolygonDynamics *>' > 0x606000085d60: note: object has invalid vptr > 28 00 00 55 24 00 00 14 00 00 00 00 00 00 00 00 be be be be 80 8a 00 00 30 61 00 00 60 c9 02 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > invalid vptr > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/common/ParametrisedWrappingCommand.h:66:9 in > ================================================================= > ==1843415==ERROR: AddressSanitizer: heap-use-after-free on address 0x606000085d90 at pc 0x000002fed4db bp 0x7fff7a900b70 sp 0x7fff7a900b68 > WRITE of size 1 at 0x606000085d90 thread T0 > #0 0x2fed4da in ParametrisedWrappingCommand<ShapeContainer, PolygonDynamics*>::deschedule() /home/delphi/clangDebug/sumo/src/utils/common/ParametrisedWrappingCommand.h:66:33 > #1 0x2fe15e2 in ShapeContainer::~ShapeContainer() /home/delphi/clangDebug/sumo/src/utils/shapes/ShapeContainer.cpp:51:19 > #2 0x2fe1df4 in ShapeContainer::~ShapeContainer() /home/delphi/clangDebug/sumo/src/utils/shapes/ShapeContainer.cpp:49:35 > #3 0x561965 in MSNet::~MSNet() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:315:5 > #4 0x563f04 in MSNet::~MSNet() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:291:17 > #5 0x554631 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:99:17 > #6 0x7f4ae0f4b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > #7 0x4a845d in _start (/home/delphi/clangDebug/sumo/bin/sumoD+0x4a845d) > > 0x606000085d90 is located 48 bytes inside of 56-byte region [0x606000085d60,0x606000085d98) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,271 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 249 (8-bit, unsigned) to type 'char' changed the value to -7 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -7 (8-bit, signed) to type 'unsigned char' changed the value to 249 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843468==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f43db33f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f43db33f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 200 (8-bit, unsigned) to type 'char' changed the value to -56 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -56 (8-bit, signed) to type 'unsigned char' changed the value to 200 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,295 > > ================================================================= > ==1843419==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0a2d5b5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 200 (8-bit, unsigned) to type 'char' changed the value to -56 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -56 (8-bit, signed) to type 'unsigned char' changed the value to 200 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 6a11,410 > > ================================================================= > ==1843423==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f75faf06082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1201f72 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,290 > > ================================================================= > ==1843704==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb3c51db082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb3c51db082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 166 (8-bit, unsigned) to type 'char' changed the value to -90 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -90 (8-bit, signed) to type 'unsigned char' changed the value to 166 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,325 > > ================================================================= > ==1843249==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 208 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x15829fa in libsumo::Route::add(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) /home/delphi/clangDebug/sumo/src/libsumo/Route.cpp:100:39 > #2 0x12d3307 in TraCIServerAPI_Route::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Route.cpp:74:17 > #3 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f307b37c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f307b37c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 130a135,440 > > ================================================================= > ==1843784==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 4096 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fb918b63f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 6a11,401 > > ================================================================= > ==1843596==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xf7c141 in MSLane::handleCollisionBetween(long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, MSVehicle const*, MSVehicle const*, double, double, std::set<MSVehicle const*, ComparatorNumericalIdLess, std::allocator<MSVehicle const*> >&, std::set<MSVehicle const*, ComparatorNumericalIdLess, std::allocator<MSVehicle const*> >&) const /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1948:31 > #9 0xf83899 in MSLane::detectCollisionBetween(long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, MSVehicle*, MSVehicle*, std::set<MSVehicle const*, ComparatorNumericalIdLess, std::allocator<MSVehicle const*> >&, std::set<MSVehicle const*, ComparatorNumericalIdLess, std::allocator<MSVehicle const*> >&) const /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1827:9 > #10 0xf6d4ca in MSLane::detectCollisions(long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1587:13 > #11 0xe7d80f in MSEdgeControl::detectCollisions(long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:341:19 > #12 0x56b772 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:668:22 > #13 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #14 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #15 0x7f5c51d06082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,630 > > ================================================================= > ==1843615==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 40 byte(s) in 1 object(s) allocated from: > #0 0x55041d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55041d) > #1 0x307bdcd in OptionsIO::setArgs(int, char**) /home/delphi/clangDebug/sumo/src/utils/options/OptionsIO.cpp:61:24 > #2 0x5540b6 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:92:9 > #3 0x7f28a88e4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f28a88e4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,312 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843502==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0xee9c9d in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #11 0x56c84f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #12 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #13 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #14 0x7f09528b3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,374 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 203 (8-bit, unsigned) to type 'char' changed the value to -53 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -53 (8-bit, signed) to type 'unsigned char' changed the value to 203 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843508==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd8291 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd4e19 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f9e23d0ef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,314 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843563==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1165074082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1165074082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,273 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 203 (8-bit, unsigned) to type 'char' changed the value to -53 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -53 (8-bit, signed) to type 'unsigned char' changed the value to 203 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843504==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd81e84f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd81e84f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,321 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 203 (8-bit, unsigned) to type 'char' changed the value to -53 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -53 (8-bit, signed) to type 'unsigned char' changed the value to 203 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843533==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x1792d9c in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7efcd4a885ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efcd37d6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,336 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 203 (8-bit, unsigned) to type 'char' changed the value to -53 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -53 (8-bit, signed) to type 'unsigned char' changed the value to 203 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843536==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x1792d9c in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7f53c96485ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f53c8396082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,365 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 203 (8-bit, unsigned) to type 'char' changed the value to -53 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -53 (8-bit, signed) to type 'unsigned char' changed the value to 203 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843550==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc8430 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7f91aae6d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x1792d9c in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7f91aae6d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 203 (8-bit, unsigned) to type 'char' changed the value to -53 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -53 (8-bit, signed) to type 'unsigned char' changed the value to 203 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843484==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f46c5e65082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f46c5e65082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,289 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 203 (8-bit, unsigned) to type 'char' changed the value to -53 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -53 (8-bit, signed) to type 'unsigned char' changed the value to 203 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843482==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4f9200f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4f9200f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,335 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843503==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd8291 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd4e19 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f2a00edcf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,311 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 203 (8-bit, unsigned) to type 'char' changed the value to -53 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -53 (8-bit, signed) to type 'unsigned char' changed the value to 203 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843523==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f0575d3df52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 203 (8-bit, unsigned) to type 'char' changed the value to -53 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -53 (8-bit, signed) to type 'unsigned char' changed the value to 203 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843517==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f72f7d37082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f72f7d37082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,259 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843514==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2b8ec31082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2b8ec31082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 1a2,5 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 17a22,525 > > ================================================================= > ==1843591==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 832 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x15eb3be in libsumo::Simulation::findIntermodalRoute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int, double, double, double, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/libsumo/Simulation.cpp:682:51 > #2 0x12fa942 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7fd551148082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 624 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x15e255c in libsumo::Simulation::findRoute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int) /home/delphi/clangDebug/sumo/src/libsumo/Simulation.cpp:562:43 > #2 0x12f7263 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:227:56 > #3 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 2a3,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 194 (8-bit, unsigned) to type 'char' changed the value to -62 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -62 (8-bit, signed) to type 'unsigned char' changed the value to 194 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843129==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 2a3,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 194 (8-bit, unsigned) to type 'char' changed the value to -62 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -62 (8-bit, signed) to type 'unsigned char' changed the value to 194 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843114==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 2a3,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843159==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 2a3,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 194 (8-bit, unsigned) to type 'char' changed the value to -62 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -62 (8-bit, signed) to type 'unsigned char' changed the value to 194 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843115==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 2a3,313 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 194 (8-bit, unsigned) to type 'char' changed the value to -62 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -62 (8-bit, signed) to type 'unsigned char' changed the value to 194 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843117==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 4a5,315 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843224==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6ee1b2c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6ee1b2c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,311 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843228==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f12a8ce5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f12a8ce5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842850==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fb70c7e2f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,272 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842852==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7ff51a2a5f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,272 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842921==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f2278014f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,272 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842940==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fe2ef19ef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,272 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842894==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f747c96ef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,272 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842891==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f66b408af52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842941==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fe4cf708f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,335 > > ================================================================= > ==1842952==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fc58a635f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842951==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fbbd37a5f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,335 > > ================================================================= > ==1842968==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f4dbee37f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,338 > > ================================================================= > ==1842973==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fb85144cf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,336 > > ================================================================= > ==1842977==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f448ce65f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,335 > > ================================================================= > ==1842978==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fd6c36acf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,336 > > ================================================================= > ==1843021==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7effd9b66f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843089==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fb316c3af52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843048==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f73d4f60f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,335 > > ================================================================= > ==1843098==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fb4d4f9cf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,374 > > ================================================================= > ==1843102==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f5cadb51f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843074==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f1a0c7fbf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843026==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f423da54f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 5a10,371 > > ================================================================= > ==1843041==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xd228ce in MSBaseVehicle::replaceRoute(MSRoute const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:462:27 > #9 0xa25266 in MSVehicle::replaceRoute(MSRoute const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1084:24 > #10 0xd1eb18 in MSBaseVehicle::replaceRouteEdges(std::vector<MSEdge const*, std::allocator<MSEdge const*> >&, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:394:10 > #11 0xd1943f in MSBaseVehicle::reroute(long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SUMOAbstractRouter<MSEdge, SUMOVehicle>&, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:319:5 > #12 0x1ef7c63 in MSRoutingEngine::reroute(SUMOVehicle&, long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, std::vector<MSEdge*, std::allocator<MSEdge*> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:467:17 > #13 0x1d73f41 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:293:5 > #14 0x1d6f99b in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:258:13 > #15 0x1d7901e in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #16 0xed2090 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #17 0x56cb45 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:24 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,346 > > ================================================================= > ==1843035==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f9f59608f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,335 > > ================================================================= > ==1842853==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fa490899f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,337 > > ================================================================= > ==1842854==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd8291 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd4e19 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7fccf22d6f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,259 > > ================================================================= > ==1843173==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f149063d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,259 > > ================================================================= > ==1843183==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2bb1bc2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,337 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843220==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f797c32cf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,255 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1843215==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4b69e73082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4b69e73082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 1a2,9 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/router/RailEdge.h:88:41: runtime error: reference binding to null pointer of type 'const MSEdge' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/router/RailEdge.h:88:41 in > /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:241:64: runtime error: reference binding to null pointer of type 'const MSEdge' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:241:64 in 2a11,1010 > LLVMSymbolizer: error reading file: No such file or directory > > ================================================================= > ==1843222==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1840 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1fe1808 in MSEdge::getRailwayRoutingEdge() const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:820:36 > #2 0x1f0276a in RailwayRouter<MSEdge, SUMOVehicle>::RailwayRouter(std::vector<MSEdge*, std::allocator<MSEdge*> > const&, bool, double (*)(MSEdge const*, SUMOVehicle const*, double), double (*)(MSEdge const*, SUMOVehicle const*, double), bool, bool, bool, double) /home/delphi/clangDebug/sumo/src/utils/router/RailwayRouter.h:87:44 > #3 0x1ef5e7b in MSRoutingEngine::initRouter(SUMOVehicle*) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:420:26 > #4 0x1ef6eaf in MSRoutingEngine::reroute(SUMOVehicle&, long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, std::vector<MSEdge*, std::allocator<MSEdge*> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:451:9 > #5 0x1d73f41 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:293:5 > #6 0x1d6f99b in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:258:13 > #7 0x1d7901e in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #8 0xed2090 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #9 0x56cb45 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:24 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7f26032f4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,295 > > ================================================================= > ==1843154==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2d7e31e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,251 > > ================================================================= > ==1843778==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffa46e52082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ffa46e52082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,321 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842025==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe435f1d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe435f1d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,336 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842063==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe80e7aa082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe80e7aa082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,314 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842014==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff95bef1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff95bef1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,337 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842090==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc26cada082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc26cada082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,276 > > ================================================================= > ==1842074==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff28ffac082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,276 > > ================================================================= > ==1842087==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f53fa793082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 141 (8-bit, unsigned) to type 'char' changed the value to -115 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -115 (8-bit, signed) to type 'unsigned char' changed the value to 141 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842077==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f39dfaa9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202908 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f39dfaa9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,317 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 135 (8-bit, unsigned) to type 'char' changed the value to -121 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -121 (8-bit, signed) to type 'unsigned char' changed the value to 135 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842065==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f95ad5c9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f95ad5c9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,314 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 135 (8-bit, unsigned) to type 'char' changed the value to -121 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -121 (8-bit, signed) to type 'unsigned char' changed the value to 135 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840838==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd05f330082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd05f330082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 135 (8-bit, unsigned) to type 'char' changed the value to -121 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -121 (8-bit, signed) to type 'unsigned char' changed the value to 135 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840891==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc27fc12082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc27fc12082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 135 (8-bit, unsigned) to type 'char' changed the value to -121 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -121 (8-bit, signed) to type 'unsigned char' changed the value to 135 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840884==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4f54d17082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4f54d17082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 135 (8-bit, unsigned) to type 'char' changed the value to -121 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -121 (8-bit, signed) to type 'unsigned char' changed the value to 135 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840892==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5a0655b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5a0655b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 135 (8-bit, unsigned) to type 'char' changed the value to -121 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -121 (8-bit, signed) to type 'unsigned char' changed the value to 135 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,300 > > ================================================================= > ==1840894==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efe59630082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 129 (8-bit, unsigned) to type 'char' changed the value to -127 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -127 (8-bit, signed) to type 'unsigned char' changed the value to 129 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840844==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa1c8ca6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa1c8ca6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 135 (8-bit, unsigned) to type 'char' changed the value to -121 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -121 (8-bit, signed) to type 'unsigned char' changed the value to 135 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840897==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fef880e9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fef880e9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840973==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f01ff106082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f01ff106082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 135 (8-bit, unsigned) to type 'char' changed the value to -121 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -121 (8-bit, signed) to type 'unsigned char' changed the value to 135 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840956==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff9b4c58082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff9b4c58082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 135 (8-bit, unsigned) to type 'char' changed the value to -121 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -121 (8-bit, signed) to type 'unsigned char' changed the value to 135 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840927==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9a2bcef082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9a2bcef082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 135 (8-bit, unsigned) to type 'char' changed the value to -121 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -121 (8-bit, signed) to type 'unsigned char' changed the value to 135 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840953==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9d75621082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9d75621082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840972==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 135 (8-bit, unsigned) to type 'char' changed the value to -121 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -121 (8-bit, signed) to type 'unsigned char' changed the value to 135 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,300 > > ================================================================= > ==1840974==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb768f23082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 129 (8-bit, unsigned) to type 'char' changed the value to -127 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -127 (8-bit, signed) to type 'unsigned char' changed the value to 129 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840921==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f61faa56082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f61faa56082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,314 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 131 (8-bit, unsigned) to type 'char' changed the value to -125 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -125 (8-bit, signed) to type 'unsigned char' changed the value to 131 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840968==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f18e611c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f18e611c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,314 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 131 (8-bit, unsigned) to type 'char' changed the value to -125 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -125 (8-bit, signed) to type 'unsigned char' changed the value to 131 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841000==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa2e0e4c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa2e0e4c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,314 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 131 (8-bit, unsigned) to type 'char' changed the value to -125 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -125 (8-bit, signed) to type 'unsigned char' changed the value to 131 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841011==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2c54bd8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2c54bd8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,314 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 131 (8-bit, unsigned) to type 'char' changed the value to -125 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -125 (8-bit, signed) to type 'unsigned char' changed the value to 131 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841031==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7d89cd6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7d89cd6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,314 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 131 (8-bit, unsigned) to type 'char' changed the value to -125 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -125 (8-bit, signed) to type 'unsigned char' changed the value to 131 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841071==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1687d95082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1687d95082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,314 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 131 (8-bit, unsigned) to type 'char' changed the value to -125 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -125 (8-bit, signed) to type 'unsigned char' changed the value to 131 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841038==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa79c6f4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa79c6f4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,314 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 131 (8-bit, unsigned) to type 'char' changed the value to -125 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -125 (8-bit, signed) to type 'unsigned char' changed the value to 131 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841036==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa13dba4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa13dba4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,314 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 131 (8-bit, unsigned) to type 'char' changed the value to -125 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -125 (8-bit, signed) to type 'unsigned char' changed the value to 131 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841049==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f016f3fc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f016f3fc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,314 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 131 (8-bit, unsigned) to type 'char' changed the value to -125 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -125 (8-bit, signed) to type 'unsigned char' changed the value to 131 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841060==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f150d117082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f150d117082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,315 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842161==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f894b300082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f894b300082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842374==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f06f2713082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f06f2713082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842290==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff8bb6c1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff8bb6c1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,311 > > ================================================================= > ==1842355==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f934df62082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842362==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f3101da6f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842207==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fcdb4259f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,329 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842200==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f86afb13f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,311 > > ================================================================= > ==1842212==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842304==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8499a7e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202908 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8499a7e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,311 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842466==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841791==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xd228ce in MSBaseVehicle::replaceRoute(MSRoute const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:462:27 > #9 0xa25266 in MSVehicle::replaceRoute(MSRoute const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1084:24 > #10 0xd1eb18 in MSBaseVehicle::replaceRouteEdges(std::vector<MSEdge const*, std::allocator<MSEdge const*> >&, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:394:10 > #11 0xd6f7e6 in MSBaseVehicle::insertStop(int, SUMOVehicleParameter::Stop, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:1685:12 > #12 0x16bb0e8 in libsumo::Vehicle::insertStop(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int, double, int, double, double, int) /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:987:19 > #13 0x138b334 in TraCIServerAPI_Vehicle::insertReplaceStop(TraCIServer&, tcpip::Storage&, tcpip::Storage&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:1410:9 > #14 0x13645a7 in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:493:22 > #15 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #16 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #17 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841624==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff99cc08082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff99cc08082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,374 > > ================================================================= > ==1841685==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2dc50db082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841644==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7effc7351082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7effc7351082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841628==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f25ace8d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f25ace8d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841643==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7bb1778082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7bb1778082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,407 > > ================================================================= > ==1841648==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f89aea83082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1201f72 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,319 > > ================================================================= > ==1841792==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f12d13b6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841763==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb86c651082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb86c651082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841816==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd47edbf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd47edbf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,374 > > ================================================================= > ==1841800==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9372c48082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,372 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841684==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa08e208082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa08e208082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841647==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa1bd774082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa1bd774082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,372 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841746==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1bc78d2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1bc78d2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,407 > > ================================================================= > ==1841697==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcaedb12082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1201f72 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,8 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/router/RailEdge.h:88:41: runtime error: reference binding to null pointer of type 'const MSEdge' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/router/RailEdge.h:88:41 in > /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:241:64: runtime error: reference binding to null pointer of type 'const MSEdge' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:241:64 in 18a27,1358 > LLVMSymbolizer: error reading file: No such file or directory > > ================================================================= > ==1841725==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 16192 byte(s) in 44 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1fe1808 in MSEdge::getRailwayRoutingEdge() const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:820:36 > #2 0x1f0276a in RailwayRouter<MSEdge, SUMOVehicle>::RailwayRouter(std::vector<MSEdge*, std::allocator<MSEdge*> > const&, bool, double (*)(MSEdge const*, SUMOVehicle const*, double), double (*)(MSEdge const*, SUMOVehicle const*, double), bool, bool, bool, double) /home/delphi/clangDebug/sumo/src/utils/router/RailwayRouter.h:87:44 > #3 0x1ef5e7b in MSRoutingEngine::initRouter(SUMOVehicle*) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:420:26 > #4 0x1ef6eaf in MSRoutingEngine::reroute(SUMOVehicle&, long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, std::vector<MSEdge*, std::allocator<MSEdge*> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:451:9 > #5 0x1d73f41 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:293:5 > #6 0x1d6f99b in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:258:13 > #7 0x1d7901e in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #8 0xed2090 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #9 0x56cb45 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:24 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7f6a30ad8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,407 > > ================================================================= > ==1841720==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fefed89f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1201f72 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841756==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4aded1d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4aded1d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841762==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd9d3356082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd9d3356082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,319 > > ================================================================= > ==1841798==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f38a590a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,312 > > ================================================================= > ==1842396==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f96695f6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,362 > > ================================================================= > ==1840503==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fd744875f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,362 > > ================================================================= > ==1840547==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,364 > > ================================================================= > ==1840549==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 8a13,368 > > ================================================================= > ==1840550==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,364 > > ================================================================= > ==1840559==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 8a13,368 > > ================================================================= > ==1840555==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840816==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe6ad63f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe6ad63f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840815==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f90adffc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f90adffc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840818==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6b46642082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6b46642082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,318 > > ================================================================= > ==1840778==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6af6171082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ffc4c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,295 > > ================================================================= > ==1840691==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1872507082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,316 > > ================================================================= > ==1840612==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1f91fb7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,295 > > ================================================================= > ==1840635==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f138217e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840639==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff1d6f32082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff1d6f32082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,319 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840765==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0e1d039082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0e1d039082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,319 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840772==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbb7b0d0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fbb7b0d0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,317 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840776==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa38f4da082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa38f4da082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,311 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840684==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f19aa847082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f19aa847082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,312 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840563==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffac4d18082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ffac4d18082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines> ---------- Differences in output ---------- 0a1 > internal corner (inside, segment2) failed: x=198, x2=198.0, y=1.9, y2=1.9, lane=middle_0, lane2=middle_0, pos=102, pos2=98.0 posLat=2.0 posLat2=1.9
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840724==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f80a3b9e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f80a3b9e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840739==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcbeeebc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fcbeeebc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,297 > > ================================================================= > ==1840695==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6d28a8b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,296 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840603==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f08af667082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f08af667082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,296 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840598==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f06b5414082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f06b5414082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840702==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f64aba0e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f64aba0e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,312 > > ================================================================= > ==1840808==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0d37cb3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,296 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840640==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff646400082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff646400082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,331 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 133 (8-bit, unsigned) to type 'char' changed the value to -123 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -123 (8-bit, signed) to type 'unsigned char' changed the value to 133 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840611==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efe66357082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7efe66357082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840693==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8d25934082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8d25934082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,298 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 135 (8-bit, unsigned) to type 'char' changed the value to -121 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -121 (8-bit, signed) to type 'unsigned char' changed the value to 135 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840777==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6ad7afb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6ad7afb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,295 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840681==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4750549082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4750549082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,311 > > ================================================================= > ==1842193==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdbebd08082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,358 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841163==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe17263f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe17263f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,358 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841169==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff5a673b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff5a673b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,319 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841140==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f19a7b4d5fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135fe) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,319 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841197==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fa201ef55fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135fe) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,319 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841160==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f73162345fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135fe) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,319 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841192==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f1da130f5fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135fe) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,335 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841233==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fe80bfed5fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135fe) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,320 > > ================================================================= > ==1841171==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f957a502082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,319 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841111==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f537c09c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f537c09c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,319 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841114==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f400d308082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f400d308082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,319 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841109==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa0a752d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa0a752d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,319 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841094==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f65f2468082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f65f2468082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,319 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841177==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc10cb03082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc10cb03082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,345 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842293==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55041d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55041d) > #1 0x307bdcd in OptionsIO::setArgs(int, char**) /home/delphi/clangDebug/sumo/src/utils/options/OptionsIO.cpp:61:24 > #2 0x5540b6 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:92:9 > #3 0x7f7ef149b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7ef149b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 80 byte(s) in 7 object(s) allocated from: > #0 0x55041d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55041d) > #1 0x307c07f in OptionsIO::setArgs(int, char**) /home/delphi/clangDebug/sumo/src/utils/options/OptionsIO.cpp:64:24 > #2 0x5540b6 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:92:9 > #3 0x7f7ef149b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841505==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xd228ce in MSBaseVehicle::replaceRoute(MSRoute const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:462:27 > #9 0xa25266 in MSVehicle::replaceRoute(MSRoute const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1084:24 > #10 0xd1eb18 in MSBaseVehicle::replaceRouteEdges(std::vector<MSEdge const*, std::allocator<MSEdge const*> >&, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:394:10 > #11 0xd633a7 in MSBaseVehicle::replaceStop(int, SUMOVehicleParameter::Stop, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:1533:12 > #12 0x16ba5ab in libsumo::Vehicle::replaceStop(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int, double, int, double, double, int) /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:964:23 > #13 0x138b09d in TraCIServerAPI_Vehicle::insertReplaceStop(TraCIServer&, tcpip::Storage&, tcpip::Storage&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:1408:9 > #14 0x136446f in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:488:22 > #15 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #16 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #17 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841309==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4c949a7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4c949a7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841315==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f241ba88082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f241ba88082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841310==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe1df9ad082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe1df9ad082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841328==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f316aa08082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f316aa08082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841584==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9c151ea082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9c151ea082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841592==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd5b8dcb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd5b8dcb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,382 > /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:1004:76: runtime error: implicit conversion from type 'int' of value -1 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551615 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:1004:76 in > /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:1004:74: runtime error: unsigned integer overflow: 2 + 18446744073709551615 cannot be represented in type 'unsigned long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:1004:74 in > /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:1034:29: runtime error: implicit conversion from type 'int' of value -1 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551615 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:1034:29 in > /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:1034:43: runtime error: unsigned integer overflow: 18446744073709551615 + 2 cannot be represented in type 'unsigned long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:1034:43 in > > ================================================================= > ==1841607==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f75aa9b3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,407 > > ================================================================= > ==1841359==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f236b9df082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1201f72 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,319 > > ================================================================= > ==1841519==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f570e365082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841474==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1062724082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1062724082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841497==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdf84b5b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fdf84b5b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841487==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff7712d0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff7712d0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,407 > > ================================================================= > ==1841489==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efd94e0c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1201f72 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841571==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd5033b0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd5033b0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,374 > > ================================================================= > ==1841524==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc7189d1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841386==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f609bbae082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f609bbae082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,368 > > ================================================================= > ==1841401==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xd228ce in MSBaseVehicle::replaceRoute(MSRoute const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:462:27 > #9 0xa25266 in MSVehicle::replaceRoute(MSRoute const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1084:24 > #10 0xd1eb18 in MSBaseVehicle::replaceRouteEdges(std::vector<MSEdge const*, std::allocator<MSEdge const*> >&, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:394:10 > #11 0xd67e45 in MSBaseVehicle::rerouteBetweenStops(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:1587:12 > #12 0x16b9a07 in libsumo::Vehicle::replaceStop(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int, double, int, double, double, int) /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:951:27 > #13 0x138b09d in TraCIServerAPI_Vehicle::insertReplaceStop(TraCIServer&, tcpip::Storage&, tcpip::Storage&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:1408:9 > #14 0x136446f in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:488:22 > #15 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #16 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #17 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,372 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841366==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f50e7178082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f50e7178082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841357==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd83d5d9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd83d5d9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841459==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcc8ab4a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202908 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fcc8ab4a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841380==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcd85352082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fcd85352082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841412==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5885440082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5885440082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,416 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841546==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fb0f3a9c5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb0f27ea082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,407 > > ================================================================= > ==1841416==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f25cfe59082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1201f72 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,8 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/router/RailEdge.h:88:41: runtime error: reference binding to null pointer of type 'const MSEdge' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/router/RailEdge.h:88:41 in > /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:241:64: runtime error: reference binding to null pointer of type 'const MSEdge' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:241:64 in 5a14,1392 > LLVMSymbolizer: error reading file: No such file or directory > > ================================================================= > ==1841449==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 16192 byte(s) in 44 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1fe1808 in MSEdge::getRailwayRoutingEdge() const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:820:36 > #2 0x1f0276a in RailwayRouter<MSEdge, SUMOVehicle>::RailwayRouter(std::vector<MSEdge*, std::allocator<MSEdge*> > const&, bool, double (*)(MSEdge const*, SUMOVehicle const*, double), double (*)(MSEdge const*, SUMOVehicle const*, double), bool, bool, bool, double) /home/delphi/clangDebug/sumo/src/utils/router/RailwayRouter.h:87:44 > #3 0x1ef5e7b in MSRoutingEngine::initRouter(SUMOVehicle*) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:420:26 > #4 0x1ef6eaf in MSRoutingEngine::reroute(SUMOVehicle&, long long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, std::vector<MSEdge*, std::allocator<MSEdge*> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:451:9 > #5 0x1d73f41 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:293:5 > #6 0x1d6f99b in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:258:13 > #7 0x1d7901e in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #8 0xed2090 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #9 0x56cb45 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:24 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7fdeb5458082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,407 > > ================================================================= > ==1841448==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd07550d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1201f72 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,319 > > ================================================================= > ==1841541==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc150299082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,332 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842157==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f70989b0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f70989b0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842334==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5778454082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5778454082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842295==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa23a656082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa23a656082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,335 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 198 (8-bit, unsigned) to type 'char' changed the value to -58 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -58 (8-bit, signed) to type 'unsigned char' changed the value to 198 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842391==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa4dea28082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12005e2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa4dea28082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,311 > > ================================================================= > ==1842357==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6b5e0a1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841279==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efd6a755082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202908 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7efd6a755082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841262==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0690ee9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202908 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0690ee9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841232==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc1a2940082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202908 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc1a2940082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,311 > > ================================================================= > ==1841250==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc1e3701082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841299==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbb65a4a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202908 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fbb65a4a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841295==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdebb7e0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202908 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fdebb7e0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842302==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8091492082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8091492082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842319==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd32c5c1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1200914 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd32c5c1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,321 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840478==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 576 byte(s) in 24 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1c053c9 in MSDevice_SSM::getUpstreamVehicles(MSDevice_SSM::UpstreamScanStartInfo const&, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&, std::set<MSJunction const*, std::less<MSJunction const*>, std::allocator<MSJunction const*> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDev ice_SSM.cpp:3276:30 > #2 0x1ba9574 in MSDevice_SSM::findSurroundingVehicles(MSVehicle const&, double, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3229:9 > #3 0x1ba106f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:496:9 > #4 0x1ba0646 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:462:9 > #5 0x5961ba in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1057:14 > #6 0x56e08c in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:721:5 > #7 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #8 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #9 0x7fb271d85082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 96 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1c0ccd9 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&)::$_1::operator()(std::vector<MSVehicle*, std::allocator<MSVehicle*> > const&) const /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice _SSM.cpp:3385:26 > #2 0x1c08488 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&)::$_0::operator()(MSLane const*) const /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3407:9 > #3 0x1c03cd0 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3456:5 > #4 0x1ba3aa1 in MSDevice_SSM::findSurroundingVehicles(MSVehicle const&, double, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3050:9 > #5 0x1ba106f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:496:9 > #6 0x1ba0646 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:462:9 > #7 0x5961ba in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1057:14 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,321 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1840498==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 480 byte(s) in 20 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1c053c9 in MSDevice_SSM::getUpstreamVehicles(MSDevice_SSM::UpstreamScanStartInfo const&, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&, std::set<MSJunction const*, std::less<MSJunction const*>, std::allocator<MSJunction const*> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDev ice_SSM.cpp:3276:30 > #2 0x1ba9574 in MSDevice_SSM::findSurroundingVehicles(MSVehicle const&, double, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3229:9 > #3 0x1ba106f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:496:9 > #4 0x1ba0646 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:462:9 > #5 0x5961ba in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1057:14 > #6 0x56e08c in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:721:5 > #7 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #8 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #9 0x7fedca132082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Direct leak of 192 byte(s) in 8 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1c0ccd9 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&)::$_1::operator()(std::vector<MSVehicle*, std::allocator<MSVehicle*> > const&) const /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice _SSM.cpp:3385:26 > #2 0x1c08488 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&)::$_0::operator()(MSLane const*) const /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3407:9 > #3 0x1c03cd0 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3456:5 > #4 0x1ba3aa1 in MSDevice_SSM::findSurroundingVehicles(MSVehicle const&, double, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3050:9 > #5 0x1ba106f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:496:9 > #6 0x1ba0646 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:462:9 > #7 0x5961ba in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1057:14 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842231==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f743a994082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f743a994082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,373 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 212 (8-bit, unsigned) to type 'char' changed the value to -44 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -44 (8-bit, signed) to type 'unsigned char' changed the value to 212 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842239==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0617d26082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0617d26082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 212 (8-bit, unsigned) to type 'char' changed the value to -44 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -44 (8-bit, signed) to type 'unsigned char' changed the value to 212 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,374 > > ================================================================= > ==1842243==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff6d15df082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x12025d6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,449 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841849==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7ff7d78c25ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82b61 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:237:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,449 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841920==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f00d06c45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82b61 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:237:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,447 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841915==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f890d0b25ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82b61 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:237:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,449 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841950==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fbbeb2935ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82b61 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:237:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,449 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841931==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f21029ac5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82b61 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:237:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,447 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841928==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f952c3c75ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82b61 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:237:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,449 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841932==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f5ed38575ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82b61 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:237:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,397 > > ================================================================= > ==1841930==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f49408ff5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82b61 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:237:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,487 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841942==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f25790c45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82b61 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:237:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,452 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841823==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x1792d9c in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #6 0x7f292f1075ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 16 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82b61 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:237:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,448 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841958==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fc54308b5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82b61 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:237:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,466 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 174 (8-bit, unsigned) to type 'char' changed the value to -82 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -82 (8-bit, signed) to type 'unsigned char' changed the value to 174 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841992==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 144 byte(s) in 6 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fab616f45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 24 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82b61 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:237:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,444 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841985==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f17f97215ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82b61 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:237:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,448 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841889==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fa10643d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 8 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82b61 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:237:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,440 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1841888==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 16 byte(s) in 2 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82b61 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:237:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fd402 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eba3ba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #12 0x7f3afc0c4f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,6 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/emissions/PollutantsInterface.cpp:131:30: runtime error: implicit conversion from type 'int' of value -32769 (32-bit, signed) to type 'unsigned int' changed the value to 4294934527 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/emissions/PollutantsInterface.cpp:131:30 in 18a25,608 > /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:331:31: runtime error: signed integer overflow: 9223372036854775807 - -1 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:331:31 in > > ================================================================= > ==1842105==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1064 byte(s) in 7 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13c410b in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x169d4b6 in libsumo::Vehicle::getCO2Emission(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:225:34 > #4 0x170d24d in libsumo::Vehicle::handleVariable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, libsumo::VariableWrapper*, tcpip::Storage*) /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:2529:57 > #5 0x134499c in TraCIServerAPI_Vehicle::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:63:14 > #6 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #7 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #8 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #9 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #10 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #11 0x7fae2227e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 384 byte(s) in 8 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842108==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbade1bd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fbade1bd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 240 (8-bit, unsigned) to type 'char' changed the value to -16 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -16 (8-bit, signed) to type 'unsigned char' changed the value to 240 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842153==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc02822 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd28347 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xad8f5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ccc9 in MSLane::incorporateVehicle(MSVehicle*, double, double, double, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > > const&, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:411:10 > #12 0xf45f8c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1204:5 > #13 0xf518f8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xdd6a1c in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee47d7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee3731 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56cd20 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,6 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/emissions/PollutantsInterface.cpp:131:30: runtime error: implicit conversion from type 'int' of value -32769 (32-bit, signed) to type 'unsigned int' changed the value to 4294934527 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/emissions/PollutantsInterface.cpp:131:30 in 18a25,608 > /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:331:31: runtime error: signed integer overflow: 9223372036854775807 - -1 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:331:31 in > > ================================================================= > ==1842106==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1064 byte(s) in 7 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13c410b in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x169d4b6 in libsumo::Vehicle::getCO2Emission(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:225:34 > #4 0x170d24d in libsumo::Vehicle::handleVariable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, libsumo::VariableWrapper*, tcpip::Storage*) /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:2529:57 > #5 0x134499c in TraCIServerAPI_Vehicle::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:63:14 > #6 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #7 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #8 0x5682bf in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #9 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #10 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #11 0x7f909b2bd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 384 byte(s) in 8 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 196 (8-bit, unsigned) to type 'char' changed the value to -60 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -60 (8-bit, signed) to type 'unsigned char' changed the value to 196 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1842154==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f643cdd3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f643cdd3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 197 (8-bit, unsigned) to type 'char' changed the value to -59 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -59 (8-bit, signed) to type 'unsigned char' changed the value to 197 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,587 > > ================================================================= > ==1842494==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f51ab13b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff91a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 165 (8-bit, unsigned) to type 'char' changed the value to -91 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -91 (8-bit, signed) to type 'unsigned char' changed the value to 165 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,298 > > ================================================================= > ==1842483==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f52fc9bd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1252a80 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x12529ad in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125265c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x12507d2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124f3e3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123682b in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11ff5e8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,449 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 219 (8-bit, unsigned) to type 'char' changed the value to -37 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -37 (8-bit, signed) to type 'unsigned char' changed the value to 219 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1844232==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 84512 byte(s) in 556 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd114d2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xee9c9d in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #7 0x56c84f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fd4a19f3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 30816 byte(s) in 642 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c46120 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x2c4604d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x2c45cfc in std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x2c4bee2 in std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> >* std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gn u/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x2c4b8f3 in std::_Rb_tree_iterator<std::pair<SumoXMLAttr const, double> > std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<SumoXMLAttr const, double> >, std::piecewise_construct_t const&, std:: tuple<SumoXMLAttr const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x2c38a46 in std::map<SumoXMLAttr, double, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::operator[](SumoXMLAttr const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:499:15 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,449 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 219 (8-bit, unsigned) to type 'char' changed the value to -37 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -37 (8-bit, signed) to type 'unsigned char' changed the value to 219 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1844247==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 85576 byte(s) in 563 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd114d2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xee9c9d in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #7 0x56c84f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f181f30b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 30864 byte(s) in 643 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c46120 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x2c4604d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x2c45cfc in std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x2c4bee2 in std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> >* std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gn u/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x2c4b8f3 in std::_Rb_tree_iterator<std::pair<SumoXMLAttr const, double> > std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<SumoXMLAttr const, double> >, std::piecewise_construct_t const&, std:: tuple<SumoXMLAttr const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x2c38a46 in std::map<SumoXMLAttr, double, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::operator[](SumoXMLAttr const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:499:15 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,449 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 219 (8-bit, unsigned) to type 'char' changed the value to -37 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -37 (8-bit, signed) to type 'unsigned char' changed the value to 219 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1844203==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 85728 byte(s) in 564 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd114d2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xee9c9d in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #7 0x56c84f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f50d4c00082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 30816 byte(s) in 642 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c46120 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x2c4604d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x2c45cfc in std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x2c4bee2 in std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> >* std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gn u/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x2c4b8f3 in std::_Rb_tree_iterator<std::pair<SumoXMLAttr const, double> > std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<SumoXMLAttr const, double> >, std::piecewise_construct_t const&, std:: tuple<SumoXMLAttr const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x2c38a46 in std::map<SumoXMLAttr, double, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::operator[](SumoXMLAttr const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:499:15 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,449 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 219 (8-bit, unsigned) to type 'char' changed the value to -37 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -37 (8-bit, signed) to type 'unsigned char' changed the value to 219 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1844188==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 83600 byte(s) in 550 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd114d2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xee9c9d in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #7 0x56c84f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #8 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f085464f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 30864 byte(s) in 643 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c46120 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x2c4604d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x2c45cfc in std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x2c4bee2 in std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> >* std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gn u/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x2c4b8f3 in std::_Rb_tree_iterator<std::pair<SumoXMLAttr const, double> > std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<SumoXMLAttr const, double> >, std::piecewise_construct_t const&, std:: tuple<SumoXMLAttr const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x2c38a46 in std::map<SumoXMLAttr, double, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::operator[](SumoXMLAttr const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:499:15 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 27a28,128 > > ================================================================= > ==1844234==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 7776 byte(s) in 324 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fef7b2aa5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 59904 byte(s) in 288 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x20408f0 in MSDispatch::addReservation(MSTransportable*, long long, long long, MSEdge const*, double, MSEdge const*, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDispatch.cpp:104:31 > #2 0x1e815fc in MSDevice_Taxi::addReservation(MSTransportable*, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, long long, long long, MSEdge const*, double, MSEdge const*, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator< char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:188:19 > #3 0x24f8b17 in MSStageDriving::registerWaiting(MSTransportable*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSStageDriving.cpp:290:9 > #4 0x24f531e in MSStageDriving::proceed(MSNet*, MSTransportable*, long long, MSStage*) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSStageDriving.cpp:257:9 > #5 0x251da14 in MSTransportable::proceed(MSNet*, long long, bool) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportable.cpp:117:20 > #6 0x24a25e5 in MSPerson::MSPersonStage_Walking::moveToNextEdge(MSTransportable*, long long, int, MSEdge*) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:328:22 > #7 0x25d4670 in MSPModel_Striping::arriveAndAdvance(std::vector<MSPModel_Striping::PState*, std::allocator<MSPModel_Striping::PState*> >&, long long, std::set<MSPerson*, std::less<MSPerson*>, std::allocator<MSPerson*> >&, int) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPModel_Striping.cpp:1121:29 > #8 0x25c67cf in MSPModel_Striping::moveInDirection(long long, std::set<MSPerson*, std::less<MSPerson*>, std::allocator<MSPerson*> >&, int) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPModel_Striping.cpp:1077:13 > #9 0x261220b in MSPModel_Striping::MovePedestrians::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPModel_Striping.cpp:2510:14 > #10 0xed2090 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #11 0x56a609 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:640:30 > #12 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #13 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #14 0x7fef79ff8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > <truncated after showing first 30 lines>
---------- Differences in errors ---------- 4a5,32 > > ================================================================= > ==1844309==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 7776 byte(s) in 324 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f65097475ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 24 byte(s) in 3 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82b61 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:237:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0xee9c9d in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #9 0x56c84f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #10 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55442d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7f6508495082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > SUMMARY: AddressSanitizer: 7800 byte(s) leaked in 327 allocation(s).
---------- Differences in errors ---------- 1a2,14 > > ================================================================= > ==1844574==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 4800 byte(s) in 200 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f632bb185ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 4800 byte(s) leaked in 200 allocation(s). ---------- Differences in output ---------- 1c1 < >> Simulation closed with status 0 --- > >> Simulation closed with status 1
---------- Differences in errors ---------- 0a1,354 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1845176==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 2256 byte(s) in 94 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f3ca8afe5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xc00ef9 in MSVehicleControl::removePending() /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:157:31 > #9 0xe7a693 in MSEdgeControl::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:240:47 > #10 0x56b506 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:666:18 > #11 0x566fa4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,517 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1844424==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 120 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x92b6cb in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2eb12bb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bee21 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30958e3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fcdafbd35ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Direct leak of 32 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1e82e18 in MSDevice_Taxi::MSDevice_Taxi(SUMOVehicle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:239:27 > #2 0x1e7ae65 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b61506 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd10eca in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x16d8919 in libsumo::Vehicle::add(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int) /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:1429:61 > #9 0x137f455 in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:1103:17 > #10 0x120bf7b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #11 0x1215961 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,310 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 194 (8-bit, unsigned) to type 'char' changed the value to -62 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -62 (8-bit, signed) to type 'unsigned char' changed the value to 194 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1845116==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 2048 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x676f16 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5be47b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1209fbd in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59c086 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1170:19 > #8 0xbff693 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f1c1d0baf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,10 > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/toolrunner.py", line 39, in <module> > subprocess.call(tool + sys.argv[1:], env=os.environ, stdout=sys.stdout, stderr=sys.stderr) > File "/usr/lib/python3.8/subprocess.py", line 340, in call > with Popen(*popenargs, **kwargs) as p: > File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ > self._execute_child(args, executable, preexec_fn, close_fds, > File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) > FileNotFoundError: [Errno 2] No such file or directory: '/home/delphi/clangDebug/sumo/tests/../bin/testcommon' ---------- Differences in output ---------- 1,111d0 < Running main() from gtest_main.cc < [==========] Running 45 tests from 5 test suites. < [----------] Global test environment set-up. < [----------] 10 tests from StringTokenizer < [ RUN ] StringTokenizer.test_split_with_whitechar < [ OK ] StringTokenizer.test_split_with_whitechar ((TIME)) < [ RUN ] StringTokenizer.test_split_with_newline < [ OK ] StringTokenizer.test_split_with_newline ((TIME)) < [ RUN ] StringTokenizer.test_split_with_x < [ OK ] StringTokenizer.test_split_with_x ((TIME)) < [ RUN ] StringTokenizer.test_split_any_char < [ OK ] StringTokenizer.test_split_any_char ((TIME)) < [ RUN ] StringTokenizer.test_method_reinit < [ OK ] StringTokenizer.test_method_reinit ((TIME)) < [ RUN ] StringTokenizer.test_method_size < [ OK ] StringTokenizer.test_method_size ((TIME)) < [ RUN ] StringTokenizer.test_method_front < [ OK ] StringTokenizer.test_method_front ((TIME)) < [ RUN ] StringTokenizer.test_method_get < [ OK ] StringTokenizer.test_method_get ((TIME)) < [ RUN ] StringTokenizer.test_method_get_with_empty_data < [ OK ] StringTokenizer.test_method_get_with_empty_data ((TIME)) < [ RUN ] StringTokenizer.test_method_getVector < [ OK ] StringTokenizer.test_method_getVector ((TIME)) < [----------] 10 tests from StringTokenizer ((TIME) total) < < [----------] 4 tests from FileHelpers < [ RUN ] FileHelpers.test_method_checkForRelativity < [ OK ] FileHelpers.test_method_checkForRelativity ((TIME)) <truncated after showing first 30 lines> ---------- New result in exitcode ---------- 1
---------- Differences in errors ---------- 0a1,10 > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/toolrunner.py", line 39, in <module> > subprocess.call(tool + sys.argv[1:], env=os.environ, stdout=sys.stdout, stderr=sys.stderr) > File "/usr/lib/python3.8/subprocess.py", line 340, in call > with Popen(*popenargs, **kwargs) as p: > File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ > self._execute_child(args, executable, preexec_fn, close_fds, > File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) > FileNotFoundError: [Errno 2] No such file or directory: '/home/delphi/clangDebug/sumo/tests/../bin/testfoxtools' ---------- Differences in output ---------- 1,13d0 < Running main() from gtest_main.cc < [==========] Running 2 tests from 1 test suite. < [----------] Global test environment set-up. < [----------] 2 tests from MFXWorkerThread < [ RUN ] MFXWorkerThread.test_init < [ OK ] MFXWorkerThread.test_init ((TIME)) < [ RUN ] MFXWorkerThread.test_get_all < [ OK ] MFXWorkerThread.test_get_all ((TIME)) < [----------] 2 tests from MFXWorkerThread ((TIME) total) < < [----------] Global test environment tear-down < [==========] 2 tests from 1 test suite ran. ((TIME) total) < [ PASSED ] 2 tests. ---------- New result in exitcode ---------- 1
---------- Differences in errors ---------- 0a1,10 > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/toolrunner.py", line 39, in <module> > subprocess.call(tool + sys.argv[1:], env=os.environ, stdout=sys.stdout, stderr=sys.stderr) > File "/usr/lib/python3.8/subprocess.py", line 340, in call > with Popen(*popenargs, **kwargs) as p: > File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ > self._execute_child(args, executable, preexec_fn, close_fds, > File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) > FileNotFoundError: [Errno 2] No such file or directory: '/home/delphi/clangDebug/sumo/tests/../bin/testgeom' ---------- Differences in output ---------- 1,71d0 < Running main() from gtest_main.cc < [==========] Running 28 tests from 3 test suites. < [----------] Global test environment set-up. < [----------] 12 tests from Boundary < [ RUN ] Boundary.test_method_add < [ OK ] Boundary.test_method_add ((TIME)) < [ RUN ] Boundary.test_method_add_multiple < [ OK ] Boundary.test_method_add_multiple ((TIME)) < [ RUN ] Boundary.test_method_getCenter < [ OK ] Boundary.test_method_getCenter ((TIME)) < [ RUN ] Boundary.test_method_getWidthHeight < [ OK ] Boundary.test_method_getWidthHeight ((TIME)) < [ RUN ] Boundary.test_method_around < [ OK ] Boundary.test_method_around ((TIME)) < [ RUN ] Boundary.test_method_overlapsWith < [ OK ] Boundary.test_method_overlapsWith ((TIME)) < [ RUN ] Boundary.test_method_crosses < [ OK ] Boundary.test_method_crosses ((TIME)) < [ RUN ] Boundary.test_method_partialWithin < [ OK ] Boundary.test_method_partialWithin ((TIME)) < [ RUN ] Boundary.test_method_flipY < [ OK ] Boundary.test_method_flipY ((TIME)) < [ RUN ] Boundary.test_method_moveby < [ OK ] Boundary.test_method_moveby ((TIME)) < [ RUN ] Boundary.test_method_growWidth < [ OK ] Boundary.test_method_growWidth ((TIME)) < [ RUN ] Boundary.test_method_growHeight < [ OK ] Boundary.test_method_growHeight ((TIME)) < [----------] 12 tests from Boundary ((TIME) total) <truncated after showing first 30 lines> ---------- New result in exitcode ---------- 1
---------- Differences in errors ---------- 0a1,10 > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/toolrunner.py", line 39, in <module> > subprocess.call(tool + sys.argv[1:], env=os.environ, stdout=sys.stdout, stderr=sys.stderr) > File "/usr/lib/python3.8/subprocess.py", line 340, in call > with Popen(*popenargs, **kwargs) as p: > File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ > self._execute_child(args, executable, preexec_fn, close_fds, > File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) > FileNotFoundError: [Errno 2] No such file or directory: '/home/delphi/clangDebug/sumo/tests/../bin/testlibsumo' ---------- Differences in output ---------- 1,8d0 < < Copyright (C) 2001-2022 German Aerospace Center (DLR) and others; https://sumo.dlr.de < Use --help to get the list of options. < Simulation loaded < < Copyright (C) 2001-2022 German Aerospace Center (DLR) and others; https://sumo.dlr.de < Use --help to get the list of options. < Simulation started ---------- New result in exitcode ---------- 1
---------- Differences in errors ---------- 0a1,10 > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/toolrunner.py", line 39, in <module> > subprocess.call(tool + sys.argv[1:], env=os.environ, stdout=sys.stdout, stderr=sys.stderr) > File "/usr/lib/python3.8/subprocess.py", line 340, in call > with Popen(*popenargs, **kwargs) as p: > File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ > self._execute_child(args, executable, preexec_fn, close_fds, > File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) > FileNotFoundError: [Errno 2] No such file or directory: '/home/delphi/clangDebug/sumo/tests/../bin/testmicrosim' ---------- Differences in output ---------- 1,29d0 < Running main() from gtest_main.cc < [==========] Running 7 tests from 3 test suites. < [----------] Global test environment set-up. < [----------] 1 test from MSEventControl < [ RUN ] MSEventControl.test_method_execute < [ OK ] MSEventControl.test_method_execute ((TIME)) < [----------] 1 test from MSEventControl ((TIME) total) < < [----------] 4 tests from MSCFModelTest < [ RUN ] MSCFModelTest.test_method_brakeGap < [ OK ] MSCFModelTest.test_method_brakeGap ((TIME)) < [ RUN ] MSCFModelTest.test_method_static_brakeGap < [ OK ] MSCFModelTest.test_method_static_brakeGap ((TIME)) < [ RUN ] MSCFModelTest.test_method_static_freeSpeed < [ OK ] MSCFModelTest.test_method_static_freeSpeed ((TIME)) < [ RUN ] MSCFModelTest.test_method_static_freeSpeed_half < [ OK ] MSCFModelTest.test_method_static_freeSpeed_half ((TIME)) < [----------] 4 tests from MSCFModelTest ((TIME) total) < < [----------] 2 tests from MSCFModel_IDMTest < [ RUN ] MSCFModel_IDMTest.test_method_brakeGap < [ OK ] MSCFModel_IDMTest.test_method_brakeGap ((TIME)) < [ RUN ] MSCFModel_IDMTest.test_method_getSecureGap < [ OK ] MSCFModel_IDMTest.test_method_getSecureGap ((TIME)) < [----------] 2 tests from MSCFModel_IDMTest ((TIME) total) < < [----------] Global test environment tear-down < [==========] 7 tests from 3 test suites ran. ((TIME) total) < [ PASSED ] 7 tests. <truncated after showing first 30 lines> ---------- New result in exitcode ---------- 1
---------- Differences in errors ---------- 0a1,10 > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/toolrunner.py", line 39, in <module> > subprocess.call(tool + sys.argv[1:], env=os.environ, stdout=sys.stdout, stderr=sys.stderr) > File "/usr/lib/python3.8/subprocess.py", line 340, in call > with Popen(*popenargs, **kwargs) as p: > File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ > self._execute_child(args, executable, preexec_fn, close_fds, > File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) > FileNotFoundError: [Errno 2] No such file or directory: '/home/delphi/clangDebug/sumo/tests/../bin/testnetbuild' ---------- Differences in output ---------- 1,16d0 < Running main() from gtest_main.cc < [==========] Running 2 tests from 2 test suites. < [----------] Global test environment set-up. < [----------] 1 test from NBHeightMapperTest < [ RUN ] NBHeightMapperTest.test_method_getZ < [ OK ] NBHeightMapperTest.test_method_getZ ((TIME)) < [----------] 1 test from NBHeightMapperTest ((TIME) total) < < [----------] 1 test from NBTrafficLightLogic < [ RUN ] NBTrafficLightLogic.test_method_getDuration < [ OK ] NBTrafficLightLogic.test_method_getDuration ((TIME)) < [----------] 1 test from NBTrafficLightLogic ((TIME) total) < < [----------] Global test environment tear-down < [==========] 2 tests from 2 test suites ran. ((TIME) total) < [ PASSED ] 2 tests. ---------- New result in exitcode ---------- 1
dynamic ToC triggered despite stop present on vehicle's lane continuation (This bug was triggered by text found in file 'tocs' matching 'DYNTOR') ---------- Differences in errors ---------- 0a1,349 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==1833414==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x11ff14f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb6fa36f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x125a040 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1259f6d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1259c1c in std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1257d92 in std::_Rb_tree_node<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x12569a3 in std::_Rb_tree_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::TransportableState, std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<c har> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std ::piecewise_construct_t const&, std::tuple<MSNet::TransportableState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x123702b in std::map<MSNet::TransportableState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::TransportableState>, std::allocator<std::pair<MSNet::TransportableState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > > > >::operator[](MSNet::TransportableState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x1202908 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1208762 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1775159 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x554164 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb6fa36f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
different outputs from detectors which should detect the same (This bug was triggered by text found in file 'output' matching 'failed') ---------- Differences in output ---------- 5,7c5,7 < success 0.1 ['--step-length', '.1', '--end', '100'] ['3/1to2/1_0'] < success 1 ['--step-length', '.1', '--end', '100'] ['3/1to2/1_0'] < success 10 ['--step-length', '.1', '--end', '100'] ['3/1to2/1_0'] --- > failed 0.1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (71.4, 71.5) <zip object at 0x7f138bd1d2c0> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (72.0, 73.0) <zip object at 0x7f138bda9380> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7f138bda9f80> 9,12c9,12 < success 0.1 ['--step-length', '.1', '--end', '1000'] ['3/1to2/1_0'] < success 1 ['--step-length', '.1', '--end', '1000'] ['3/1to2/1_0'] < success 10 ['--step-length', '.1', '--end', '1000'] ['3/1to2/1_0'] < success 100 ['--step-length', '.1', '--end', '1000'] ['3/1to2/1_0'] --- > failed 0.1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (71.4, 71.5) <zip object at 0x7f138b9e64c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (72.0, 73.0) <zip object at 0x7f138bd1dec0> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7f138bd214c0> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (100.0, 200.0) <zip object at 0x7f138bd21340> 17,19c17,19 < success 0.1 ['--step-length', '1', '--end', '100'] ['3/1to2/1_0'] < success 1 ['--step-length', '1', '--end', '100'] ['3/1to2/1_0'] < success 10 ['--step-length', '1', '--end', '100'] ['3/1to2/1_0'] --- > failed 0.1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (73.0, 74.0) <zip object at 0x7f138bcb0940> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (73.0, 74.0) <zip object at 0x7f138bcf5480> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7f138bcf5f40> 21,50c21,24 < success 0.1 ['--step-length', '1', '--end', '1000'] ['3/1to2/1_0'] < success 1 ['--step-length', '1', '--end', '1000'] ['3/1to2/1_0'] < success 10 ['--step-length', '1', '--end', '1000'] ['3/1to2/1_0'] <truncated after showing first 30 lines>
different outputs from detectors which should detect the same (This bug was triggered by text found in file 'output' matching 'failed') ---------- Differences in output ---------- 1,98c1,48 < success ['--step-length', '.1', '--end', '51'] ['2/1to1/1_0'] < success ['--step-length', '.1', '--end', '51'] ['2/1to1/1_0', '1/1to0/1_0'] < success ['--step-length', '.1', '--end', '51'] ['2/1to1/1_0'] < success ['--step-length', '.1', '--end', '51'] ['2/1to1/1_0', '1/1to0/1_0'] < success ['--step-length', '.1', '--end', '51'] ['2/1to1/1_0'] < success ['--step-length', '.1', '--end', '51'] ['2/1to1/1_0', '1/1to0/1_0'] < success ['--step-length', '.1', '--end', '51'] ['2/1to1/1_0'] < success ['--step-length', '.1', '--end', '51'] ['2/1to1/1_0', '1/1to0/1_0'] < success ['--step-length', '.1', '--end', '100'] ['2/1to1/1_0'] < success ['--step-length', '.1', '--end', '100'] ['2/1to1/1_0', '1/1to0/1_0'] < success ['--step-length', '.1', '--end', '100'] ['2/1to1/1_0'] < success ['--step-length', '.1', '--end', '100'] ['2/1to1/1_0', '1/1to0/1_0'] < success ['--step-length', '.1', '--end', '100'] ['2/1to1/1_0'] < success ['--step-length', '.1', '--end', '100'] ['2/1to1/1_0', '1/1to0/1_0'] < success ['--step-length', '.1', '--end', '100'] ['2/1to1/1_0'] < success ['--step-length', '.1', '--end', '100'] ['2/1to1/1_0', '1/1to0/1_0'] < failed ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (108.6, 108.7) [9.9, 10.0, 9.9, 9.9] < failed ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (108.6, 108.7) [9.9, 10.0, 9.9, 9.9] < failed ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (108.0, 109.0) [9.87, 10.0, 9.87, 9.87] < failed ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (108.0, 109.0) [9.87, 10.0, 9.87, 9.87] < failed ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (100.0, 110.0) [9.85, 9.96, 9.85, 9.85] < failed ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (100.0, 110.0) [9.85, 9.96, 9.85, 9.85] < failed ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (100.0, 200.0) [-1.0, 2.26, 3.2, 2.27, 2.27] < failed ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (100.0, 200.0) [-1.0, 2.26, 3.2, 2.27, 2.27] < success ['--step-length', '1', '--end', '51'] ['2/1to1/1_0'] < success ['--step-length', '1', '--end', '51'] ['2/1to1/1_0', '1/1to0/1_0'] < success ['--step-length', '1', '--end', '51'] ['2/1to1/1_0'] < success ['--step-length', '1', '--end', '51'] ['2/1to1/1_0', '1/1to0/1_0'] < success ['--step-length', '1', '--end', '51'] ['2/1to1/1_0'] <truncated after showing first 30 lines>
different outputs from detectors which should detect the same (This bug was triggered by text found in file 'output' matching 'failed') ---------- Differences in output ---------- 17,24c17,24 < success 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (230.0, 230.1) [('e2', 9.99), ('e3', 10.0), ('edge', 9.99), ('lane', 9.99)] < success 0.1 ['--step-length', '.1', '--end', '1000'] 1/1to0/1_0 (148.1, 148.2) [('e2', 9.99), ('e3', 10.0), ('edge', 9.99), ('lane', 9.99)] < success 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (230.0, 231.0) [('e2', 9.99), ('e3', 10.0), ('edge', 9.99), ('lane', 9.99)] < success 1 ['--step-length', '.1', '--end', '1000'] 1/1to0/1_0 (148.0, 149.0) [('e2', 9.91), ('e3', 10.0), ('edge', 9.91), ('lane', 9.91)] < success 10 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (230.0, 240.0) [('e2', 9.42), ('e3', 9.9), ('edge', 9.42), ('lane', 9.42)] < success 10 ['--step-length', '.1', '--end', '1000'] 1/1to0/1_0 (140.0, 150.0) [('e2', 9.96), ('e3', 9.99), ('edge', 9.96), ('lane', 9.96)] < success 100 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (200.0, 300.0) [('e1', 10.0), ('e2', 9.22), ('e3', 5.71), ('edge', 9.22), ('lane', 9.22)] < success 100 ['--step-length', '.1', '--end', '1000'] 1/1to0/1_0 (100.0, 200.0) [('e1', 9.53), ('e2', 5.82), ('e3', 6.93), ('edge', 5.82), ('lane', 5.82)] --- > failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (148.9, 149.0) <zip object at 0x7fa5ce9f4300> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (148.9, 149.0) <zip object at 0x7fa5ce6db0c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (149.0, 150.0) <zip object at 0x7fa5cebc5ac0> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (149.0, 150.0) <zip object at 0x7fa5ceef6dc0> > failed 10 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (140.0, 150.0) <zip object at 0x7fa5cef130c0> > failed 10 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (140.0, 150.0) <zip object at 0x7fa5cef13d80> > failed 100 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (100.0, 200.0) <zip object at 0x7fa5cef139c0> > failed 100 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (100.0, 200.0) <zip object at 0x7fa5cef137c0> 41,98c41,48 < success 0.1 ['--step-length', '1', '--end', '1000'] 2/1to1/1_0 (245.0, 246.0) [('e2', 8.92), ('e3', 10.0), ('edge', 8.92), ('lane', 8.92)] < success 0.1 ['--step-length', '1', '--end', '1000'] 1/1to0/1_0 (150.0, 151.0) [('e2', 9.82), ('e3', 10.0), ('edge', 9.82), ('lane', 9.82)] < success 1 ['--step-length', '1', '--end', '1000'] 2/1to1/1_0 (245.0, 246.0) [('e2', 8.92), ('e3', 10.0), ('edge', 8.92), ('lane', 8.92)] < success 1 ['--step-length', '1', '--end', '1000'] 1/1to0/1_0 (150.0, 151.0) [('e2', 9.82), ('e3', 10.0), ('edge', 9.82), ('lane', 9.82)] < success 10 ['--step-length', '1', '--end', '1000'] 2/1to1/1_0 (240.0, 250.0) [('e2', 9.9), ('e3', 10.0), ('edge', 9.9), ('lane', 9.9)] < success 10 ['--step-length', '1', '--end', '1000'] 1/1to0/1_0 (150.0, 160.0) [('e2', 9.15), ('e3', 9.84), ('edge', 9.15), ('lane', 9.15)] < success 100 ['--step-length', '1', '--end', '1000'] 2/1to1/1_0 (200.0, 300.0) [('e1', 10.0), ('e2', 9.41), ('e3', 5.84), ('edge', 9.41), ('lane', 9.41)] < success 100 ['--step-length', '1', '--end', '1000'] 1/1to0/1_0 (100.0, 200.0) [('e1', 10.0), ('e2', 5.94), ('e3', 7.08), ('edge', 5.94), ('lane', 5.94)] < -- Unordered text as found by filter '^Loading configuration ... done.' -- < Loading configuration ... done. < Loading configuration ... done. <truncated after showing first 30 lines>
different outputs from detectors which should detect the same (This bug was triggered by text found in file 'output' matching 'failed') ---------- Differences in output ---------- 9,24c9,24 < failed 0.1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (76.2, 76.3) [('e2', 10.49), ('e3', 10.35), ('edge', 10.49), ('lane', 10.49)] < failed 0.1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (76.2, 76.3) [('e2', 10.49), ('e3', 10.35), ('edge', 10.49), ('lane', 10.49)] < failed 1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (76.0, 77.0) [('e2', 10.39), ('e3', 10.35), ('edge', 10.39), ('lane', 10.39)] < failed 1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (76.0, 77.0) [('e2', 10.39), ('e3', 10.35), ('edge', 10.39), ('lane', 10.39)] < failed 10 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 80.0) [('e2', 10.42), ('e3', 10.25), ('edge', 10.42), ('lane', 10.42)] < failed 10 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 80.0) [('e2', 10.42), ('e3', 10.25), ('edge', 10.42), ('lane', 10.42)] < failed 100 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (0.0, 100.0) [('e1', 10.27), ('e2', 10.24), ('e3', 9.59), ('edge', 10.24), ('lane', 10.24)] < failed 100 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (0.0, 100.0) [('e1', 10.27), ('e2', 10.24), ('e3', 9.59), ('edge', 10.24), ('lane', 10.24)] < failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (76.2, 76.3) [('e2', 10.49), ('e3', 10.35), ('edge', 10.49), ('lane', 10.49)] < failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (76.2, 76.3) [('e2', 10.49), ('e3', 10.35), ('edge', 10.49), ('lane', 10.49)] < failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (76.0, 77.0) [('e2', 10.39), ('e3', 10.35), ('edge', 10.39), ('lane', 10.39)] < failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (76.0, 77.0) [('e2', 10.39), ('e3', 10.35), ('edge', 10.39), ('lane', 10.39)] < failed 10 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.0, 80.0) [('e2', 10.42), ('e3', 10.25), ('edge', 10.42), ('lane', 10.42)] < failed 10 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.0, 80.0) [('e2', 10.42), ('e3', 10.25), ('edge', 10.42), ('lane', 10.42)] < failed 100 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (0.0, 100.0) [('e1', 10.27), ('e2', 10.24), ('e3', 9.59), ('edge', 10.24), ('lane', 10.24)] < failed 100 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (0.0, 100.0) [('e1', 10.27), ('e2', 10.24), ('e3', 9.59), ('edge', 10.24), ('lane', 10.24)] --- > failed 0.1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.9, 71.0) <zip object at 0x7f756470c240> > failed 0.1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.9, 71.0) <zip object at 0x7f75646df3c0> > failed 1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7f75646f9600> > failed 1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7f75646f9f00> > failed 10 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 80.0) <zip object at 0x7f75646f9840> > failed 10 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 80.0) <zip object at 0x7f75646f93c0> > failed 100 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (0.0, 100.0) <zip object at 0x7f75647292c0> > failed 100 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (0.0, 100.0) <zip object at 0x7f7564729040> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.9, 71.0) <zip object at 0x7f7564201fc0> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.9, 71.0) <zip object at 0x7f7563eeb0c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7f75643cd940> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7f7564700fc0> <truncated after showing first 30 lines>
different outputs from detectors which should detect the same (This bug was triggered by text found in file 'output' matching 'failed') ---------- Differences in output ---------- 5,7c5,7 < success 0.1 ['--step-length', '.1', '--end', '100'] ['3/1to2/1_0'] < success 1 ['--step-length', '.1', '--end', '100'] ['3/1to2/1_0'] < success 10 ['--step-length', '.1', '--end', '100'] ['3/1to2/1_0'] --- > failed 0.1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (75.4, 75.5) <zip object at 0x7fccdbc71040> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (76.0, 77.0) <zip object at 0x7fccdbc86f80> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fccdbc860c0> 9,12c9,12 < success 0.1 ['--step-length', '.1', '--end', '1000'] ['3/1to2/1_0'] < success 1 ['--step-length', '.1', '--end', '1000'] ['3/1to2/1_0'] < success 10 ['--step-length', '.1', '--end', '1000'] ['3/1to2/1_0'] < success 100 ['--step-length', '.1', '--end', '1000'] ['3/1to2/1_0'] --- > failed 0.1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (75.4, 75.5) <zip object at 0x7fccdb941fc0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (76.0, 77.0) <zip object at 0x7fccdbcae8c0> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fccdbcae640> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (100.0, 200.0) <zip object at 0x7fccdbcaed80> 17,19c17,19 < success 0.1 ['--step-length', '1', '--end', '100'] ['3/1to2/1_0'] < success 1 ['--step-length', '1', '--end', '100'] ['3/1to2/1_0'] < success 10 ['--step-length', '1', '--end', '100'] ['3/1to2/1_0'] --- > failed 0.1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (77.0, 78.0) <zip object at 0x7fccdbcb1580> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (77.0, 78.0) <zip object at 0x7fccdbcb19c0> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fccdbc73a80> 21,50c21,24 < success 0.1 ['--step-length', '1', '--end', '1000'] ['3/1to2/1_0'] < success 1 ['--step-length', '1', '--end', '1000'] ['3/1to2/1_0'] < success 10 ['--step-length', '1', '--end', '1000'] ['3/1to2/1_0'] <truncated after showing first 30 lines>
different outputs from detectors which should detect the same (This bug was triggered by text found in file 'output' matching 'failed') ---------- Differences in output ---------- 5,7c5,7 < success 0.1 ['--step-length', '.1', '--end', '100'] ['3/1to2/1_0'] < success 1 ['--step-length', '.1', '--end', '100'] ['3/1to2/1_0'] < success 10 ['--step-length', '.1', '--end', '100'] ['3/1to2/1_0'] --- > failed 0.1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (76.4, 76.5) <zip object at 0x7fa894c0a240> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (77.0, 78.0) <zip object at 0x7fa894c45880> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fa894c45f80> 9,12c9,12 < success 0.1 ['--step-length', '.1', '--end', '1000'] ['3/1to2/1_0'] < success 1 ['--step-length', '.1', '--end', '1000'] ['3/1to2/1_0'] < success 10 ['--step-length', '.1', '--end', '1000'] ['3/1to2/1_0'] < success 100 ['--step-length', '.1', '--end', '1000'] ['3/1to2/1_0'] --- > failed 0.1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (76.4, 76.5) <zip object at 0x7fa8948d31c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (77.0, 78.0) <zip object at 0x7fa894b9a7c0> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fa894b9a7c0> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (100.0, 200.0) <zip object at 0x7fa894c15cc0> 17,19c17,19 < success 0.1 ['--step-length', '1', '--end', '100'] ['3/1to2/1_0'] < success 1 ['--step-length', '1', '--end', '100'] ['3/1to2/1_0'] < success 10 ['--step-length', '1', '--end', '100'] ['3/1to2/1_0'] --- > failed 0.1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (78.0, 79.0) <zip object at 0x7fa894c05200> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (78.0, 79.0) <zip object at 0x7fa894c15240> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fa894c057c0> 21,50c21,24 < success 0.1 ['--step-length', '1', '--end', '1000'] ['3/1to2/1_0'] < success 1 ['--step-length', '1', '--end', '1000'] ['3/1to2/1_0'] < success 10 ['--step-length', '1', '--end', '1000'] ['3/1to2/1_0'] <truncated after showing first 30 lines>
different outputs from detectors which should detect the same (This bug was triggered by text found in file 'output' matching 'failed') ---------- Differences in output ---------- 0a1,24 > failed 0.1 ['--step-length', '.1', '--end', '51'] 3/1to2/1_0 (38.4, 38.5) <zip object at 0x7f4ff08b23c0> > failed 1 ['--step-length', '.1', '--end', '51'] 3/1to2/1_0 (38.0, 39.0) <zip object at 0x7f4ff08b0e80> > failed 10 ['--step-length', '.1', '--end', '51'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f4ff08b5240> > failed 100 ['--step-length', '.1', '--end', '51'] 3/1to2/1_0 (0.0, 51.0) <zip object at 0x7f4ff08b52c0> > failed 0.1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (38.4, 38.5) <zip object at 0x7f4ff0873f80> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (38.0, 39.0) <zip object at 0x7f4ff088fb80> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f4ff088f740> > failed 100 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7f4ff088fc00> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (38.4, 38.5) <zip object at 0x7f4ff0537280> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (38.0, 39.0) <zip object at 0x7f4ff08788c0> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f4ff0869b40> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7f4ff08b90c0> > failed 0.1 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f4ff0869840> > failed 1 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f4ff0869700> > failed 10 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f4ff0879d80> > failed 100 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (0.0, 51.0) <zip object at 0x7f4ff0869240> > failed 0.1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f4ff0897280> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f4ff0879800> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f4ff0879100> > failed 100 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7f4ff0869200> > failed 0.1 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f4ff08694c0> > failed 1 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f4ff08694c0> > failed 10 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f4ff29fa240> > failed 100 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7f4ff0843900>
not even failing as intended (This bug was triggered by text found in file 'errors' matching 'Error') ---------- Differences in errors ---------- 0a1,15 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/../tests/complex/traci/vehicle/openGap/runner.py", line 156, in <module> > runSingle(targetTimeHeadway, targetSpaceHeadway, duration, changeRate, maxDecel, refVehID) > File "/home/delphi/clangDebug/sumo/tests/../tests/complex/traci/vehicle/openGap/runner.py", line 66, in runSingle > leader = results[tc.VAR_LEADER][0] > TypeError: 'NoneType' object is not subscriptable > Error: tcpip::Socket::recvAndCheck @ recv: peer shutdown > Quitting (on error). > ================================================================= > ==1841113==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b000015a10 at pc 0x00000120710b bp 0x7ffed54d2370 sp 0x7ffed54d2368 > WRITE of size 8 at 0x60b000015a10 thread T0 ---------- Differences in output ---------- 3,102c3,102 < Time 2.0: Gap 'follower'->'leader' = 5.938 (headway=0.367) < 'follower' speed = 16.161582708 < Time 3.0: Gap 'follower'->'leader' = 8.966 (headway=0.528) < 'follower' speed = 16.9836198736 < Time 4.0: Gap 'follower'->'leader' = 11.281 (headway=0.641) < 'follower' speed = 17.5863190784 < Time 5.0: Gap 'follower'->'leader' = 13.069 (headway=0.725) < 'follower' speed = 18.0379935645 < Time 6.0: Gap 'follower'->'leader' = 14.459 (headway=0.787) < 'follower' speed = 18.3815472225 < Time 7.0: Gap 'follower'->'leader' = 15.545 (headway=0.834) < 'follower' speed = 18.6456171431 < Time 8.0: Gap 'follower'->'leader' = 16.397 (headway=0.870) < 'follower' speed = 18.8501483763 < Time 9.0: Gap 'follower'->'leader' = 17.068 (headway=0.898) < 'follower' speed = 19.0094667411 < Time 10.0: Gap 'follower'->'leader' = 17.596 (headway=0.920) < 'follower' speed = 19.1340998278 < Time 11.0: Gap 'follower'->'leader' = 18.013 (headway=0.937) < 'follower' speed = 19.231918606 < Time 12.0: Gap 'follower'->'leader' = 18.342 (headway=0.950) < 'follower' speed = 19.3088858604 < Time 13.0: Gap 'follower'->'leader' = 18.603 (headway=0.960) < 'follower' speed = 19.3695649077 < Time 14.0: Gap 'follower'->'leader' = 18.810 (headway=0.969) < 'follower' speed = 19.4174756866 < Time 15.0: Gap 'follower'->'leader' = 18.973 (headway=0.975) < 'follower' speed = 19.4553500651 < Time 16.0: Gap 'follower'->'leader' = 19.103 (headway=0.980) <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in output ---------- 0a1 > Interrupt signal received, trying to exit gracefully. ---------- Missing result in log ---------- inserted stepLength exDP sigma speedDev departSpeed 1198 1 false 0.5 0.1 0 1650 1 false 0.5 0.1 max 1520 1 false 0.5 0.1 desired 1935 1 false 0.5 0.1 avg 1440 1 false 0 0 0 2073 1 false 0 0 max 1800 1 false 0 0 desired 1800 1 false 0 0 avg 1198 1 true 0.5 0.1 0 1645 1 true 0.5 0.1 max 1922 1 true 0.5 0.1 desired 1969 1 true 0.5 0.1 avg 1440 1 true 0 0 0 2083 1 true 0 0 max 2482 1 true 0 0 desired 2482 1 true 0 0 avg 1368 0.1 false 0.5 0.1 0 2184 0.1 false 0.5 0.1 max 2051 0.1 false 0.5 0.1 desired 2213 0.1 false 0.5 0.1 avg 1500 0.1 false 0 0 0 2489 0.1 false 0 0 max 2400 0.1 false 0 0 desired 2400 0.1 false 0 0 avg 1368 0.1 true 0.5 0.1 0 2191 0.1 true 0.5 0.1 max 2090 0.1 true 0.5 0.1 desired 2211 0.1 true 0.5 0.1 avg 1500 0.1 true 0 0 0 <truncated after showing first 30 lines> ---------- Missing result in log2 ---------- stepLength exDP sigma speedDev departSpeed 1 false 0.5 0.1 0 1 true 0.5 0.1 0 0.1 false 0.5 0.1 0 0.1 true 0.5 0.1 0 1 false 0 0 0 1 true 0 0 0 0.1 false 0 0 0 0.1 true 0 0 0 1 false 0.5 0.1 desired 1 true 0.5 0.1 max 1 false 0.5 0.1 max 1 false 0 0 avg 1 false 0 0 desired 1 true 0.5 0.1 desired 1 false 0.5 0.1 avg 1 true 0.5 0.1 avg 0.1 false 0.5 0.1 desired 1 false 0 0 max 1 true 0 0 max 0.1 true 0.5 0.1 desired 0.1 false 0.5 0.1 max 0.1 true 0.5 0.1 max 0.1 true 0.5 0.1 avg 0.1 false 0.5 0.1 avg 0.1 false 0 0 avg 0.1 false 0 0 desired 1 true 0 0 avg 1 true 0 0 desired 0.1 true 0 0 avg <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in output ---------- 1a2 > Interrupt signal received, trying to exit gracefully.
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,502 > > ================================================================= > ==1843940==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 35264 byte(s) in 232 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd114d2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #7 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #8 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #9 0x7f721826ff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 11136 byte(s) in 232 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c46120 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x2c4604d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x2c45cfc in std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x2c4bee2 in std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> >* std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gn u/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x2c4b8f3 in std::_Rb_tree_iterator<std::pair<SumoXMLAttr const, double> > std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<SumoXMLAttr const, double> >, std::piecewise_construct_t const&, std:: tuple<SumoXMLAttr const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x2c38a46 in std::map<SumoXMLAttr, double, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::operator[](SumoXMLAttr const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:499:15 > #7 0x2c34945 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa27bbe in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xab5e9a in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4316:5 > #10 0xf8542a in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1976:33 > #11 0xe79bb2 in MSEdgeControl::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:228:19 <truncated after showing first 30 lines> ---------- Differences in output ---------- 1,32c1 < Computing for 0<->0 < for tls-type actuated < Computing for 0<->600 < for tls-type actuated < Computing for 0<->1200 < for tls-type actuated < Computing for 0<->1800 < for tls-type actuated < Computing for 600<->0 < for tls-type actuated < Computing for 600<->600 < for tls-type actuated < Computing for 600<->1200 < for tls-type actuated < Computing for 600<->1800 < for tls-type actuated < Computing for 1200<->0 < for tls-type actuated < Computing for 1200<->600 < for tls-type actuated < Computing for 1200<->1200 < for tls-type actuated < Computing for 1200<->1800 < for tls-type actuated < Computing for 1800<->0 < for tls-type actuated < Computing for 1800<->600 < for tls-type actuated < Computing for 1800<->1200 <truncated after showing first 30 lines> ---------- Differences in statistics ---------- 5c5 < <vehicles loaded="1458" inserted="1458" running="0" waiting="0"/> --- > <vehicles loaded="1023" inserted="698" running="357" waiting="110"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="6.38" duration="341.15" waitingTime="181.49" timeLoss="193.70" departDelay="160.50" departDelayWaiting="-1.00" totalTravelTime="497401.00" totalDepartDelay="234006.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="9.94" duration="213.17" waitingTime="60.30" timeLoss="65.76" departDelay="2.72" departDelayWaiting="-1.00" totalTravelTime="72691.00" totalDepartDelay="929.00"/> ---------- Differences in tls_state ---------- 18,98c18,98 < <tlsState time="172.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="176.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="180.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="232.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="236.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="240.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="292.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="296.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="300.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="352.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="356.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="360.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="412.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="416.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="420.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="472.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="476.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="480.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="532.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="536.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="540.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="592.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="596.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="600.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="652.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="656.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="660.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="712.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="716.00" id="0" programID="a" phase="5" state="rrrr"/> <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,14308 > > ================================================================= > ==1844037==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x88efd0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x88ee4d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x88ebcc in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::l ess<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x88ea08 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_create_nod e<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x88e8f2 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node:: operator()<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) const /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:548:18 > #6 0x88e058 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_clone_node <std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree <std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<cha r, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:658:23 > #7 0x88d2dd in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree_node_ base*, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx 11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1892:20 > #8 0x88d738 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree_node_ base*, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx 11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1896:21 > #9 0x88c914 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, st d::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits <char>, std::allocator<char> > > > > const&, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::alloc ator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:906:24 > #10 0x88c2af in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std:: less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:917:9 > #11 0x88bacb in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std:: less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Rb_tree(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11 ::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:955:16 > #12 0x88b98c in std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::map(std::map<st d::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/.. /../../../include/c++/9/bits/stl_map.h:205:7 > #13 0x3373395 in Parameterised::Parameterised(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator< char> > > > > const&) /home/delphi/clangDebug/sumo/src/utils/common/Parameterised.cpp:37:5 > #14 0x2acdece in MSSOTLPolicy::MSSOTLPolicy(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLPolicy.cpp:89:5 > #15 0x2859254 in MSSOTLMarchingPolicy::MSSOTLMarchingPolicy(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, s td::allocator<char> > > > > const&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLMarchingPolicy.cpp:27:5 > #16 0x18791c0 in NLJunctionControlBuilder::closeTrafficLightLogic(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/netload/NLJunctionControlBuilder.cpp:291:198 > #17 0x17c310e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #18 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #19 0x7f38ce380f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x88efd0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines> ---------- Differences in output ---------- 1,32c1 < Computing for 0<->0 < for tls-type sotl_marching < Computing for 0<->600 < for tls-type sotl_marching < Computing for 0<->1200 < for tls-type sotl_marching < Computing for 0<->1800 < for tls-type sotl_marching < Computing for 600<->0 < for tls-type sotl_marching < Computing for 600<->600 < for tls-type sotl_marching < Computing for 600<->1200 < for tls-type sotl_marching < Computing for 600<->1800 < for tls-type sotl_marching < Computing for 1200<->0 < for tls-type sotl_marching < Computing for 1200<->600 < for tls-type sotl_marching < Computing for 1200<->1200 < for tls-type sotl_marching < Computing for 1200<->1800 < for tls-type sotl_marching < Computing for 1800<->0 < for tls-type sotl_marching < Computing for 1800<->600 < for tls-type sotl_marching < Computing for 1800<->1200 <truncated after showing first 30 lines> ---------- Differences in statistics ---------- 5c5 < <vehicles loaded="1458" inserted="1458" running="0" waiting="0"/> --- > <vehicles loaded="372" inserted="254" running="192" waiting="26"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="5.88" duration="372.99" waitingTime="203.23" timeLoss="225.54" departDelay="188.65" departDelayWaiting="-1.00" totalTravelTime="543821.00" totalDepartDelay="275056.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="10.12" duration="204.26" waitingTime="50.94" timeLoss="56.83" departDelay="1.82" departDelayWaiting="-1.00" totalTravelTime="12664.00" totalDepartDelay="113.00"/> ---------- Differences in tls_state ---------- 132,134d131 < <tlsState time="1712.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1716.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1720.00" id="0" programID="a" phase="3" state="rGrG"/>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,13206 > > ================================================================= > ==1843925==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x88efd0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x88ee4d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x88ebcc in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::l ess<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x88ea08 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_create_nod e<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x88e8f2 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node:: operator()<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) const /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:548:18 > #6 0x88e058 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_clone_node <std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree <std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<cha r, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:658:23 > #7 0x88d2dd in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree_node_ base*, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx 11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1892:20 > #8 0x88d738 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree_node_ base*, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx 11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1896:21 > #9 0x88c914 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, st d::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits <char>, std::allocator<char> > > > > const&, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::alloc ator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:906:24 > #10 0x88c2af in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std:: less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:917:9 > #11 0x88bacb in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std:: less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Rb_tree(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11 ::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:955:16 > #12 0x88b98c in std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::map(std::map<st d::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/.. /../../../include/c++/9/bits/stl_map.h:205:7 > #13 0x3373395 in Parameterised::Parameterised(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator< char> > > > > const&) /home/delphi/clangDebug/sumo/src/utils/common/Parameterised.cpp:37:5 > #14 0x2acdece in MSSOTLPolicy::MSSOTLPolicy(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLPolicy.cpp:89:5 > #15 0x285b414 in MSSOTLPhasePolicy::MSSOTLPhasePolicy(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::al locator<char> > > > > const&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLPhasePolicy.cpp:28:5 > #16 0x187896d in NLJunctionControlBuilder::closeTrafficLightLogic(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/netload/NLJunctionControlBuilder.cpp:288:198 > #17 0x17c310e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #18 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #19 0x7ff9b370cf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x88efd0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines> ---------- Differences in output ---------- 1,32c1 < Computing for 0<->0 < for tls-type sotl_phase < Computing for 0<->600 < for tls-type sotl_phase < Computing for 0<->1200 < for tls-type sotl_phase < Computing for 0<->1800 < for tls-type sotl_phase < Computing for 600<->0 < for tls-type sotl_phase < Computing for 600<->600 < for tls-type sotl_phase < Computing for 600<->1200 < for tls-type sotl_phase < Computing for 600<->1800 < for tls-type sotl_phase < Computing for 1200<->0 < for tls-type sotl_phase < Computing for 1200<->600 < for tls-type sotl_phase < Computing for 1200<->1200 < for tls-type sotl_phase < Computing for 1200<->1800 < for tls-type sotl_phase < Computing for 1800<->0 < for tls-type sotl_phase < Computing for 1800<->600 < for tls-type sotl_phase < Computing for 1800<->1200 <truncated after showing first 30 lines> ---------- Differences in statistics ---------- 5c5 < <vehicles loaded="1458" inserted="1458" running="0" waiting="0"/> --- > <vehicles loaded="1227" inserted="1200" running="204" waiting="27"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="3.93" duration="596.32" waitingTime="386.67" timeLoss="448.92" departDelay="403.70" departDelayWaiting="-1.00" totalTravelTime="869438.00" totalDepartDelay="588597.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="4.52" duration="539.66" waitingTime="337.45" timeLoss="392.27" departDelay="125.37" departDelayWaiting="-1.00" totalTravelTime="537507.00" totalDepartDelay="124871.00"/> ---------- Differences in tls_state ---------- 6,380c6,251 < <tlsState time="66.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="70.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="74.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="86.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="90.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="94.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="106.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="110.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="114.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="126.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="130.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="134.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="146.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="150.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="154.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="166.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="170.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="174.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="186.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="190.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="194.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="206.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="210.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="214.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="226.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="230.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="234.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="246.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="250.00" id="0" programID="a" phase="5" state="rrrr"/> <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,16512 > > ================================================================= > ==1843944==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x88efd0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x88ee4d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x88ebcc in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::l ess<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x88ea08 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_create_nod e<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x88e8f2 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node:: operator()<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) const /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:548:18 > #6 0x88e058 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_clone_node <std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree <std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<cha r, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:658:23 > #7 0x88d2dd in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree_node_ base*, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx 11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1892:20 > #8 0x88c914 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, st d::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits <char>, std::allocator<char> > > > > const&, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::alloc ator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:906:24 > #9 0x88c2af in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::l ess<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11:: basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<c har, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:917:9 > #10 0x88bacb in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std:: less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Rb_tree(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11 ::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:955:16 > #11 0x88b98c in std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::map(std::map<st d::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/.. /../../../include/c++/9/bits/stl_map.h:205:7 > #12 0x3373395 in Parameterised::Parameterised(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator< char> > > > > const&) /home/delphi/clangDebug/sumo/src/utils/common/Parameterised.cpp:37:5 > #13 0x2acdece in MSSOTLPolicy::MSSOTLPolicy(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLPolicy.cpp:89:5 > #14 0x285e6e4 in MSSOTLPlatoonPolicy::MSSOTLPlatoonPolicy(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std ::allocator<char> > > > > const&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLPlatoonPolicy.cpp:30:5 > #15 0x1877b7d in NLJunctionControlBuilder::closeTrafficLightLogic(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/netload/NLJunctionControlBuilder.cpp:282:198 > #16 0x17c310e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #17 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #18 0x7f9d9a6b7f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x88efd0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x88ee4d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines> ---------- Differences in output ---------- 1,32c1 < Computing for 0<->0 < for tls-type sotl_platoon < Computing for 0<->600 < for tls-type sotl_platoon < Computing for 0<->1200 < for tls-type sotl_platoon < Computing for 0<->1800 < for tls-type sotl_platoon < Computing for 600<->0 < for tls-type sotl_platoon < Computing for 600<->600 < for tls-type sotl_platoon < Computing for 600<->1200 < for tls-type sotl_platoon < Computing for 600<->1800 < for tls-type sotl_platoon < Computing for 1200<->0 < for tls-type sotl_platoon < Computing for 1200<->600 < for tls-type sotl_platoon < Computing for 1200<->1200 < for tls-type sotl_platoon < Computing for 1200<->1800 < for tls-type sotl_platoon < Computing for 1800<->0 < for tls-type sotl_platoon < Computing for 1800<->600 < for tls-type sotl_platoon < Computing for 1800<->1200 <truncated after showing first 30 lines> ---------- Differences in statistics ---------- 5c5 < <vehicles loaded="1458" inserted="1458" running="0" waiting="0"/> --- > <vehicles loaded="668" inserted="425" running="319" waiting="18"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="6.39" duration="341.17" waitingTime="181.60" timeLoss="193.72" departDelay="161.01" departDelayWaiting="-1.00" totalTravelTime="497424.00" totalDepartDelay="234760.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="12.23" duration="169.96" waitingTime="20.36" timeLoss="22.70" departDelay="2.31" departDelayWaiting="-1.00" totalTravelTime="18016.00" totalDepartDelay="245.00"/> ---------- Differences in tls_state ---------- 6,80c6,50 < <tlsState time="66.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="70.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="74.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="126.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="130.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="134.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="186.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="190.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="194.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="246.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="250.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="254.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="306.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="310.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="314.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="366.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="370.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="374.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="426.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="430.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="434.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="486.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="490.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="494.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="546.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="550.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="554.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="606.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="610.00" id="0" programID="a" phase="5" state="rrrr"/> <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,12060 > > ================================================================= > ==1843988==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x88efd0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x88ee4d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x88ebcc in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::l ess<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x88ea08 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_create_nod e<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x88e8f2 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node:: operator()<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&) const /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:548:18 > #6 0x88e058 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_clone_node <std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree <std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<cha r, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:658:23 > #7 0x88d2dd in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree_node_ base*, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx 11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1892:20 > #8 0x88d738 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::_Rb_tree_node_ base*, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx 11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1896:21 > #9 0x88c914 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy<std:: _Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_st ring<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node>(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, st d::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits <char>, std::allocator<char> > > > > const&, std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::alloc ator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Alloc_node&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:906:24 > #10 0x88c2af in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std:: less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_copy(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string< char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:917:9 > #11 0x88bacb in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std:: less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_Rb_tree(std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11 ::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:955:16 > #12 0x88b98c in std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::map(std::map<st d::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/.. /../../../include/c++/9/bits/stl_map.h:205:7 > #13 0x3373395 in Parameterised::Parameterised(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator< char> > > > > const&) /home/delphi/clangDebug/sumo/src/utils/common/Parameterised.cpp:37:5 > #14 0x2acdece in MSSOTLPolicy::MSSOTLPolicy(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLPolicy.cpp:89:5 > #15 0x28606cc in MSSOTLRequestPolicy::MSSOTLRequestPolicy(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std ::allocator<char> > > > > const&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLRequestPolicy.cpp:26:5 > #16 0x187732a in NLJunctionControlBuilder::closeTrafficLightLogic(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/netload/NLJunctionControlBuilder.cpp:279:198 > #17 0x17c310e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #18 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #19 0x7f9b6326ff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x88efd0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines> ---------- Differences in output ---------- 1,32c1 < Computing for 0<->0 < for tls-type sotl_request < Computing for 0<->600 < for tls-type sotl_request < Computing for 0<->1200 < for tls-type sotl_request < Computing for 0<->1800 < for tls-type sotl_request < Computing for 600<->0 < for tls-type sotl_request < Computing for 600<->600 < for tls-type sotl_request < Computing for 600<->1200 < for tls-type sotl_request < Computing for 600<->1800 < for tls-type sotl_request < Computing for 1200<->0 < for tls-type sotl_request < Computing for 1200<->600 < for tls-type sotl_request < Computing for 1200<->1200 < for tls-type sotl_request < Computing for 1200<->1800 < for tls-type sotl_request < Computing for 1800<->0 < for tls-type sotl_request < Computing for 1800<->600 < for tls-type sotl_request < Computing for 1800<->1200 <truncated after showing first 30 lines> ---------- Differences in statistics ---------- 5c5 < <vehicles loaded="1458" inserted="1458" running="0" waiting="0"/> --- > <vehicles loaded="549" inserted="342" running="309" waiting="2"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="2.21" duration="1173.59" waitingTime="857.87" timeLoss="1026.39" departDelay="976.80" departDelayWaiting="-1.00" totalTravelTime="1711091.00" totalDepartDelay="1424181.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="11.24" duration="185.18" waitingTime="30.09" timeLoss="37.97" departDelay="1.42" departDelayWaiting="-1.00" totalTravelTime="6111.00" totalDepartDelay="47.00"/> ---------- Differences in tls_state ---------- 6,1118c6,362 < <tlsState time="66.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="70.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="74.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="79.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="83.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="87.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="92.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="96.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="100.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="105.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="109.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="113.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="118.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="122.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="126.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="131.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="135.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="139.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="144.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="148.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="152.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="157.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="161.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="165.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="170.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="174.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="178.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="183.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="187.00" id="0" programID="a" phase="5" state="rrrr"/> <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,1480 > > ================================================================= > ==1844014==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 288 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x1c224e0 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, double> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1c2235d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, double> > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, double> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x1c220dc in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, double>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, double> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, st d::char_traits<char>, std::allocator<char> > const, double> > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x1c5acc8 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, double> >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, double>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, double> >, std::less<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, double> > >::_M_create_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, double> >(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, double>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x1c5a671 in std::pair<std::_Rb_tree_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, double> >, bool> std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, double>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, double> >, std::l ess<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, double> > >::_M_emplace_unique<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, double> >(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, double>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bi ts/stl_tree.h:2413:19 > #6 0x1c1d969 in std::enable_if<is_constructible<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, double>, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, double> >::value, std::pair<std::_Rb_tree_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, double> >, bool> >::type std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::alloc ator<char> >, double, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, double> > >::insert<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, double> >(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, double>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../.. /include/c++/9/bits/stl_map.h:815:16 > #7 0x2a911af in MSSOTLE2Sensors::buildCountSensorForLane(MSLane*, NLDetectorBuilder&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLE2Sensors.cpp:163:23 > #8 0x2a8f52d in MSSOTLE2Sensors::buildCountSensors(std::vector<std::vector<MSLane*, std::allocator<MSLane*> >, std::allocator<std::vector<MSLane*, std::allocator<MSLane*> > > >, NLDetectorBuilder&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLE2Sensors.cpp:79:13 > #9 0x286bd30 in MSSOTLTrafficLightLogic::init(NLDetectorBuilder&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLTrafficLightLogic.cpp:164:33 > #10 0x187d66d in NLJunctionControlBuilder::closeTrafficLightLogic(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/netload/NLJunctionControlBuilder.cpp:340:26 > #11 0x17c310e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #12 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f8061e93f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 288 byte(s) in 4 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2aaaf20 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MSE2Collector*> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x2aaae4d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MSE2Collector*> > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MSE2Collector*> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x2aaabcc in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MSE2Collector*>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MSE2Collector*> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic _string<char, std::char_traits<char>, std::allocator<char> > const, MSE2Collector*> > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x2aa97f8 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MSE2Collector*> >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MSE2Collector*>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MSE2Collector*> >, st d::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MSE2Collector*> > >::_M_create_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, MSE2Collector*> >(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, MSE2Collector*>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../ ../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x2aa9141 in std::pair<std::_Rb_tree_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MSE2Collector*> >, bool> std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MSE2Collector*>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, M SE2Collector*> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MSE2Collector*> > >::_M_emplace_unique<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, MSE2Collector*> >(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, MSE2Collector*>&&) /usr/bin/../lib/gcc /x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2413:19 > #6 0x2aa39f9 in std::enable_if<is_constructible<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MSE2Collector*>, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, MSE2Collector*> >::value, std::pair<std::_Rb_tree_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MSE2Collector*> >, bool> >::type std::map<std::__cxx11::basic_string<char, std::char_ traits<char>, std::allocator<char> >, MSE2Collector*, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MSE2Collector*> > >::insert<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, MSE2Collector*> >(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, MSE2Collector *>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:815:16 > #7 0x2a93405 in MSSOTLE2Sensors::buildCountSensorForOutLane(MSLane*, NLDetectorBuilder&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLE2Sensors.cpp:206:21 <truncated after showing first 30 lines> ---------- Differences in output ---------- 1,32c1 < Computing for 0<->0 < for tls-type sotl_wave < Computing for 0<->600 < for tls-type sotl_wave < Computing for 0<->1200 < for tls-type sotl_wave < Computing for 0<->1800 < for tls-type sotl_wave < Computing for 600<->0 < for tls-type sotl_wave < Computing for 600<->600 < for tls-type sotl_wave < Computing for 600<->1200 < for tls-type sotl_wave < Computing for 600<->1800 < for tls-type sotl_wave < Computing for 1200<->0 < for tls-type sotl_wave < Computing for 1200<->600 < for tls-type sotl_wave < Computing for 1200<->1200 < for tls-type sotl_wave < Computing for 1200<->1800 < for tls-type sotl_wave < Computing for 1800<->0 < for tls-type sotl_wave < Computing for 1800<->600 < for tls-type sotl_wave < Computing for 1800<->1200 <truncated after showing first 30 lines> ---------- Differences in statistics ---------- 5c5 < <vehicles loaded="1458" inserted="1458" running="0" waiting="0"/> --- > <vehicles loaded="959" inserted="642" running="235" waiting="234"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="6.28" duration="345.05" waitingTime="184.56" timeLoss="197.59" departDelay="167.76" departDelayWaiting="-1.00" totalTravelTime="503081.00" totalDepartDelay="244599.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="9.35" duration="242.25" waitingTime="86.58" timeLoss="94.83" departDelay="6.87" departDelayWaiting="-1.00" totalTravelTime="98594.00" totalDepartDelay="2797.00"/> ---------- Differences in tls_state ---------- 12,92c12,87 < <tlsState time="120.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="124.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="128.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="168.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="172.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="176.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="216.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="220.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="224.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="268.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="272.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="276.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="320.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="324.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="328.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="377.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="381.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="385.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="434.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="438.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="442.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="494.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="498.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="502.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="554.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="558.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="562.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="614.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="618.00" id="0" programID="a" phase="5" state="rrrr"/> <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,432 > > ================================================================= > ==1843936==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 35264 byte(s) in 232 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0xb5a05b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd114d2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa1ff90 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbff1e0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfecc0 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0x8dd30d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #7 0x2eb9a03 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #8 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #9 0x7f08cf736f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 11136 byte(s) in 232 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x2c46120 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x2c4604d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x2c45cfc in std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x2c4bee2 in std::_Rb_tree_node<std::pair<SumoXMLAttr const, double> >* std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gn u/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x2c4b8f3 in std::_Rb_tree_iterator<std::pair<SumoXMLAttr const, double> > std::_Rb_tree<SumoXMLAttr, std::pair<SumoXMLAttr const, double>, std::_Select1st<std::pair<SumoXMLAttr const, double> >, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<SumoXMLAttr const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<SumoXMLAttr const, double> >, std::piecewise_construct_t const&, std:: tuple<SumoXMLAttr const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x2c38a46 in std::map<SumoXMLAttr, double, std::less<SumoXMLAttr>, std::allocator<std::pair<SumoXMLAttr const, double> > >::operator[](SumoXMLAttr const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:499:15 > #7 0x2c34945 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa27bbe in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xab5e9a in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4316:5 > #10 0xf8542a in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1976:33 > #11 0xe79bb2 in MSEdgeControl::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:228:19 <truncated after showing first 30 lines> ---------- Differences in output ---------- 1,32c1 < Computing for 0<->0 < for tls-type static < Computing for 0<->600 < for tls-type static < Computing for 0<->1200 < for tls-type static < Computing for 0<->1800 < for tls-type static < Computing for 600<->0 < for tls-type static < Computing for 600<->600 < for tls-type static < Computing for 600<->1200 < for tls-type static < Computing for 600<->1800 < for tls-type static < Computing for 1200<->0 < for tls-type static < Computing for 1200<->600 < for tls-type static < Computing for 1200<->1200 < for tls-type static < Computing for 1200<->1800 < for tls-type static < Computing for 1800<->0 < for tls-type static < Computing for 1800<->600 < for tls-type static < Computing for 1800<->1200 <truncated after showing first 30 lines> ---------- Differences in statistics ---------- 5c5 < <vehicles loaded="1458" inserted="1458" running="0" waiting="0"/> --- > <vehicles loaded="563" inserted="368" running="214" waiting="94"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="5.88" duration="372.99" waitingTime="203.23" timeLoss="225.54" departDelay="188.65" departDelayWaiting="-1.00" totalTravelTime="543821.00" totalDepartDelay="275056.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="8.53" duration="247.73" waitingTime="89.03" timeLoss="100.29" departDelay="2.50" departDelayWaiting="-1.00" totalTravelTime="38151.00" totalDepartDelay="385.00"/> ---------- Differences in tls_state ---------- 132,134d131 < <tlsState time="1712.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1716.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1720.00" id="0" programID="a" phase="3" state="rGrG"/>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,101817 > > ================================================================= > ==1844032==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 2048 byte(s) in 88 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x7f103cd8d9ec in void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag) (/usr/lib/x86_64-linux-gnu/libproj.so.15+0xad9ec) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x63d996 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, s td::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x63d2c9 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::emplace_back<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:121:4 > #6 0x5b9a71 in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1201:9 > #7 0x2ab2850 in MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits <char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLPolicy5DFamilyStimulus.cpp:57:18 > #8 0x2896b88 in MSSwarmTrafficLightLogic::MSSwarmTrafficLightLogic(MSTLLogicControl&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<MSPhaseDefinition*, std::allocator<MSPhaseDefinition*> > const&, int, long long, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits <char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSwarmTrafficLightLogic.cpp:44:47 > #9 0x1876602 in NLJunctionControlBuilder::closeTrafficLightLogic(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/netload/NLJunctionControlBuilder.cpp:273:27 > #10 0x17c310e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #11 0x3097668 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #12 0x7f103d1fdf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55030d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55030d) > #1 0x63f550 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63f47d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63ee5f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x63d996 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, s td::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 <truncated after showing first 30 lines> ---------- Differences in output ---------- 1,32c1 < Computing for 0<->0 < for tls-type swarm < Computing for 0<->600 < for tls-type swarm < Computing for 0<->1200 < for tls-type swarm < Computing for 0<->1800 < for tls-type swarm < Computing for 600<->0 < for tls-type swarm < Computing for 600<->600 < for tls-type swarm < Computing for 600<->1200 < for tls-type swarm < Computing for 600<->1800 < for tls-type swarm < Computing for 1200<->0 < for tls-type swarm < Computing for 1200<->600 < for tls-type swarm < Computing for 1200<->1200 < for tls-type swarm < Computing for 1200<->1800 < for tls-type swarm < Computing for 1800<->0 < for tls-type swarm < Computing for 1800<->600 < for tls-type swarm < Computing for 1800<->1200 <truncated after showing first 30 lines> ---------- Differences in statistics ---------- 5c5 < <vehicles loaded="1458" inserted="1458" running="0" waiting="0"/> --- > <vehicles loaded="1023" inserted="648" running="350" waiting="101"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="6.39" duration="341.17" waitingTime="181.60" timeLoss="193.72" departDelay="161.01" departDelayWaiting="-1.00" totalTravelTime="497424.00" totalDepartDelay="234760.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="10.09" duration="210.06" waitingTime="57.62" timeLoss="62.67" departDelay="3.13" departDelayWaiting="-1.00" totalTravelTime="62599.00" totalDepartDelay="934.00"/> ---------- Differences in tls_state ---------- 6,80c6,50 < <tlsState time="66.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="70.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="74.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="126.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="130.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="134.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="186.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="190.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="194.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="246.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="250.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="254.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="306.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="310.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="314.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="366.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="370.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="374.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="426.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="430.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="434.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="486.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="490.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="494.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="546.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="550.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="554.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="606.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="610.00" id="0" programID="a" phase="5" state="rrrr"/> <truncated after showing first 30 lines>